C# 클래스 Scintilla.ScintillaControl

파일 보기 프로젝트 열기: adventuregamestudio/ags 1 사용 예제들

공개 메소드들

메소드 설명
AutoCSetFillups ( string fillupKeys ) : void
CallTipSetForeHlt ( System.Color color ) : void
CallTipUseStyle ( int tabSize ) : void
ConvertEOLs ( EndOfLine eolMode ) : void

Convert all line endings in the document to one mode.

GetCharAt ( int position ) : int
GetLine ( int line ) : string

Retrieve the contents of a line. Returns the length of the line.

GetLineIndentation ( int line ) : int
GetLineIndentationPosition ( int line ) : int

Gets the caret position at the end of indentation on the specified line

GetStyleAt ( int position ) : int
InsideString ( bool charJustAdded, int position ) : bool
ScintillaControl ( ) : System
SetClassListHighlightedWords ( string keywords ) : void
SetFolding ( ) : void
SetIndentationGuides ( int flag ) : void
SetKeyWords ( string keywords ) : void
SetLexer ( Lexer lexer ) : void
SetLineIndentation ( int line, int indentation ) : void
SetMarginSensitivity ( int margin, int flag ) : void
SetMarginType ( int margin, MarginType marginType ) : void
SetMarginWidth ( int margin, int width ) : void
SetSelBack ( bool useSetting, Color back ) : void
SetSelFore ( bool useSetting, Color fore ) : void
SetStyle ( Scintilla style, Color fore, Color back, bool bold, bool italic, string font, int fontSize ) : void
StyleDialog ( SCNotification notify ) : void
StyleSetBack ( Scintilla syntaxType, Color value ) : void
StyleSetBold ( Scintilla syntaxType, bool bold ) : void
StyleSetFont ( int style, string font ) : void
StyleSetFontSize ( int style, int fontSize ) : void
StyleSetFore ( Scintilla syntaxType, Color value ) : void
previousWordFrom ( int from ) : string

보호된 메소드들

메소드 설명
DispatchScintillaEvent ( Scintilla.SCNotification notification ) : void
WndProc ( Message &m ) : void

비공개 메소드들

메소드 설명
SendMessageDirect ( uint msg, IntPtr wParam, IntPtr lParam ) : IntPtr

This is the primary Native communication method with Scintilla used by this control. All the other overloads call into this one.

SendMessageDirect ( uint msg ) : int

Handles Scintilla Call Style: (,)

SendMessageDirect ( uint msg, IntPtr wParam, string &text, int length ) : int

Handles Scintilla Call Style: (?) Notes: Helper method to wrap all calls to messages that take a char* in the wParam and set a regular .NET String in the lParam. Both the length of the string and an additional wParam are used so that various string Message styles can be acommodated.

SendMessageDirect ( uint msg, VOID NULL, int lParam ) : int

Handles Scintilla Call Style: (,int)

SendMessageDirect ( uint msg, VOID NULL, string lParam ) : int

Handles Scintilla Call Style: (,string) Notes: This helper method handles all messages that take const char* as an input string in the lParam. In some messages Scintilla expects a NULL terminated string and in others it depends on the string length passed in as wParam. This method handles both situations and will NULL terminate the string either way.

SendMessageDirect ( uint msg, bool wParam ) : int

Handles Scintilla Call Style: (bool,)

SendMessageDirect ( uint msg, bool wParam, int lParam ) : int

Handles Scintilla Call Style: (bool,int)

SendMessageDirect ( uint msg, int wParam ) : int

Handles Scintilla Call Style: (int,)

SendMessageDirect ( uint msg, int wParam, bool lParam ) : int

Handles Scintilla Call Style: (int,bool)

SendMessageDirect ( uint msg, int wParam, int lParam ) : int

Handles Scintilla Call Style: (int,int)

SendMessageDirect ( uint msg, int wParam, string &text ) : int

Handles Scintilla Call Style: (int,stringresult) Notes: Helper method to wrap all calls to messages that take a char* in the lParam and returns a regular .NET String. This overload assumes there will be no wParam and obtains the string length by calling the message with a 0 lParam.

SendMessageDirect ( uint msg, string &text ) : int

Handles Scintilla Call Style: (,stringresult) Notes: Helper method to wrap all calls to messages that take a char* in the lParam and returns a regular .NET String. This overload assumes there will be no wParam and obtains the string length by calling the message with a 0 lParam.

SendMessageDirect ( uint msg, string wParam, int lParam ) : int

Handles Scintilla Call Style: (string,int)

SendMessageDirect ( uint msg, string wParam, string lParam ) : int

Handles Scintilla Call Style: (string,string) Notes: Used by SCI_SETPROPERTY

