C# Class Microsoft.VisualStudio.Shell.Mocks.TextManagerMock

Inheritance: IConnectionPointContainer, IVsTextManager2, IVsTextManager3, IVsTextManager4
ファイルを表示 Open project: Microsoft/RTVS

Public Methods

Method Description
AttemptToCheckOutBufferFromScc3 ( IVsTextBuffer pBuffer, string pszFileName, uint dwQueryEditFlags, int &pbCheckoutSucceeded, int &piStatusFlags ) : int
EnumConnectionPoints ( IEnumConnectionPoints &ppEnum ) : void
FindConnectionPoint ( System.Guid &riid, IConnectionPoint &ppCP ) : void
FindLanguageSIDForExtensionlessFilename ( string pszFileName, System.Guid &pguidLangSID ) : int
FireReplaceAllInFilesBegin ( ) : int
FireReplaceAllInFilesEnd ( ) : int
GetActiveView2 ( int fMustHaveFocus, IVsTextBuffer pBuffer, uint grfIncludeViewFrameType, IVsTextView &ppView ) : int
GetBufferSccStatus3 ( IVsTextBuffer pBuffer, string pszFileName, int &pbCheckoutSucceeded, int &piStatusFlags ) : int
GetExpansionManager ( IVsExpansionManager &pExpansionManager ) : int
GetUserPreferences2 ( VIEWPREFERENCES2 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
GetUserPreferences3 ( VIEWPREFERENCES3 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
GetUserPreferences4 ( VIEWPREFERENCES3 pViewPrefs, LANGPREFERENCES3 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
NavigateToLineAndColumn2 ( IVsTextBuffer pBuffer, System.Guid &guidDocViewType, int iStartRow, int iStartIndex, int iEndRow, int iEndIndex, uint grfIncludeViewFrameType ) : int
NavigateToPosition2 ( IVsTextBuffer pBuffer, System.Guid &guidDocViewType, int iPos, int iLen, uint grfIncludeViewFrameType ) : int
PrimeExpansionManager ( System.Guid &guidLang ) : int
ResetColorableItems ( System.Guid guidLang ) : int
SetUserPreferences2 ( VIEWPREFERENCES2 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
SetUserPreferences3 ( VIEWPREFERENCES3 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
SetUserPreferences4 ( VIEWPREFERENCES3 pViewPrefs, LANGPREFERENCES3 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int

Method Details

AttemptToCheckOutBufferFromScc3() public method

public AttemptToCheckOutBufferFromScc3 ( IVsTextBuffer pBuffer, string pszFileName, uint dwQueryEditFlags, int &pbCheckoutSucceeded, int &piStatusFlags ) : int
pBuffer IVsTextBuffer
pszFileName string
dwQueryEditFlags uint
pbCheckoutSucceeded int
piStatusFlags int
return int

EnumConnectionPoints() public method

public EnumConnectionPoints ( IEnumConnectionPoints &ppEnum ) : void
ppEnum IEnumConnectionPoints
return void

FindConnectionPoint() public method

public FindConnectionPoint ( System.Guid &riid, IConnectionPoint &ppCP ) : void
riid System.Guid
ppCP IConnectionPoint
return void

FindLanguageSIDForExtensionlessFilename() public method

public FindLanguageSIDForExtensionlessFilename ( string pszFileName, System.Guid &pguidLangSID ) : int
pszFileName string
pguidLangSID System.Guid
return int

FireReplaceAllInFilesBegin() public method

public FireReplaceAllInFilesBegin ( ) : int
return int

FireReplaceAllInFilesEnd() public method

public FireReplaceAllInFilesEnd ( ) : int
return int

GetActiveView2() public method

public GetActiveView2 ( int fMustHaveFocus, IVsTextBuffer pBuffer, uint grfIncludeViewFrameType, IVsTextView &ppView ) : int
fMustHaveFocus int
pBuffer IVsTextBuffer
grfIncludeViewFrameType uint
ppView IVsTextView
return int

GetBufferSccStatus3() public method

public GetBufferSccStatus3 ( IVsTextBuffer pBuffer, string pszFileName, int &pbCheckoutSucceeded, int &piStatusFlags ) : int
pBuffer IVsTextBuffer
pszFileName string
pbCheckoutSucceeded int
piStatusFlags int
return int

GetExpansionManager() public method

public GetExpansionManager ( IVsExpansionManager &pExpansionManager ) : int
pExpansionManager IVsExpansionManager
return int

GetUserPreferences2() public method

public GetUserPreferences2 ( VIEWPREFERENCES2 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
pViewPrefs VIEWPREFERENCES2
pFramePrefs FRAMEPREFERENCES2
pLangPrefs LANGPREFERENCES2
pColorPrefs FONTCOLORPREFERENCES2
return int

GetUserPreferences3() public method

public GetUserPreferences3 ( VIEWPREFERENCES3 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
pViewPrefs VIEWPREFERENCES3
pFramePrefs FRAMEPREFERENCES2
pLangPrefs LANGPREFERENCES2
pColorPrefs FONTCOLORPREFERENCES2
return int

GetUserPreferences4() public method

public GetUserPreferences4 ( VIEWPREFERENCES3 pViewPrefs, LANGPREFERENCES3 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
pViewPrefs VIEWPREFERENCES3
pLangPrefs LANGPREFERENCES3
pColorPrefs FONTCOLORPREFERENCES2
return int

NavigateToLineAndColumn2() public method

public NavigateToLineAndColumn2 ( IVsTextBuffer pBuffer, System.Guid &guidDocViewType, int iStartRow, int iStartIndex, int iEndRow, int iEndIndex, uint grfIncludeViewFrameType ) : int
pBuffer IVsTextBuffer
guidDocViewType System.Guid
iStartRow int
iStartIndex int
iEndRow int
iEndIndex int
grfIncludeViewFrameType uint
return int

NavigateToPosition2() public method

public NavigateToPosition2 ( IVsTextBuffer pBuffer, System.Guid &guidDocViewType, int iPos, int iLen, uint grfIncludeViewFrameType ) : int
pBuffer IVsTextBuffer
guidDocViewType System.Guid
iPos int
iLen int
grfIncludeViewFrameType uint
return int

PrimeExpansionManager() public method

public PrimeExpansionManager ( System.Guid &guidLang ) : int
guidLang System.Guid
return int

ResetColorableItems() public method

public ResetColorableItems ( System.Guid guidLang ) : int
guidLang System.Guid
return int

SetUserPreferences2() public method

public SetUserPreferences2 ( VIEWPREFERENCES2 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
pViewPrefs VIEWPREFERENCES2
pFramePrefs FRAMEPREFERENCES2
pLangPrefs LANGPREFERENCES2
pColorPrefs FONTCOLORPREFERENCES2
return int

SetUserPreferences3() public method

public SetUserPreferences3 ( VIEWPREFERENCES3 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
pViewPrefs VIEWPREFERENCES3
pFramePrefs FRAMEPREFERENCES2
pLangPrefs LANGPREFERENCES2
pColorPrefs FONTCOLORPREFERENCES2
return int

SetUserPreferences4() public method

public SetUserPreferences4 ( VIEWPREFERENCES3 pViewPrefs, LANGPREFERENCES3 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
pViewPrefs VIEWPREFERENCES3
pLangPrefs LANGPREFERENCES3
pColorPrefs FONTCOLORPREFERENCES2
return int