Version

Search Results

Load(String) Method

Initializes the document with text from the specified file. Syntax Parameters fileName The name of the file to load. Return Value True if the operation was successful, otherwise false. Exceptions Exception Description System.ArgumentNullException if filename is null or empty. Remarks Note: this is equivalent to ca...

Load Method

Initializes the document with text from the specified file. Overload List

NewLineSequence Property

Returns/sets the sequence of characters used to delimit lines in the document. Syntax

OnTextChanged Method

Invokes the TextChanged event. Syntax Parameters args An instance of the TextChangedEventArgs class.

OnTextChanging Method

Invokes the TextChanging event. Syntax Parameters args An instance of the TextChangingEventArgs class.

OnTextLoaded Method

Occurs after either the Load or InitializeText method is called. Syntax Parameters args Remarks Note: this event will also occurs if there is existing text and the Language property is changed.

OutdentLines Method

Outdents a block of lines (i.e. removes leading whitepsace). Syntax Parameters lineIndex The zero-based index of the first line to outdent.lineCount The total number of lines to outdent. Return Value True if the operation was successful, otherwise false. Exceptions Exception Description System.InvalidOperationExce...

Parse Method

Parses the document synchronously. Syntax Remarks Note: just before the method returns the PropertyChanged event will be raised and the SyntaxTree property will return the new tree.

ParseAsync Method

Parses the document on a background thread. Syntax Remarks Note: when the parse operation is complete the PropertyChanged event will be raised and the SyntaxTree property will return the new tree.

PropertyChanged Event

Ocuurs after a property value has changed Syntax Event Data The event handler receives an argument of type PropertyChangedEventArgs containing data related to this event. The following PropertyChangedEventArgs properties provide information specific to this event.Property Description PropertyName