C# Class NetIde.Core.ToolWindows.TextEditor.NiTextBuffer

Inheritance: NetIde.Shell.ServiceObject, INiTextBuffer
Show file Open project: netide/netide

Public Methods

Method Description
GetCodePage ( int &codePage, bool &emitPreamble ) : HResult
GetLanguageServiceID ( System.Guid &languageService ) : HResult
GetLastLineIndex ( int &line, int &index ) : HResult
GetLengthOfLine ( int line, int &length ) : HResult
GetLineCount ( int &lineCount ) : HResult
GetLineIndexOfPosition ( int position, int &line, int &column ) : HResult
GetPositionOfLine ( int line, int &position ) : HResult
GetPositionOfLineIndex ( int line, int index, int &position ) : HResult
GetSize ( int &length ) : HResult
GetStateFlags ( NiTextBufferState &flags ) : HResult
InitializeContent ( string text ) : HResult
NiTextBuffer ( ) : System
NiTextBuffer ( IDocument document ) : System
SetCodePage ( int codePage, bool emitPreamble ) : HResult
SetLanguageServiceID ( System.Guid languageService ) : HResult
SetStateFlags ( NiTextBufferState flags ) : HResult

Protected Methods

Method Description
OnBeginUpdate ( EventArgs e ) : void
OnEndUpdate ( EventArgs e ) : void

Private Methods

Method Description
INiObjectWithSite ( IServiceProvider &serviceProvider ) : HResult
INiPersistDocData ( NiSaveMode mode, string &document, bool &saved ) : HResult
INiPersistDocData ( bool &isDirty ) : HResult
INiPersistDocData ( string document ) : HResult
INiPersistFile ( bool &isDirty ) : HResult
INiPersistFile ( string &fileName ) : HResult
INiPersistFile ( string fileName, bool remember ) : HResult

Method Details

GetCodePage() public method

public GetCodePage ( int &codePage, bool &emitPreamble ) : HResult
codePage int
emitPreamble bool
return HResult

GetLanguageServiceID() public method

public GetLanguageServiceID ( System.Guid &languageService ) : HResult
languageService System.Guid
return HResult

GetLastLineIndex() public method

public GetLastLineIndex ( int &line, int &index ) : HResult
line int
index int
return HResult

GetLengthOfLine() public method

public GetLengthOfLine ( int line, int &length ) : HResult
line int
length int
return HResult

GetLineCount() public method

public GetLineCount ( int &lineCount ) : HResult
lineCount int
return HResult

GetLineIndexOfPosition() public method

public GetLineIndexOfPosition ( int position, int &line, int &column ) : HResult
position int
line int
column int
return HResult

GetPositionOfLine() public method

public GetPositionOfLine ( int line, int &position ) : HResult
line int
position int
return HResult

GetPositionOfLineIndex() public method

public GetPositionOfLineIndex ( int line, int index, int &position ) : HResult
line int
index int
position int
return HResult

GetSize() public method

public GetSize ( int &length ) : HResult
length int
return HResult

GetStateFlags() public method

public GetStateFlags ( NiTextBufferState &flags ) : HResult
flags NiTextBufferState
return HResult

InitializeContent() public method

public InitializeContent ( string text ) : HResult
text string
return HResult

NiTextBuffer() public method

public NiTextBuffer ( ) : System
return System

NiTextBuffer() public method

public NiTextBuffer ( IDocument document ) : System
document IDocument
return System

OnBeginUpdate() protected method

protected OnBeginUpdate ( EventArgs e ) : void
e System.EventArgs
return void

OnEndUpdate() protected method

protected OnEndUpdate ( EventArgs e ) : void
e System.EventArgs
return void

SetCodePage() public method

public SetCodePage ( int codePage, bool emitPreamble ) : HResult
codePage int
emitPreamble bool
return HResult

SetLanguageServiceID() public method

public SetLanguageServiceID ( System.Guid languageService ) : HResult
languageService System.Guid
return HResult

SetStateFlags() public method

public SetStateFlags ( NiTextBufferState flags ) : HResult
flags NiTextBufferState
return HResult