Метод | Описание | |
---|---|---|
FindEndOfLine ( string text, NSRange position ) : NSRange |
Finds the start of end for the given location in the text as defined by the
|
|
FindLineBoundries ( string text, NSRange position ) : NSRange |
Finds the line boundries as defined by the
|
|
FindStartOfLine ( string text, NSRange position ) : NSRange |
Finds the start of line for the given location in the text as defined by the
|
|
FindWordBoundries ( string text, NSRange position ) : NSRange |
Finds the word boundries as defined by the
|
|
HighlightSyntax ( string word, NSRange range ) : void |
Uses the current TODO: The Text Kit |
|
HighlightSyntaxRegion ( string text, NSRange position ) : void |
Based on the current
|
|
IsLanguageSeparator ( char c ) : bool |
Determines whether the passed in character is a language separator.
|
|
LanguageFormatter ( NSTextView textEditor, |
Initializes a new instance of the AppKit.TextKit.Formatter.LanguageFormatter class.
|
|
PreceedingCharacterIsWhitespaceOrTerminator ( string text, NSRange position ) : bool |
Tests to see if the preceeding character is whitespace or terminator. Returns |
|
Reformat ( ) : void |
Forces all of the text in the attached
|
|
TrailingCharacterIsWhitespaceOrTerminator ( string text, NSRange position ) : bool |
Tests to see if the trailing character is whitespace or terminator. Returns |
public FindEndOfLine ( string text, NSRange position ) : NSRange | ||
text | string | The text to find the end of the line in. |
position | NSRange | The current location of the cursor in the text and possible selection. |
Результат | NSRange |
public FindLineBoundries ( string text, NSRange position ) : NSRange | ||
text | string | The string to be searched. |
position | NSRange | The |
Результат | NSRange |
public FindStartOfLine ( string text, NSRange position ) : NSRange | ||
text | string | The text to find the start of the line in. |
position | NSRange | The current location of the cursor in the text and possible selection. |
Результат | NSRange |
public FindWordBoundries ( string text, NSRange position ) : NSRange | ||
text | string | The string to be searched. |
position | NSRange | The |
Результат | NSRange |
public HighlightSyntax ( string word, NSRange range ) : void | ||
word | string | The possible keyword to highlight. |
range | NSRange | An |
Результат | void |
public HighlightSyntaxRegion ( string text, NSRange position ) : void | ||
text | string | The string value to be syntax highlighted. |
position | NSRange | The starting location of the text to be highlighted. |
Результат | void |
public IsLanguageSeparator ( char c ) : bool | ||
c | char | The character being tested. |
Результат | bool |
public LanguageFormatter ( NSTextView textEditor, |
||
textEditor | NSTextView | The |
language | The |
|
Результат | System |
public PreceedingCharacterIsWhitespaceOrTerminator ( string text, NSRange position ) : bool | ||
text | string | The text to test. |
position | NSRange | The current cursor position inside the text. |
Результат | bool |
public TrailingCharacterIsWhitespaceOrTerminator ( string text, NSRange position ) : bool | ||
text | string | The text to test. |
position | NSRange | The current cursor position inside the text. |
Результат | bool |