Method | Description | |
---|---|---|
ShowCodeCompletionWindow ( char p_chrChar ) : void |
Displays the code completion window.
|
|
ValidateOnTimer ( object sender, |
Validates the XML against the schema, after a given period has elapsed. This method is called by a timer after a set span after the text in the editor was last changed. |
|
ValidateXml ( ) : bool |
Validates the XML against the schema.
|
|
XmlEditor ( ) : System |
The default constructor.
|
|
m_cdpXmlCompletionProvider_GotAutoCompleteList ( object sender, |
Handles the XmlCompletionProvider.GotAutoCompleteList event of the completion provider. This raises the editor's GotAutoCompleteList event. |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposes of resources used by the editor. This makes sure that the code completion windows is closed. |
|
HighlightMalformedTag ( IDocument p_docDocument, string p_strTagName, TextLocation p_tlcStart, TextLocation p_tlcEnd ) : void |
Highlights any malformed XML tags that are found.
|
|
OnTextChanged ( |
Starts the timers to update the code folds and validate the XML.
|
Method | Description | |
---|---|---|
DisposeCodeCompletionWindow ( object sender, |
Disposes of the code completion window when it closes.
|
|
HighlightValidationErrors ( object sender, |
Highlights any XML validation errors that are found.
|
|
HighlightValidationErrors ( string p_strMessage, TextLocation p_tlcStart ) : void |
Highlights any XML validation errors that are found.
|
|
TextArea_KeyEventHandler ( char p_chrChar ) : bool |
Called whenever a character is about to be added to the document.
|
|
UpdateFolds ( object sender, |
Updates the code folds. This method is called by a timer after a set span after the text in the editor was last changed. |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | Whether or not the object is being disposed. |
return | void |
protected HighlightMalformedTag ( IDocument p_docDocument, string p_strTagName, TextLocation p_tlcStart, TextLocation p_tlcEnd ) : void | ||
p_docDocument | IDocument | The document being validated. |
p_strTagName | string | The name of the malformed tag. |
p_tlcStart | TextLocation | The start of the malformed tag. |
p_tlcEnd | TextLocation | The end of the malformed tag. |
return | void |
protected OnTextChanged ( |
||
e | An |
|
return | void |
public ShowCodeCompletionWindow ( char p_chrChar ) : void | ||
p_chrChar | char | The character that was typed that caused the code window to display. |
return | void |
public ValidateOnTimer ( object sender, |
||
sender | object | The object that triggered the event. |
e | An |
|
return | void |
public m_cdpXmlCompletionProvider_GotAutoCompleteList ( object sender, |
||
sender | object | The object that raised the event. |
e | An |
|
return | void |