C# Class Mono.TextEditor.Highlighting.SyntaxModeService

Mostra file Open project: powerumc/monodevelop_korean Class Usage Examples

Public Methods

Method 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

Method 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 method

public static AddSemanticRule ( string mime, string ruleName, SemanticRule rule ) : void
mime string
ruleName string
rule SemanticRule
return void

AddStyle() public static method

public static AddStyle ( ColorScheme style ) : void
style ColorScheme
return void

AddStyle() public static method

public static AddStyle ( IStreamProvider provider ) : void
provider IStreamProvider
return void

AddSyntaxMode() public static method

public static AddSyntaxMode ( IStreamProvider provider ) : void
provider IStreamProvider
return void

GetColorStyle() public static method

public static GetColorStyle ( string name ) : ColorScheme
name string
return ColorScheme

GetFileName() public static method

public static GetFileName ( string name ) : string
name string
return string

GetProvider() public static method

public static GetProvider ( ColorScheme style ) : IStreamProvider
style ColorScheme
return IStreamProvider

GetProvider() public static method

public static GetProvider ( Mono.TextEditor.Highlighting.SyntaxMode mode ) : IStreamProvider
mode Mono.TextEditor.Highlighting.SyntaxMode
return IStreamProvider

GetSyntaxMode() public static method

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

InstallSyntaxMode() public static method

public static InstallSyntaxMode ( string mimeType, ISyntaxModeProvider modeProvider ) : void
mimeType string
modeProvider ISyntaxModeProvider
return void

IsValidSyntaxMode() public static method

public static IsValidSyntaxMode ( string fileName ) : bool
fileName string
return bool

LoadStylesAndModes() public static method

public static LoadStylesAndModes ( Assembly assembly ) : void
assembly System.Reflection.Assembly
return void

LoadStylesAndModes() public static method

public static LoadStylesAndModes ( string path ) : void
path string
return void

Remove() public static method

public static Remove ( ColorScheme style ) : void
style ColorScheme
return void

Remove() public static method

public static Remove ( Mono.TextEditor.Highlighting.SyntaxMode mode ) : void
mode Mono.TextEditor.Highlighting.SyntaxMode
return void

RemoveStyle() public static method

public static RemoveStyle ( IStreamProvider provider ) : void
provider IStreamProvider
return void

RemoveSyntaxMode() public static method

public static RemoveSyntaxMode ( IStreamProvider provider ) : void
provider IStreamProvider
return void

ScanSpans() public static method

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
return void

StartUpdate() public static method

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
return void

ValidateAllSyntaxModes() public static method

public static ValidateAllSyntaxModes ( ) : bool
return bool

ValidateStyleFile() public static method

public static ValidateStyleFile ( string fileName ) : List
fileName string
return List

WaitUpdate() public static method

public static WaitUpdate ( TextDocument doc ) : void
doc TextDocument
return void