Метод | Описание | |
---|---|---|
CellClicked ( NSTextView textView, NSTextAttachmentCell cell, CGRect cellFrame, nuint charIndex ) : void |
Called when the cell is clicked. Because a custom |
|
CellDoubleClicked ( NSTextView textView, NSTextAttachmentCell cell, CGRect cellFrame, nuint charIndex ) : void |
Called when the cell is double-clicked. Because a custom |
|
DidChangeSelection ( NSNotification notification ) : void |
Called when the text selection has changed. Because a custom |
|
DidChangeTypingAttributes ( NSNotification notification ) : void |
Called when the typing attributes has changed. Because a custom |
|
DraggedCell ( NSTextView view, NSTextAttachmentCell cell, CGRect rect, NSEvent theevent ) : void |
Called when the cell is dragged. Because a custom |
|
GetCompletions ( NSTextView textView, string words, NSRange charRange, nint &index ) : string[] |
Based on the user preferences set on the parent AppKit.TextKit.Formatter.SourceTextView, this method returns the available list of partial word completions.
|
|
SourceTextViewDelegate ( |
Initializes a new instance of the AppKit.TextKit.Formatter.SourceTextViewDelegate class.
|
public CellClicked ( NSTextView textView, NSTextAttachmentCell cell, CGRect cellFrame, nuint charIndex ) : void | ||
textView | NSTextView | The |
cell | NSTextAttachmentCell | The cell being acted upon. |
cellFrame | CGRect | The onscreen frame of the cell. |
charIndex | nuint | The index of the character clicked. |
Результат | void |
public CellDoubleClicked ( NSTextView textView, NSTextAttachmentCell cell, CGRect cellFrame, nuint charIndex ) : void | ||
textView | NSTextView | The |
cell | NSTextAttachmentCell | The cell being acted upon. |
cellFrame | CGRect | The onscreen frame of the cell. |
charIndex | nuint | The index of the character clicked. |
Результат | void |
public DidChangeSelection ( NSNotification notification ) : void | ||
notification | NSNotification | A notification defining the change. |
Результат | void |
public DidChangeTypingAttributes ( NSNotification notification ) : void | ||
notification | NSNotification | A notification defining the change. |
Результат | void |
public DraggedCell ( NSTextView view, NSTextAttachmentCell cell, CGRect rect, NSEvent theevent ) : void | ||
view | NSTextView | |
cell | NSTextAttachmentCell | The cell being acted upon. |
rect | CGRect | |
theevent | NSEvent | An event defining the drag operation. |
Результат | void |
public GetCompletions ( NSTextView textView, string words, NSRange charRange, nint &index ) : string[] | ||
textView | NSTextView | The source |
words | string | A list of default words automatically provided by OS X in the user's language. |
charRange | NSRange | The cursor location where the partial word exists. |
index | nint | The word that should be selected when the list is displayed (usually 0 meaning /// the first item in the list). Pass -1 for no selected items. |
Результат | string[] |
public SourceTextViewDelegate ( |
||
textEditor | Text editor. | |
Результат | System |