Class CodeUtils
- Namespace
- Alternet.Editor.TypeScript
- Assembly
- Alternet.Editor.TypeScript.v10.dll
Represents extended functionality to fill classes and methods lists related to the position inside the text document.
public class CodeUtils
- Inheritance
-
CodeUtils
Fields
Methods
- DrawItem(ComboBox, DrawItemEventArgs, ImageList)
Provides a custom drawing for a ComboBox item.
- FillClassesAsync(ComboBox, object, Point, V8Parser)
Fills given ComboBox with list of classes obtained from specified document at the given position.
- FillMethods(ComboBox, object, Point, ComboBox, V8Parser)
Fills given ComboBox with list of methods obtained from specified document at the given position.
- FormatText(object)
Formats content of specified syntax element accordingly to language rules of the document.
- GetFormattedText(NavigationBarItem)
Retrieves content of specified syntax element accordingly to language rules of the document.
- GetPosition(object, object, out Point, V8Parser)
Finds position in source code related to the specified syntax element.
- GetSelectedPosition(ComboBox, object, V8Parser)
Finds position in source code related to the currently selected item in the ComboBox control.
- NavigateClasses(ComboBox, object, Point, V8Parser)
Updates content of given class ComboBox accordingly to given position.
- NavigateMethods(ComboBox, object, Point, ComboBox, V8Parser)
Updates content of given method ComboBox accordingly to given position.
- SelectItem(ComboBox, object, out Point, V8Parser)
Finds position of the syntax element linked to the currently selected item in the ComboBox control.