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...
Initializes the document with text from the specified file. Overload List
Returns/sets the sequence of characters used to delimit lines in the document. Syntax
Invokes the TextChanged event. Syntax Parameters args An instance of the TextChangedEventArgs class.
Invokes the TextChanging event. Syntax Parameters args An instance of the TextChangingEventArgs class.
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.
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...
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.
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.
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