Style ( int linenum, int end ) : void
StyleSetItalic ( Lexers style, bool italic ) : void
ZeroTerminated ( string param ) : String
isNumeric ( char token ) : bool
isOperator ( char token ) : bool

메소드 상세

AutoCSetFillups() 공개 메소드

public AutoCSetFillups ( string fillupKeys ) : void
fillupKeys string
리턴 void

CallTipSetForeHlt() 공개 메소드

public CallTipSetForeHlt ( System.Color color ) : void
color System.Color
리턴 void

CallTipUseStyle() 공개 메소드

public CallTipUseStyle ( int tabSize ) : void
tabSize int
리턴 void

ConvertEOLs() 공개 메소드

Convert all line endings in the document to one mode.
public ConvertEOLs ( EndOfLine eolMode ) : void
eolMode EndOfLine
리턴 void

DispatchScintillaEvent() 보호된 메소드

protected DispatchScintillaEvent ( Scintilla.SCNotification notification ) : void
notification Scintilla.SCNotification
리턴 void

GetCharAt() 공개 메소드

public GetCharAt ( int position ) : int
position int
리턴 int

GetLine() 공개 메소드

Retrieve the contents of a line. Returns the length of the line.
public GetLine ( int line ) : string
line int
리턴 string

GetLineIndentation() 공개 메소드

public GetLineIndentation ( int line ) : int
line int
리턴 int

GetLineIndentationPosition() 공개 메소드

Gets the caret position at the end of indentation on the specified line
public GetLineIndentationPosition ( int line ) : int
line int
리턴 int

GetStyleAt() 공개 메소드

public GetStyleAt ( int position ) : int
position int
리턴 int

InsideString() 공개 메소드

public InsideString ( bool charJustAdded, int position ) : bool
charJustAdded bool
position int
리턴 bool

ScintillaControl() 공개 메소드

public ScintillaControl ( ) : System
리턴 System

SetClassListHighlightedWords() 공개 메소드

public SetClassListHighlightedWords ( string keywords ) : void
keywords string
리턴 void

SetFolding() 공개 메소드

public SetFolding ( ) : void
리턴 void

SetIndentationGuides() 공개 메소드

public SetIndentationGuides ( int flag ) : void
flag int
리턴 void

SetKeyWords() 공개 메소드

public SetKeyWords ( string keywords ) : void
keywords string
리턴 void

SetLexer() 공개 메소드

public SetLexer ( Lexer lexer ) : void
lexer Lexer
리턴 void

SetLineIndentation() 공개 메소드

public SetLineIndentation ( int line, int indentation ) : void
line int
indentation int
리턴 void

SetMarginSensitivity() 공개 메소드

public SetMarginSensitivity ( int margin, int flag ) : void
margin int
flag int
리턴 void

SetMarginType() 공개 메소드

public SetMarginType ( int margin, MarginType marginType ) : void
margin int
marginType MarginType
리턴 void

SetMarginWidth() 공개 메소드

public SetMarginWidth ( int margin, int width ) : void
margin int
width int
리턴 void

SetSelBack() 공개 메소드

public SetSelBack ( bool useSetting, Color back ) : void
useSetting bool
back Color
리턴 void

SetSelFore() 공개 메소드

public SetSelFore ( bool useSetting, Color fore ) : void
useSetting bool
fore Color
리턴 void

SetStyle() 공개 메소드

public SetStyle ( Scintilla style, Color fore, Color back, bool bold, bool italic, string font, int fontSize ) : void
style Scintilla
fore Color
back Color
bold bool
italic bool
font string
fontSize int
리턴 void

StyleDialog() 공개 메소드

public StyleDialog ( SCNotification notify ) : void
notify SCNotification
리턴 void

StyleSetBack() 공개 메소드

public StyleSetBack ( Scintilla syntaxType, Color value ) : void
syntaxType Scintilla
value Color
리턴 void

StyleSetBold() 공개 메소드

public StyleSetBold ( Scintilla syntaxType, bool bold ) : void
syntaxType Scintilla
bold bool
리턴 void

StyleSetFont() 공개 메소드

public StyleSetFont ( int style, string font ) : void
style int
font string
리턴 void

StyleSetFontSize() 공개 메소드

public StyleSetFontSize ( int style, int fontSize ) : void
style int
fontSize int
리턴 void

StyleSetFore() 공개 메소드

public StyleSetFore ( Scintilla syntaxType, Color value ) : void
syntaxType Scintilla
value Color
리턴 void

WndProc() 보호된 메소드

protected WndProc ( Message &m ) : void
m Message
리턴 void

previousWordFrom() 공개 메소드

public previousWordFrom ( int from ) : string
from int
리턴 string