C# Class MonoDevelop.TypeScriptBinding.Formatting.TypeScriptTextEditorIndentation

Inheritance: MonoDevelop.Ide.Gui.Content.TextEditorExtension
Afficher le fichier Open project: atsushieno/md-typescript

Private Properties

Свойство Type Description
DoPostInsertionSmartIndent void
DoPreInsertionSmartIndent void
DoReSmartIndent void
DoReSmartIndent void
HandleStringConcatinationDeletion void
HandleTextPaste void
InitTracker void
RunFormatter void
TranslateKeyCharForIndenter char
TypeScriptTextEditorIndentation System

Méthodes publiques

Méthode Description
DoInsertTemplate ( ) : bool
FixLineStart ( TextEditorData textEditorData, DocumentStateTracker stateTracker, int lineNumber ) : bool
GuessSemicolonInsertionOffset ( TextEditorData data, Mono.TextEditor.DocumentLine currLine, int caretOffset ) : int
Initialize ( ) : void
KeyPress ( Gdk key, char keyChar, Gdk modifier ) : bool

Private Methods

Méthode Description
DoPostInsertionSmartIndent ( char charInserted, bool hadSelection, bool &reIndent ) : void
DoPreInsertionSmartIndent ( Gdk key ) : void
DoReSmartIndent ( ) : void
DoReSmartIndent ( int cursor ) : void
HandleStringConcatinationDeletion ( int start, int end ) : void
HandleTextPaste ( int insertionOffset, string text, int insertedChars ) : void
InitTracker ( ) : void
RunFormatter ( Mono.TextEditor.DocumentLocation location ) : void
TranslateKeyCharForIndenter ( Gdk key, char keyChar, char docChar ) : char
TypeScriptTextEditorIndentation ( ) : System

Method Details

DoInsertTemplate() public méthode

public DoInsertTemplate ( ) : bool
Résultat bool

FixLineStart() public static méthode

public static FixLineStart ( TextEditorData textEditorData, DocumentStateTracker stateTracker, int lineNumber ) : bool
textEditorData Mono.TextEditor.TextEditorData
stateTracker DocumentStateTracker
lineNumber int
Résultat bool

GuessSemicolonInsertionOffset() public static méthode

public static GuessSemicolonInsertionOffset ( TextEditorData data, Mono.TextEditor.DocumentLine currLine, int caretOffset ) : int
data Mono.TextEditor.TextEditorData
currLine Mono.TextEditor.DocumentLine
caretOffset int
Résultat int

Initialize() public méthode

public Initialize ( ) : void
Résultat void

KeyPress() public méthode

public KeyPress ( Gdk key, char keyChar, Gdk modifier ) : bool
key Gdk
keyChar char
modifier Gdk
Résultat bool