Click or drag to resize

EditorAPI2OpenTextAsDocument Method


Namespace: NeoAxis.Editor
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static DocumentInstance OpenTextAsDocument(
	string text,
	string title,
	bool select,
	bool readOnly = false,
	string highlightingScheme = "",
	int selectLine = 0
)

Parameters

text  String
title  String
select  Boolean
readOnly  Boolean  (Optional)
highlightingScheme  String  (Optional)
This is the prefix for file path. Specify \'CSharp\'. 'Base\Tools\Highlighting\{CSharp}Dark.xshd'
selectLine  Int32  (Optional)

Return Value

DocumentInstance
See Also