C# Class MonoDevelop.Xml.Editor.BaseXmlEditorExtension

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

Méthodes publiques

Méthode Description
CodeCompletionCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : Task
CreatePathWidget ( int index ) : Control
Dispose ( ) : void
GetCompletionCommandOffset ( int &cpos, int &wlen ) : bool
HandleCodeCompletionAsync ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, char completionChar, CancellationToken token = default(CancellationToken) ) : Task
IsValidInContext ( DocumentContext context ) : bool
KeyPress ( KeyDescriptor descriptor ) : bool
SelectNode ( MonoDevelop.Xml.Dom.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 ( TextEditor buf, Mono.TextEditor.DocumentLocation currentLocation ) : ICompletionDataList
CreateRootState ( ) : MonoDevelop.Xml.Parser.XmlRootState
EditorSelect ( DocumentRegion region ) : void
GetAttributeCompletions ( IAttributedXObject attributedOb, string>.Dictionary existingAtts, CancellationToken token ) : Task
GetAttributeValueCompletions ( IAttributedXObject attributedOb, MonoDevelop.Xml.Dom.XAttribute att, CancellationToken token ) : Task
GetBufferText ( DocumentRegion region ) : string
GetCompleteName ( ) : XName
GetCurrentPath ( ) : List
GetDocTypeCompletions ( CancellationToken token ) : Task
GetElementCompletions ( CancellationToken token ) : Task
GetEntityCompletions ( CancellationToken token ) : Task
GetLineIndent ( int line ) : string
GetParentElement ( int skip ) : MonoDevelop.Xml.Dom.XElement
GetParentElementName ( int skip ) : XName
GetParentElementNames ( int skip ) : IEnumerable
HandleCodeCompletion ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, bool forced, CancellationToken token ) : Task
Initialize ( ) : void
InitializeOutlineColumns ( MonoDevelop outlineTree ) : void
OnDocTypeChanged ( ) : void
OnParsedDocumentUpdated ( ) : void
OnPathChanged ( PathEntry oldPath ) : void
OutlineSelectionChanged ( object selection ) : void
RefillOutlineStore ( ParsedDocument doc, TreeStore store ) : void

Private Methods

Méthode Description
AddCodeCommentCommand ( ) : void
BuildTreeChildren ( TreeStore store, Gtk.TreeIter parent, MonoDevelop.Xml.Dom.XContainer p ) : void
GetAttributeIndentDepth ( NodeStack nodes ) : int
GetElementIndentDepth ( NodeStack nodes ) : int
HandleCaretPositionChanged ( object sender, EventArgs e ) : void
HandleProjectChanged ( object sender, MonoDevelop.Projects.ProjectFileEventArgs e ) : void
IOutlinedDocument ( ) : IEnumerable
IOutlinedDocument ( ) : Gtk.Widget
IOutlinedDocument ( ) : void
IsInComment ( ) : bool
RefreshOutline ( ) : void
RemoveCodeCommentCommand ( ) : void
SelectPath ( int depth, bool contents ) : void
ToggleCodeCommentCommand ( ) : void
ToggleCodeCommentCommandInternal ( bool remove ) : void
ToggleCodeCommentCommandUpdate ( CommandInfo info ) : void
UpdateOwnerProjects ( ) : void
UpdateParsedDocument ( object sender, EventArgs args ) : void
UpdatePath ( ) : void
outlineTreeDataFunc ( Gtk.TreeViewColumn column, Gtk.CellRenderer cell, TreeModel model, Gtk.TreeIter 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 ( TextEditor buf, Mono.TextEditor.DocumentLocation currentLocation ) : ICompletionDataList
buf TextEditor
currentLocation Mono.TextEditor.DocumentLocation
Résultat ICompletionDataList

CodeCompletionCommand() public méthode

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

CreatePathWidget() public méthode

public CreatePathWidget ( int index ) : Control
index int
Résultat Control

CreateRootState() protected méthode

protected CreateRootState ( ) : MonoDevelop.Xml.Parser.XmlRootState
Résultat MonoDevelop.Xml.Parser.XmlRootState

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditorSelect() protected méthode

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

GetAttributeCompletions() protected méthode

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

GetAttributeValueCompletions() protected méthode

protected GetAttributeValueCompletions ( IAttributedXObject attributedOb, MonoDevelop.Xml.Dom.XAttribute att, CancellationToken token ) : Task
attributedOb IAttributedXObject
att MonoDevelop.Xml.Dom.XAttribute
token CancellationToken
Résultat Task

GetBufferText() protected méthode

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

GetCompleteName() protected méthode

protected GetCompleteName ( ) : XName
Résultat XName

GetCompletionCommandOffset() public méthode

public GetCompletionCommandOffset ( int &cpos, int &wlen ) : bool
cpos int
wlen int
Résultat bool

GetCurrentPath() protected méthode

protected GetCurrentPath ( ) : List
Résultat List

GetDocTypeCompletions() protected méthode

protected GetDocTypeCompletions ( CancellationToken token ) : Task
token CancellationToken
Résultat Task

GetElementCompletions() protected méthode

protected GetElementCompletions ( CancellationToken token ) : Task
token CancellationToken
Résultat Task

GetEntityCompletions() protected méthode

protected GetEntityCompletions ( CancellationToken token ) : Task
token CancellationToken
Résultat Task

GetLineIndent() protected méthode

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

GetParentElement() protected méthode

protected GetParentElement ( int skip ) : MonoDevelop.Xml.Dom.XElement
skip int
Résultat MonoDevelop.Xml.Dom.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, CancellationToken token ) : Task
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
forced bool
token CancellationToken
Résultat Task

HandleCodeCompletionAsync() public méthode

public HandleCodeCompletionAsync ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, char completionChar, CancellationToken token = default(CancellationToken) ) : Task
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
completionChar char
token CancellationToken
Résultat Task

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

InitializeOutlineColumns() protected méthode

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

IsValidInContext() public méthode

public IsValidInContext ( DocumentContext context ) : bool
context DocumentContext
Résultat bool

KeyPress() public méthode

public KeyPress ( KeyDescriptor descriptor ) : bool
descriptor KeyDescriptor
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, TreeStore store ) : void
doc ParsedDocument
store Gtk.TreeStore
Résultat void

SelectNode() public méthode

public SelectNode ( MonoDevelop.Xml.Dom.XNode n ) : void
n MonoDevelop.Xml.Dom.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