C# Class MonoDevelop.CSharp.Formatting.CSharpTextEditorIndentation

Inheritance: MonoDevelop.Ide.Gui.Content.TextEditorExtension
ファイルを表示 Open project: LogosBible/monodevelop Class Usage Examples

Private Properties

Property Type Description
CSharpTextEditorIndentation System
CheckXmlCommentCloseTag void
ConvertNormalToVerbatimString void
ConvertToStringLiteral string
ConvertVerbatimStringToNormal void
DoPostInsertionSmartIndent void
DoPreInsertionSmartIndent void
DoReSmartIndent void
DoReSmartIndent void
HandleStringConcatinationDeletion void
HandleTextOptionsChanged void
HandleTextPaste void
HandleTextReplaced void
HandleTextReplacing void
IsSemicolonalreadyPlaced bool
ReindentOnTab void
RunFormatter void
SafeUpdateIndentEngine void
TranslateKeyCharForIndenter char

Public Methods

Method Description
Dispose ( ) : void
DoInsertTemplate ( ) : bool
FixLineStart ( TextEditorData textEditorData, IStateMachineIndentEngine stateTracker, int lineNumber ) : bool
GuessSemicolonInsertionOffset ( TextEditorData data, ISegment curLine, int caretOffset, int &outOffset ) : bool
Initialize ( ) : void
KeyPress ( Gdk key, char keyChar, Gdk modifier ) : bool

Private Methods

Method Description
CSharpTextEditorIndentation ( ) : System
CheckXmlCommentCloseTag ( char keyChar ) : void
ConvertNormalToVerbatimString ( TextEditorData textEditorData, int offset ) : void
ConvertToStringLiteral ( string text ) : string
ConvertVerbatimStringToNormal ( TextEditorData textEditorData, int offset ) : void
DoPostInsertionSmartIndent ( char charInserted, bool &reIndent ) : void
DoPreInsertionSmartIndent ( Gdk key ) : void
DoReSmartIndent ( ) : void
DoReSmartIndent ( int cursor ) : void
HandleStringConcatinationDeletion ( int start, int end ) : void
HandleTextOptionsChanged ( object sender, EventArgs e ) : void
HandleTextPaste ( int insertionOffset, string text, int insertedChars ) : void
HandleTextReplaced ( object sender, Mono.TextEditor.DocumentChangeEventArgs e ) : void
HandleTextReplacing ( object sender, Mono.TextEditor.DocumentChangeEventArgs e ) : void
IsSemicolonalreadyPlaced ( TextEditorData data, int caretOffset ) : bool
ReindentOnTab ( ) : void
RunFormatter ( Mono.TextEditor.DocumentLocation location ) : void
SafeUpdateIndentEngine ( int offset ) : void
TranslateKeyCharForIndenter ( Gdk key, char keyChar, char docChar ) : char

Method Details

Dispose() public method

public Dispose ( ) : void
return void

DoInsertTemplate() public method

public DoInsertTemplate ( ) : bool
return bool

FixLineStart() public method

public FixLineStart ( TextEditorData textEditorData, IStateMachineIndentEngine stateTracker, int lineNumber ) : bool
textEditorData Mono.TextEditor.TextEditorData
stateTracker IStateMachineIndentEngine
lineNumber int
return bool

GuessSemicolonInsertionOffset() public static method

public static GuessSemicolonInsertionOffset ( TextEditorData data, ISegment curLine, int caretOffset, int &outOffset ) : bool
data Mono.TextEditor.TextEditorData
curLine ISegment
caretOffset int
outOffset int
return bool

Initialize() public method

public Initialize ( ) : void
return void

KeyPress() public method

public KeyPress ( Gdk key, char keyChar, Gdk modifier ) : bool
key Gdk
keyChar char
modifier Gdk
return bool