EditorAPI2OpenTextAsDocument Method |
Namespace:
NeoAxis.Editor
Assembly:
NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntaxpublic static DocumentInstance OpenTextAsDocument(
string text,
string title,
bool select,
bool readOnly = false,
string highlightingScheme = "",
int selectLine = 0
)
Parameters
- text
- Type: SystemString
- title
- Type: SystemString
- select
- Type: SystemBoolean
- readOnly (Optional)
- Type: SystemBoolean
- highlightingScheme (Optional)
- Type: SystemString
This is the prefix for file path. Specify \'CSharp\'. 'Base\Tools\Highlighting\{CSharp}Dark.xshd' - selectLine (Optional)
- Type: SystemInt32
Return Value
Type:
DocumentInstance
See Also