Mono.TextEditor.TextEditorData.CreateImmutable C# (CSharp) 메소드

CreateImmutable() 공개 정적인 메소드

Creates the a text editor data object which document can't be changed. This is useful for 'view' only documents.
The Document itself is very fast because it uses a special case buffer and line splitter implementation. Additionally highlighting is turned off as default.
public static CreateImmutable ( string input, bool suppressHighlighting = true ) : TextEditorData
input string
suppressHighlighting bool
리턴 TextEditorData
		public static TextEditorData CreateImmutable (string input, bool suppressHighlighting = true)
		{
			return new TextEditorData (TextDocument.CreateImmutableDocument (input, suppressHighlighting));
		}
	}