C# Class Mono.TextEditor.Highlighting.SyntaxModeService

Afficher le fichier Open project: powerumc/monodevelop_korean Class Usage Examples

Méthodes publiques

Méthode Description
AddSemanticRule ( string mime, string ruleName, SemanticRule rule ) : void
AddStyle ( ColorScheme style ) : void
AddStyle ( IStreamProvider provider ) : void
AddSyntaxMode ( IStreamProvider provider ) : void
GetColorStyle ( string name ) : ColorScheme
GetFileName ( string name ) : string
GetProvider ( ColorScheme style ) : IStreamProvider
GetProvider ( Mono.TextEditor.Highlighting.SyntaxMode mode ) : IStreamProvider
GetSyntaxMode ( TextDocument doc, string mimeType ) : Mono.TextEditor.Highlighting.SyntaxMode
InstallSyntaxMode ( string mimeType, ISyntaxModeProvider modeProvider ) : void
IsValidSyntaxMode ( string fileName ) : bool
LoadStylesAndModes ( Assembly assembly ) : void
LoadStylesAndModes ( string path ) : void
Remove ( ColorScheme style ) : void
Remove ( Mono.TextEditor.Highlighting.SyntaxMode mode ) : void
RemoveStyle ( IStreamProvider provider ) : void
RemoveSyntaxMode ( IStreamProvider provider ) : void
ScanSpans ( TextDocument doc, Mono.TextEditor.Highlighting.SyntaxMode mode, Mono.TextEditor.Highlighting.Rule rule, CloneableStack spanStack, int start, int end ) : void
StartUpdate ( TextDocument doc, Mono.TextEditor.Highlighting.SyntaxMode mode, int startOffset, int endOffset ) : void
ValidateAllSyntaxModes ( ) : bool
ValidateStyleFile ( string fileName ) : List
WaitUpdate ( TextDocument doc ) : void

Private Methods

Méthode Description
LoadStyle ( string name ) : void
LoadSyntaxMode ( string mimeType ) : void
ProcessQueue ( ) : void
Scan ( Stream stream, string attribute ) : string
ScanStyle ( Stream stream ) : string
StartUpdateThread ( ) : void
SyntaxModeService ( ) : System

Method Details

AddSemanticRule() public static méthode

public static AddSemanticRule ( string mime, string ruleName, SemanticRule rule ) : void
mime string
ruleName string
rule SemanticRule
Résultat void

AddStyle() public static méthode

public static AddStyle ( ColorScheme style ) : void
style ColorScheme
Résultat void

AddStyle() public static méthode

public static AddStyle ( IStreamProvider provider ) : void
provider IStreamProvider
Résultat void

AddSyntaxMode() public static méthode

public static AddSyntaxMode ( IStreamProvider provider ) : void
provider IStreamProvider
Résultat void

GetColorStyle() public static méthode

public static GetColorStyle ( string name ) : ColorScheme
name string
Résultat ColorScheme

GetFileName() public static méthode

public static GetFileName ( string name ) : string
name string
Résultat string

GetProvider() public static méthode

public static GetProvider ( ColorScheme style ) : IStreamProvider
style ColorScheme
Résultat IStreamProvider

GetProvider() public static méthode

public static GetProvider ( Mono.TextEditor.Highlighting.SyntaxMode mode ) : IStreamProvider
mode Mono.TextEditor.Highlighting.SyntaxMode
Résultat IStreamProvider

GetSyntaxMode() public static méthode

public static GetSyntaxMode ( TextDocument doc, string mimeType ) : Mono.TextEditor.Highlighting.SyntaxMode
doc TextDocument
mimeType string
Résultat Mono.TextEditor.Highlighting.SyntaxMode

InstallSyntaxMode() public static méthode

public static InstallSyntaxMode ( string mimeType, ISyntaxModeProvider modeProvider ) : void
mimeType string
modeProvider ISyntaxModeProvider
Résultat void

IsValidSyntaxMode() public static méthode

public static IsValidSyntaxMode ( string fileName ) : bool
fileName string
Résultat bool

LoadStylesAndModes() public static méthode

public static LoadStylesAndModes ( Assembly assembly ) : void
assembly System.Reflection.Assembly
Résultat void

LoadStylesAndModes() public static méthode

public static LoadStylesAndModes ( string path ) : void
path string
Résultat void

Remove() public static méthode

public static Remove ( ColorScheme style ) : void
style ColorScheme
Résultat void

Remove() public static méthode

public static Remove ( Mono.TextEditor.Highlighting.SyntaxMode mode ) : void
mode Mono.TextEditor.Highlighting.SyntaxMode
Résultat void

RemoveStyle() public static méthode

public static RemoveStyle ( IStreamProvider provider ) : void
provider IStreamProvider
Résultat void

RemoveSyntaxMode() public static méthode

public static RemoveSyntaxMode ( IStreamProvider provider ) : void
provider IStreamProvider
Résultat void

ScanSpans() public static méthode

public static ScanSpans ( TextDocument doc, Mono.TextEditor.Highlighting.SyntaxMode mode, Mono.TextEditor.Highlighting.Rule rule, CloneableStack spanStack, int start, int end ) : void
doc TextDocument
mode Mono.TextEditor.Highlighting.SyntaxMode
rule Mono.TextEditor.Highlighting.Rule
spanStack CloneableStack
start int
end int
Résultat void

StartUpdate() public static méthode

public static StartUpdate ( TextDocument doc, Mono.TextEditor.Highlighting.SyntaxMode mode, int startOffset, int endOffset ) : void
doc TextDocument
mode Mono.TextEditor.Highlighting.SyntaxMode
startOffset int
endOffset int
Résultat void

ValidateAllSyntaxModes() public static méthode

public static ValidateAllSyntaxModes ( ) : bool
Résultat bool

ValidateStyleFile() public static méthode

public static ValidateStyleFile ( string fileName ) : List
fileName string
Résultat List

WaitUpdate() public static méthode

public static WaitUpdate ( TextDocument doc ) : void
doc TextDocument
Résultat void