C# Class MonoDevelop.XmlEditor.Gui.BaseXmlEditorExtension

Inheritance: MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension, IPathedDocument, IOutlinedDocument
Show file Open project: LogosBible/monodevelop Class Usage Examples

Public Methods

Method Description
CodeCompletionCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : ICompletionDataList
CreatePathWidget ( int index ) : Gtk.Widget
CursorPositionChanged ( ) : void
Dispose ( ) : void
HandleCodeCompletion ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, char completionChar, int &triggerWordLength ) : ICompletionDataList
Initialize ( ) : void
KeyPress ( Gdk key, char keyChar, Gdk modifier ) : bool
SelectNode ( XNode n ) : void
SelectPath ( int depth ) : void
SelectPathContents ( int depth ) : void

Protected Methods

Method Description
AddCloseTag ( CompletionDataList completionList, NodeStack stack ) : void
AddMiscBeginTags ( CompletionDataList list ) : void

Adds CDATA and comment begin tags.

ClosingTagCompletion ( IEditableTextBuffer buf, TextLocation currentLocation ) : ICompletionDataList
CreateRootState ( ) : MonoDevelop.Xml.StateEngine.RootState
EditorSelect ( DomRegion region ) : void
GetAttributeCompletions ( IAttributedXObject attributedOb, string>.Dictionary existingAtts ) : CompletionDataList
GetAttributeValueCompletions ( IAttributedXObject attributedOb, XAttribute att ) : CompletionDataList
GetBufferText ( DomRegion region ) : string
GetCompleteName ( ) : XName
GetCurrentPath ( ) : List
GetDocTypeCompletions ( ) : CompletionDataList
GetElementCompletions ( CompletionDataList list ) : void
GetEntityCompletions ( CompletionDataList list ) : void
GetLineIndent ( int line ) : string
GetParentElement ( int skip ) : XElement
GetParentElementName ( int skip ) : XName
GetParentElementNames ( int skip ) : IEnumerable
HandleCodeCompletion ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, bool forced, int &triggerWordLength ) : ICompletionDataList
InitializeOutlineColumns ( MonoDevelop outlineTree ) : void
OnDocTypeChanged ( ) : void
OnParsedDocumentUpdated ( ) : void
OnPathChanged ( PathEntry oldPath ) : void
OutlineSelectionChanged ( object selection ) : void
RefillOutlineStore ( ParsedDocument doc, Gtk store ) : void

Private Methods

Method Description
BuildTreeChildren ( Gtk store, Gtk parent, XContainer p ) : void
GetAttributeIndentDepth ( NodeStack nodes ) : int
GetElementIndentDepth ( NodeStack nodes ) : int
IOutlinedDocument ( ) : IEnumerable
IOutlinedDocument ( ) : Gtk.Widget
IOutlinedDocument ( ) : void
RefreshOutline ( ) : void
SelectPath ( int depth, bool contents ) : void
UpdatePath ( ) : void
outlineTreeDataFunc ( Gtk column, Gtk cell, Gtk model, Gtk iter ) : void
refillOutlineStore ( ) : void
refillOutlineStoreIdleHandler ( ) : bool

Method Details

AddCloseTag() protected static method

protected static AddCloseTag ( CompletionDataList completionList, NodeStack stack ) : void
completionList CompletionDataList
stack NodeStack
return void

AddMiscBeginTags() protected static method

Adds CDATA and comment begin tags.
protected static AddMiscBeginTags ( CompletionDataList list ) : void
list CompletionDataList
return void

ClosingTagCompletion() protected method

protected ClosingTagCompletion ( IEditableTextBuffer buf, TextLocation currentLocation ) : ICompletionDataList
buf IEditableTextBuffer
currentLocation TextLocation
return ICompletionDataList

CodeCompletionCommand() public method

public CodeCompletionCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : ICompletionDataList
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
return ICompletionDataList

CreatePathWidget() public method

public CreatePathWidget ( int index ) : Gtk.Widget
index int
return Gtk.Widget

CreateRootState() protected method

protected CreateRootState ( ) : MonoDevelop.Xml.StateEngine.RootState
return MonoDevelop.Xml.StateEngine.RootState

CursorPositionChanged() public method

public CursorPositionChanged ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

EditorSelect() protected method

protected EditorSelect ( DomRegion region ) : void
region DomRegion
return void

GetAttributeCompletions() protected method

protected GetAttributeCompletions ( IAttributedXObject attributedOb, string>.Dictionary existingAtts ) : CompletionDataList
attributedOb IAttributedXObject
existingAtts string>.Dictionary
return CompletionDataList

GetAttributeValueCompletions() protected method

protected GetAttributeValueCompletions ( IAttributedXObject attributedOb, XAttribute att ) : CompletionDataList
attributedOb IAttributedXObject
att XAttribute
return CompletionDataList

GetBufferText() protected method

protected GetBufferText ( DomRegion region ) : string
region DomRegion
return string

GetCompleteName() protected method

protected GetCompleteName ( ) : XName
return XName

GetCurrentPath() protected method

protected GetCurrentPath ( ) : List
return List

GetDocTypeCompletions() protected method

protected GetDocTypeCompletions ( ) : CompletionDataList
return CompletionDataList

GetElementCompletions() protected method

protected GetElementCompletions ( CompletionDataList list ) : void
list CompletionDataList
return void

GetEntityCompletions() protected method

protected GetEntityCompletions ( CompletionDataList list ) : void
list CompletionDataList
return void

GetLineIndent() protected method

protected GetLineIndent ( int line ) : string
line int
return string

GetParentElement() protected method

protected GetParentElement ( int skip ) : XElement
skip int
return XElement

GetParentElementName() protected method

protected GetParentElementName ( int skip ) : XName
skip int
return XName

GetParentElementNames() protected method

protected GetParentElementNames ( int skip ) : IEnumerable
skip int
return IEnumerable

HandleCodeCompletion() protected method

protected HandleCodeCompletion ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, bool forced, int &triggerWordLength ) : ICompletionDataList
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
forced bool
triggerWordLength int
return ICompletionDataList

HandleCodeCompletion() public method

public HandleCodeCompletion ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, char completionChar, int &triggerWordLength ) : ICompletionDataList
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
completionChar char
triggerWordLength int
return ICompletionDataList

Initialize() public method

public Initialize ( ) : void
return void

InitializeOutlineColumns() protected method

protected InitializeOutlineColumns ( MonoDevelop outlineTree ) : void
outlineTree MonoDevelop
return void

KeyPress() public method

public KeyPress ( Gdk key, char keyChar, Gdk modifier ) : bool
key Gdk
keyChar char
modifier Gdk
return bool

OnDocTypeChanged() protected method

protected OnDocTypeChanged ( ) : void
return void

OnParsedDocumentUpdated() protected method

protected OnParsedDocumentUpdated ( ) : void
return void

OnPathChanged() protected method

protected OnPathChanged ( PathEntry oldPath ) : void
oldPath MonoDevelop.Components.PathEntry
return void

OutlineSelectionChanged() protected method

protected OutlineSelectionChanged ( object selection ) : void
selection object
return void

RefillOutlineStore() protected method

protected RefillOutlineStore ( ParsedDocument doc, Gtk store ) : void
doc ParsedDocument
store Gtk
return void

SelectNode() public method

public SelectNode ( XNode n ) : void
n XNode
return void

SelectPath() public method

public SelectPath ( int depth ) : void
depth int
return void

SelectPathContents() public method

public SelectPathContents ( int depth ) : void
depth int
return void