Метод | Описание | |
---|---|---|
CanFormatLine ( ITextView textView, ITextBuffer containedLanguageBuffer, int lineNumber ) : bool | ||
IsInertRange ( ITextRange range ) : bool |
Detemines if particular range should not be treated as contained language and instead should be ignored or 'skipped over'. Used by R parser to ignore 'R' in ```{R ... }
|
|
MdContainedLanguageHost ( IEditorDocument document, ITextBuffer textBuffer, ICoreShell coreShell ) : System |
Creates contained language host with default settings.
|
|
RemoveContainedCommandTarget ( ITextView textView ) : void | ||
SetContainedCommandTarget ( ITextView textView, ICommandTarget containedCommandTarget ) : ICommandTarget |
Метод | Описание | |
---|---|---|
GetBaseCommandTarget ( ITextView textView ) : ICommandTarget |
Retrieves base command target that is chained to the main controller attached to a given view. This is typically a core editor command target.
|
|
OnDocumentClosing ( object sender, |
public CanFormatLine ( ITextView textView, ITextBuffer containedLanguageBuffer, int lineNumber ) : bool | ||
textView | ITextView | |
containedLanguageBuffer | ITextBuffer | |
lineNumber | int | |
Результат | bool |
public IsInertRange ( ITextRange range ) : bool | ||
range | ITextRange | |
Результат | bool |
public MdContainedLanguageHost ( IEditorDocument document, ITextBuffer textBuffer, ICoreShell coreShell ) : System | ||
document | IEditorDocument | Markdown editor document |
textBuffer | ITextBuffer | Contained language text buffer |
coreShell | ICoreShell | |
Результат | System |
public RemoveContainedCommandTarget ( ITextView textView ) : void | ||
textView | ITextView | |
Результат | void |
public SetContainedCommandTarget ( ITextView textView, ICommandTarget containedCommandTarget ) : ICommandTarget | ||
textView | ITextView | |
containedCommandTarget | ICommandTarget | |
Результат | ICommandTarget |