C# Class CodeMirrorLibrary.CodeMirror

ファイルを表示 Open project: OurSonic/OurSonicSharp

Public Methods

Method Description
AddLineClass ( CodeMirrorLine line, string where, string style ) : CodeMirrorLine
AddLineClass ( int lineIndex, string where, string style ) : CodeMirrorLine
ClearGutter ( string gutterID ) : void
ClearMarker ( int lineIndex ) : void
FromTextArea ( Element element, CodeMirrorOptions options ) : CodeMirror
GetCursor ( ) : CodeEditorCursor
GetTokenAt ( CodeEditorCursor cursor ) : CodeEditorToken
GetValue ( ) : string
IndexFromPos ( CodeEditorCursor cursor ) : int
LineCount ( ) : int
LineInfo ( int lineIndex ) : CodeMirrorLine
Refresh ( ) : void
RemoveLineClass ( CodeMirrorLine line, string where, string style ) : CodeMirrorLine
RemoveLineClass ( int lineIndex, string where, string style ) : CodeMirrorLine
SetCursor ( int lineNumber, int colNumber ) : void
SetGutterMarker ( int lineIndex, string gutterID, Element style ) : void
SetMarker ( int lineIndex, string element ) : void
SetOption ( string key, object value ) : void
SetValue ( string data ) : void

Method Details

AddLineClass() public method

public AddLineClass ( CodeMirrorLine line, string where, string style ) : CodeMirrorLine
line CodeMirrorLine
where string
style string
return CodeMirrorLine

AddLineClass() public method

public AddLineClass ( int lineIndex, string where, string style ) : CodeMirrorLine
lineIndex int
where string
style string
return CodeMirrorLine

ClearGutter() public method

public ClearGutter ( string gutterID ) : void
gutterID string
return void

ClearMarker() public method

public ClearMarker ( int lineIndex ) : void
lineIndex int
return void

FromTextArea() public static method

public static FromTextArea ( Element element, CodeMirrorOptions options ) : CodeMirror
element System.Html.Element
options CodeMirrorOptions
return CodeMirror

GetCursor() public method

public GetCursor ( ) : CodeEditorCursor
return CodeEditorCursor

GetTokenAt() public method

public GetTokenAt ( CodeEditorCursor cursor ) : CodeEditorToken
cursor CodeEditorCursor
return CodeEditorToken

GetValue() public method

public GetValue ( ) : string
return string

IndexFromPos() public method

public IndexFromPos ( CodeEditorCursor cursor ) : int
cursor CodeEditorCursor
return int

LineCount() public method

public LineCount ( ) : int
return int

LineInfo() public method

public LineInfo ( int lineIndex ) : CodeMirrorLine
lineIndex int
return CodeMirrorLine

Refresh() public method

public Refresh ( ) : void
return void

RemoveLineClass() public method

public RemoveLineClass ( CodeMirrorLine line, string where, string style ) : CodeMirrorLine
line CodeMirrorLine
where string
style string
return CodeMirrorLine

RemoveLineClass() public method

public RemoveLineClass ( int lineIndex, string where, string style ) : CodeMirrorLine
lineIndex int
where string
style string
return CodeMirrorLine

SetCursor() public method

public SetCursor ( int lineNumber, int colNumber ) : void
lineNumber int
colNumber int
return void

SetGutterMarker() public method

public SetGutterMarker ( int lineIndex, string gutterID, Element style ) : void
lineIndex int
gutterID string
style System.Html.Element
return void

SetMarker() public method

public SetMarker ( int lineIndex, string element ) : void
lineIndex int
element string
return void

SetOption() public method

public SetOption ( string key, object value ) : void
key string
value object
return void

SetValue() public method

public SetValue ( string data ) : void
data string
return void