C# Class MonoDevelop.XmlEditor.Gui.BaseXmlEditorExtension

Inheritance: MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension, IPathedDocument, IOutlinedDocument
Afficher le fichier Open project: LogosBible/monodevelop Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

protected static AddCloseTag ( CompletionDataList completionList, NodeStack stack ) : void
completionList CompletionDataList
stack NodeStack
Résultat void

AddMiscBeginTags() protected static méthode

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

ClosingTagCompletion() protected méthode

protected ClosingTagCompletion ( IEditableTextBuffer buf, TextLocation currentLocation ) : ICompletionDataList
buf IEditableTextBuffer
currentLocation TextLocation
Résultat ICompletionDataList

CodeCompletionCommand() public méthode

public CodeCompletionCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : ICompletionDataList
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
Résultat ICompletionDataList

CreatePathWidget() public méthode

public CreatePathWidget ( int index ) : Gtk.Widget
index int
Résultat Gtk.Widget

CreateRootState() protected méthode

protected CreateRootState ( ) : MonoDevelop.Xml.StateEngine.RootState
Résultat MonoDevelop.Xml.StateEngine.RootState

CursorPositionChanged() public méthode

public CursorPositionChanged ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditorSelect() protected méthode

protected EditorSelect ( DomRegion region ) : void
region DomRegion
Résultat void

GetAttributeCompletions() protected méthode

protected GetAttributeCompletions ( IAttributedXObject attributedOb, string>.Dictionary existingAtts ) : CompletionDataList
attributedOb IAttributedXObject
existingAtts string>.Dictionary
Résultat CompletionDataList

GetAttributeValueCompletions() protected méthode

protected GetAttributeValueCompletions ( IAttributedXObject attributedOb, XAttribute att ) : CompletionDataList
attributedOb IAttributedXObject
att XAttribute
Résultat CompletionDataList

GetBufferText() protected méthode

protected GetBufferText ( DomRegion region ) : string
region DomRegion
Résultat string

GetCompleteName() protected méthode

protected GetCompleteName ( ) : XName
Résultat XName

GetCurrentPath() protected méthode

protected GetCurrentPath ( ) : List
Résultat List

GetDocTypeCompletions() protected méthode

protected GetDocTypeCompletions ( ) : CompletionDataList
Résultat CompletionDataList

GetElementCompletions() protected méthode

protected GetElementCompletions ( CompletionDataList list ) : void
list CompletionDataList
Résultat void

GetEntityCompletions() protected méthode

protected GetEntityCompletions ( CompletionDataList list ) : void
list CompletionDataList
Résultat void

GetLineIndent() protected méthode

protected GetLineIndent ( int line ) : string
line int
Résultat string

GetParentElement() protected méthode

protected GetParentElement ( int skip ) : XElement
skip int
Résultat XElement

GetParentElementName() protected méthode

protected GetParentElementName ( int skip ) : XName
skip int
Résultat XName

GetParentElementNames() protected méthode

protected GetParentElementNames ( int skip ) : IEnumerable
skip int
Résultat IEnumerable

HandleCodeCompletion() protected méthode

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

HandleCodeCompletion() public méthode

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

Initialize() public méthode

public Initialize ( ) : void
Résultat void

InitializeOutlineColumns() protected méthode

protected InitializeOutlineColumns ( MonoDevelop outlineTree ) : void
outlineTree MonoDevelop
Résultat void

KeyPress() public méthode

public KeyPress ( Gdk key, char keyChar, Gdk modifier ) : bool
key Gdk
keyChar char
modifier Gdk
Résultat bool

OnDocTypeChanged() protected méthode

protected OnDocTypeChanged ( ) : void
Résultat void

OnParsedDocumentUpdated() protected méthode

protected OnParsedDocumentUpdated ( ) : void
Résultat void

OnPathChanged() protected méthode

protected OnPathChanged ( PathEntry oldPath ) : void
oldPath MonoDevelop.Components.PathEntry
Résultat void

OutlineSelectionChanged() protected méthode

protected OutlineSelectionChanged ( object selection ) : void
selection object
Résultat void

RefillOutlineStore() protected méthode

protected RefillOutlineStore ( ParsedDocument doc, Gtk store ) : void
doc ParsedDocument
store Gtk
Résultat void

SelectNode() public méthode

public SelectNode ( XNode n ) : void
n XNode
Résultat void

SelectPath() public méthode

public SelectPath ( int depth ) : void
depth int
Résultat void

SelectPathContents() public méthode

public SelectPathContents ( int depth ) : void
depth int
Résultat void