C# Класс MonoDevelop.Xml.Editor.BaseXmlEditorExtension

Наследование: MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension, IPathedDocument, IOutlinedDocument
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddCloseTag() защищенный статический Метод

protected static AddCloseTag ( CompletionDataList completionList, NodeStack stack ) : void
completionList CompletionDataList
stack NodeStack
Результат void

AddMiscBeginTags() защищенный статический Метод

Adds CDATA and comment begin tags.
protected static AddMiscBeginTags ( CompletionDataList list ) : void
list CompletionDataList
Результат void

ClosingTagCompletion() защищенный Метод

protected ClosingTagCompletion ( TextEditor buf, Mono.TextEditor.DocumentLocation currentLocation ) : ICompletionDataList
buf TextEditor
currentLocation Mono.TextEditor.DocumentLocation
Результат ICompletionDataList

CodeCompletionCommand() публичный Метод

public CodeCompletionCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : Task
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
Результат Task

CreatePathWidget() публичный Метод

public CreatePathWidget ( int index ) : Control
index int
Результат Control

CreateRootState() защищенный Метод

protected CreateRootState ( ) : MonoDevelop.Xml.Parser.XmlRootState
Результат MonoDevelop.Xml.Parser.XmlRootState

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

EditorSelect() защищенный Метод

protected EditorSelect ( DocumentRegion region ) : void
region DocumentRegion
Результат void

GetAttributeCompletions() защищенный Метод

protected GetAttributeCompletions ( IAttributedXObject attributedOb, string>.Dictionary existingAtts, CancellationToken token ) : Task
attributedOb IAttributedXObject
existingAtts string>.Dictionary
token CancellationToken
Результат Task

GetAttributeValueCompletions() защищенный Метод

protected GetAttributeValueCompletions ( IAttributedXObject attributedOb, MonoDevelop.Xml.Dom.XAttribute att, CancellationToken token ) : Task
attributedOb IAttributedXObject
att MonoDevelop.Xml.Dom.XAttribute
token CancellationToken
Результат Task

GetBufferText() защищенный Метод

protected GetBufferText ( DocumentRegion region ) : string
region DocumentRegion
Результат string

GetCompleteName() защищенный Метод

protected GetCompleteName ( ) : XName
Результат XName

GetCompletionCommandOffset() публичный Метод

public GetCompletionCommandOffset ( int &cpos, int &wlen ) : bool
cpos int
wlen int
Результат bool

GetCurrentPath() защищенный Метод

protected GetCurrentPath ( ) : List
Результат List

GetDocTypeCompletions() защищенный Метод

protected GetDocTypeCompletions ( CancellationToken token ) : Task
token CancellationToken
Результат Task

GetElementCompletions() защищенный Метод

protected GetElementCompletions ( CancellationToken token ) : Task
token CancellationToken
Результат Task

GetEntityCompletions() защищенный Метод

protected GetEntityCompletions ( CancellationToken token ) : Task
token CancellationToken
Результат Task

GetLineIndent() защищенный Метод

protected GetLineIndent ( int line ) : string
line int
Результат string

GetParentElement() защищенный Метод

protected GetParentElement ( int skip ) : MonoDevelop.Xml.Dom.XElement
skip int
Результат MonoDevelop.Xml.Dom.XElement

GetParentElementName() защищенный Метод

protected GetParentElementName ( int skip ) : XName
skip int
Результат XName

GetParentElementNames() защищенный Метод

protected GetParentElementNames ( int skip ) : IEnumerable
skip int
Результат IEnumerable

HandleCodeCompletion() защищенный Метод

protected HandleCodeCompletion ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, bool forced, CancellationToken token ) : Task
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
forced bool
token CancellationToken
Результат Task

HandleCodeCompletionAsync() публичный Метод

public HandleCodeCompletionAsync ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, char completionChar, CancellationToken token = default(CancellationToken) ) : Task
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
completionChar char
token CancellationToken
Результат Task

Initialize() защищенный Метод

protected Initialize ( ) : void
Результат void

InitializeOutlineColumns() защищенный Метод

protected InitializeOutlineColumns ( MonoDevelop outlineTree ) : void
outlineTree MonoDevelop
Результат void

IsValidInContext() публичный Метод

public IsValidInContext ( DocumentContext context ) : bool
context DocumentContext
Результат bool

KeyPress() публичный Метод

public KeyPress ( KeyDescriptor descriptor ) : bool
descriptor KeyDescriptor
Результат bool

OnDocTypeChanged() защищенный Метод

protected OnDocTypeChanged ( ) : void
Результат void

OnParsedDocumentUpdated() защищенный Метод

protected OnParsedDocumentUpdated ( ) : void
Результат void

OnPathChanged() защищенный Метод

protected OnPathChanged ( PathEntry oldPath ) : void
oldPath MonoDevelop.Components.PathEntry
Результат void

OutlineSelectionChanged() защищенный Метод

protected OutlineSelectionChanged ( object selection ) : void
selection object
Результат void

RefillOutlineStore() защищенный Метод

protected RefillOutlineStore ( ParsedDocument doc, TreeStore store ) : void
doc ParsedDocument
store Gtk.TreeStore
Результат void

SelectNode() публичный Метод

public SelectNode ( MonoDevelop.Xml.Dom.XNode n ) : void
n MonoDevelop.Xml.Dom.XNode
Результат void

SelectPath() публичный Метод

public SelectPath ( int depth ) : void
depth int
Результат void

SelectPathContents() публичный Метод

public SelectPathContents ( int depth ) : void
depth int
Результат void