Interface ITextParsing
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
Represents properties and methods to perform Text Source parsing.
public interface ITextParsing
Properties
- Lexer
When implemented by a class, gets or sets an object that can perform lexical analysis of the text source content.
- ParserLine
When implemented in a class, gets the line currently parsed by the attached Lexer, when text source performs syntax parsing of the text.
Methods
- FormatText()
When implemented by a class, formats and outlines
TextSource
text using attachedLexer
.
- FormatText(bool, bool)
When implemented by a class, formats and outlines
Indicates if parsing should be performed without instantiating parser thread. Indicates if attached editors should be notified on reparsingTextSource
text using attachedLexer
.
- GetStructureGuideLines(int, IList<IRange>)
When implemented by a class, gets list of guide lines.
- IsContentDivider(int)
When implemented by a class, gets boolean value indicating whether text content is divided at given line.
- NeedAutoComplete()
When implemented by a class, indicates whether
ITextSource
should try to autocomplete statements.
- NeedCacheIndent()
When implemented by a class, indicates whether
ITextSource
can reuse previous indentation.
- NeedCodeCompletion()
When implemented by a class, indicates whether
ITextSource
can provide code completion operation for its content.
- NeedCodeCompletionTabs(CodeCompletionType)
When implemented by a class, indicates code completion content can be filtered based on its priority.
- NeedCodeFixes()
When implemented by a class, indicates whether
ITextSource
can provide code fixes operations for its content.
- NeedCodeRefactors()
When implemented by a class, indicates whether
ITextSource
can provide code refactor operations for its content.
- NeedFormatText()
When implemented by a class, indicates whether
ITextSource
can format its content.
- NeedFormatTextOnLineChange()
When implemented by a class, indicates whether
ITextSource
should format spaces and case when changing the current line.
- NeedIndentText()
When implemented by a class, indicates whether
ITextSource
can indent its content.
- NeedOutlineText()
When implemented by a class, indicates whether
ITextSource
can outline its content.
- NeedParse()
When implemented by a class, indicates whether syntax parsing can be performed for the text, or some of formatting text elements, such as urls or braces, should be highlighted.
- NeedQuickInfoTips()
When implemented by a class, indicates whether
ITextSource
can obtain short description for syntax tokens within its content.
- NeedReparseTextOnLineChange()
When implemented by a class, indicates whether
ITextSource
should replace text when changing the current line.
- NeedStructureGuideLines()
When implemented by a class, indicates whether
ITextSource
can structure guidelines for its content.
- ParseString(int)
When implemented by a class, perform lexical analysis of the specified string.
- ParseStrings(int, int)
When implemented by a class, perform lexical analysis specified strings.
- ParseToString(int)
When implemented by a class, perform lexical analysis of specified strings.
- ProcessAutoComplete(out string)
When implemented by a class, inserts end-of-block code fragment if needed.
- SetLastParsed(int)
When implemented by a class, updates the last parsed line and resets first changed line to it's default value.
- SupportsAsyncParsing()
When implemented by a class, indicates whether
ITextSource
can perform syntax analysis asynchronously.