Méthode | Description | |
---|---|---|
DefaultFormattingStrategy ( ) : System |
Creates a new instance off DefaultFormattingStrategy
|
|
FormatLine ( TextArea textArea, int line, int cursorOffset, char ch ) : int |
This function formats a specific line after
|
|
IndentLine ( TextArea textArea, int line ) : int |
This function sets the indentation level in a specific line
|
|
IndentLines ( TextArea textArea, int begin, int end ) : void |
This function sets the indentlevel in a range of lines.
|
|
SearchBracketBackward ( IDocument document, int offset, char openBracket, char closingBracket ) : int | ||
SearchBracketForward ( IDocument document, int offset, char openBracket, char closingBracket ) : int |
Méthode | Description | |
---|---|---|
AutoIndentLine ( TextArea textArea, int lineNumber ) : int |
Could be overwritten to define more complex indenting.
|
|
GetIndentation ( TextArea textArea, int lineNumber ) : string |
returns the whitespaces which are before a non white space character in the line line as a string.
|
|
SmartIndentLine ( TextArea textArea, int line ) : int |
Could be overwritten to define more complex indenting.
|
protected AutoIndentLine ( TextArea textArea, int lineNumber ) : int | ||
textArea | TextArea | |
lineNumber | int | |
Résultat | int |
public DefaultFormattingStrategy ( ) : System | ||
Résultat | System |
public FormatLine ( TextArea textArea, int line, int cursorOffset, char ch ) : int | ||
textArea | TextArea | |
line | int | |
cursorOffset | int | |
ch | char | |
Résultat | int |
protected GetIndentation ( TextArea textArea, int lineNumber ) : string | ||
textArea | TextArea | |
lineNumber | int | |
Résultat | string |
public IndentLine ( TextArea textArea, int line ) : int | ||
textArea | TextArea | |
line | int | |
Résultat | int |
public IndentLines ( TextArea textArea, int begin, int end ) : void | ||
textArea | TextArea | |
begin | int | |
end | int | |
Résultat | void |
public SearchBracketBackward ( IDocument document, int offset, char openBracket, char closingBracket ) : int | ||
document | IDocument | |
offset | int | |
openBracket | char | |
closingBracket | char | |
Résultat | int |
public SearchBracketForward ( IDocument document, int offset, char openBracket, char closingBracket ) : int | ||
document | IDocument | |
offset | int | |
openBracket | char | |
closingBracket | char | |
Résultat | int |
protected SmartIndentLine ( TextArea textArea, int line ) : int | ||
textArea | TextArea | |
line | int | |
Résultat | int |