C# 클래스 Alsing.Windows.Forms.SyntaxBox.EditViewControl

상속: Alsing.Windows.Forms.CoreLib.SplitViewChildControl
파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AutoListStartPos Alsing.SourceCode.TextPoint
InfoTipStartPos Alsing.SourceCode.TextPoint
Painter IPainter
View Alsing.Windows.Forms.SyntaxBox.Painter.ViewPoint

Private Properties

프로퍼티 타입 설명
AutoListDoubleClick void
BeginDragDrop void
CaretChanged void
CaretTimer_Tick void
CharType int
CopyText void
CreateAutoList void
CreateFindForm void
CreateInfoTip void
DeleteBackwards void
DeleteForward void
DoResize void
EditViewControl_Enter void
EditViewControl_Leave void
InitializeComponent void
InsertEnter void
InsertText void
IntelliMouse_BeginScroll void
IntelliMouse_EndScroll void
IntelliMouse_Scroll void
MoveCaretToNextWord void
MoveCaretToPrevWord void
OnCaretChange void
OnClipboardUpdated void
OnRowClick void
OnRowDoubleClick void
OnRowMouseDown void
OnRowMouseMove void
OnRowMouseUp void
OnSelectionChange void
OutdentEndRow void
PasteText void
Redraw void
RedrawCaret void
ScrollScreen void
SelectCurrentWord void
SelectPattern void
SelectionChanged void
SetFocus void
SetMouseCursor void
hScroll_Scroll void
vScroll_Scroll void

공개 메소드들

메소드 설명
AutoListBeginLoad ( ) : void
AutoListEndLoad ( ) : void
CalcMaxCharWidth ( ) : void
CharFromPixel ( int x, int y ) : TextPoint

Returns a point where x is the column and y is the row from a given pixel position.

ClearSelection ( ) : void

Clears the active selection.

Copy ( ) : void

Copies selected text to clipboard. (control + c)

Cut ( ) : void

Cuts selected text to clipboard. (control + x)

CutClear ( ) : void
Delete ( ) : void

Deletes selected text if possible otherwise deletes forward. (delete key)

EditViewControl ( SyntaxBoxControl Parent ) : System

Default constructor for the SyntaxBoxControl

FindNext ( ) : void
GotoLine ( int RowIndex ) : void

Places the caret on a specified line and scrolls the caret into view.

GotoNextBookmark ( ) : void

Moves the caret to the next line that has a bookmark.

GotoPreviousBookmark ( ) : void

Moves the caret to the previous line that has a bookmark.

InitGraphics ( ) : void
InitScrollbars ( ) : void
InitVars ( ) : void
InsertAutolistText ( ) : void
IsOverSelection ( int x, int y ) : bool

Returns if a specified pixel position is over the current selection.

OnChange ( ) : void
OnParse ( ) : void
Paste ( ) : void

Paste text from clipboard to current caret position. (control + v)

Redo ( ) : void

Redo last undo action. (control + y)

RemoveCurrentRow ( ) : void

Removes the current row

RemoveFocus ( ) : void
ReplaceSelection ( string text ) : bool
ScrollIntoView ( ) : void

Scrolls the caret into view.

ScrollIntoView ( TextPoint Pos ) : void

Scrolls a given position in the text into view.

ScrollIntoView ( int RowIndex ) : void
SelectAll ( ) : void

Selects all text in the active document. (control + a)

SelectNext ( string Pattern, bool MatchCase, bool WholeWords, bool UseRegEx ) : bool

Selects next occurance of the given pattern.

SetMaxHorizontalScroll ( ) : void
ShowFind ( ) : void
ShowGotoLine ( ) : void

Displays the GotoLine dialog.

ShowReplace ( ) : void
ShowSettings ( ) : void

-

ToggleBookmark ( ) : void

Toggles a bookmark on/off on the active row.

Undo ( ) : void

Undo last edit action. (control + z)

보호된 메소드들

메소드 설명
CopyAsRTF ( ) : void
Dispose ( bool disposing ) : void

IsInputChar ( char c ) : bool
IsInputKey ( Keys key ) : bool

For public use only

OnClick ( EventArgs e ) : void
OnDoubleClick ( EventArgs e ) : void

Overrides the default OnDoubleClick

OnDragDrop ( DragEventArgs drgevent ) : void

Overrides the default OnDragDrop

OnDragEnter ( DragEventArgs drgevent ) : void

Overrides the default OnDragEnter

OnDragLeave ( EventArgs e ) : void

Overrides the default OnDragLeave

OnDragOver ( DragEventArgs drgevent ) : void

Overrides the default OnDragOver

OnKeyDown ( KeyEventArgs e ) : void

Overrides the default OnKeyDown

OnKeyPress ( KeyPressEventArgs e ) : void

Overrides the default OnKeyPress

OnLoad ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void

Overrides the default OnMouseDown

OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void

Overrides the default OnMouseMove

OnMouseUp ( MouseEventArgs e ) : void

Overrides the default OnMouseUp

OnMouseWheel ( MouseEventArgs e ) : void

Overrides the default OnMouseWheel

OnPaint ( PaintEventArgs e ) : void

Overrides the default OnPaint

OnResize ( EventArgs e ) : void

Overrides the default OnResize

OnVisibleChanged ( EventArgs e ) : void
WndProc ( Message &m ) : void

비공개 메소드들

메소드 설명
AutoListDoubleClick ( object sender, EventArgs e ) : void
BeginDragDrop ( ) : void
CaretChanged ( object s, EventArgs e ) : void
CaretTimer_Tick ( object sender, EventArgs e ) : void
CharType ( string s ) : int
CopyText ( ) : void
CreateAutoList ( ) : void
CreateFindForm ( ) : void
CreateInfoTip ( ) : void
DeleteBackwards ( ) : void
DeleteForward ( ) : void
DoResize ( ) : void
EditViewControl_Enter ( object sender, EventArgs e ) : void
EditViewControl_Leave ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InsertEnter ( ) : void
InsertText ( string text ) : void
IntelliMouse_BeginScroll ( object sender, EventArgs e ) : void
IntelliMouse_EndScroll ( object sender, EventArgs e ) : void
IntelliMouse_Scroll ( object sender, IntelliMouse e ) : void
MoveCaretToNextWord ( bool Select ) : void
MoveCaretToPrevWord ( bool Select ) : void
OnCaretChange ( ) : void
OnClipboardUpdated ( CopyEventArgs e ) : void
OnRowClick ( RowMouseEventArgs e ) : void
OnRowDoubleClick ( RowMouseEventArgs e ) : void
OnRowMouseDown ( RowMouseEventArgs e ) : void
OnRowMouseMove ( RowMouseEventArgs e ) : void
OnRowMouseUp ( RowMouseEventArgs e ) : void
OnSelectionChange ( ) : void
OutdentEndRow ( ) : void
PasteText ( ) : void
Redraw ( ) : void
RedrawCaret ( ) : void
ScrollScreen ( int Amount ) : void
SelectCurrentWord ( ) : void
SelectPattern ( int RowIndex, int Column, int Length ) : void
SelectionChanged ( object s, EventArgs e ) : void
SetFocus ( ) : void
SetMouseCursor ( int x, int y ) : void
hScroll_Scroll ( object sender, ScrollEventArgs e ) : void
vScroll_Scroll ( object sender, ScrollEventArgs e ) : void

메소드 상세

AutoListBeginLoad() 공개 메소드

public AutoListBeginLoad ( ) : void
리턴 void

AutoListEndLoad() 공개 메소드

public AutoListEndLoad ( ) : void
리턴 void

CalcMaxCharWidth() 공개 메소드

public CalcMaxCharWidth ( ) : void
리턴 void

CharFromPixel() 공개 메소드

Returns a point where x is the column and y is the row from a given pixel position.
public CharFromPixel ( int x, int y ) : TextPoint
x int X Position in pixels
y int Y Position in pixels
리턴 Alsing.SourceCode.TextPoint

ClearSelection() 공개 메소드

Clears the active selection.
public ClearSelection ( ) : void
리턴 void

Copy() 공개 메소드

Copies selected text to clipboard. (control + c)
public Copy ( ) : void
리턴 void

CopyAsRTF() 보호된 메소드

protected CopyAsRTF ( ) : void
리턴 void

Cut() 공개 메소드

Cuts selected text to clipboard. (control + x)
public Cut ( ) : void
리턴 void

CutClear() 공개 메소드

public CutClear ( ) : void
리턴 void

Delete() 공개 메소드

Deletes selected text if possible otherwise deletes forward. (delete key)
public Delete ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EditViewControl() 공개 메소드

Default constructor for the SyntaxBoxControl
public EditViewControl ( SyntaxBoxControl Parent ) : System
Parent SyntaxBoxControl
리턴 System

FindNext() 공개 메소드

public FindNext ( ) : void
리턴 void

GotoLine() 공개 메소드

Places the caret on a specified line and scrolls the caret into view.
public GotoLine ( int RowIndex ) : void
RowIndex int the zero based index of the line to jump to
리턴 void

GotoNextBookmark() 공개 메소드

Moves the caret to the next line that has a bookmark.
public GotoNextBookmark ( ) : void
리턴 void

GotoPreviousBookmark() 공개 메소드

Moves the caret to the previous line that has a bookmark.
public GotoPreviousBookmark ( ) : void
리턴 void

InitGraphics() 공개 메소드

public InitGraphics ( ) : void
리턴 void

InitScrollbars() 공개 메소드

public InitScrollbars ( ) : void
리턴 void

InitVars() 공개 메소드

public InitVars ( ) : void
리턴 void

InsertAutolistText() 공개 메소드

public InsertAutolistText ( ) : void
리턴 void

IsInputChar() 보호된 메소드

protected IsInputChar ( char c ) : bool
c char
리턴 bool

IsInputKey() 보호된 메소드

For public use only
protected IsInputKey ( Keys key ) : bool
key Keys
리턴 bool

IsOverSelection() 공개 메소드

Returns if a specified pixel position is over the current selection.
public IsOverSelection ( int x, int y ) : bool
x int X Position in pixels
y int Y Position in pixels
리턴 bool

OnChange() 공개 메소드

public OnChange ( ) : void
리턴 void

OnClick() 보호된 메소드

protected OnClick ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnDoubleClick() 보호된 메소드

Overrides the default OnDoubleClick
protected OnDoubleClick ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnDragDrop() 보호된 메소드

Overrides the default OnDragDrop
protected OnDragDrop ( DragEventArgs drgevent ) : void
drgevent System.Windows.Forms.DragEventArgs
리턴 void

OnDragEnter() 보호된 메소드

Overrides the default OnDragEnter
protected OnDragEnter ( DragEventArgs drgevent ) : void
drgevent System.Windows.Forms.DragEventArgs
리턴 void

OnDragLeave() 보호된 메소드

Overrides the default OnDragLeave
protected OnDragLeave ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnDragOver() 보호된 메소드

Overrides the default OnDragOver
protected OnDragOver ( DragEventArgs drgevent ) : void
drgevent System.Windows.Forms.DragEventArgs
리턴 void

OnKeyDown() 보호된 메소드

Overrides the default OnKeyDown
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
리턴 void

OnKeyPress() 보호된 메소드

Overrides the default OnKeyPress
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
리턴 void

OnLoad() 보호된 메소드

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseDown() 보호된 메소드

Overrides the default OnMouseDown
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseLeave() 보호된 메소드

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseMove() 보호된 메소드

Overrides the default OnMouseMove
protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseUp() 보호된 메소드

Overrides the default OnMouseUp
protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseWheel() 보호된 메소드

Overrides the default OnMouseWheel
protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnPaint() 보호된 메소드

Overrides the default OnPaint
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnParse() 공개 메소드

public OnParse ( ) : void
리턴 void

OnResize() 보호된 메소드

Overrides the default OnResize
protected OnResize ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnVisibleChanged() 보호된 메소드

protected OnVisibleChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

Paste() 공개 메소드

Paste text from clipboard to current caret position. (control + v)
public Paste ( ) : void
리턴 void

Redo() 공개 메소드

Redo last undo action. (control + y)
public Redo ( ) : void
리턴 void

RemoveCurrentRow() 공개 메소드

Removes the current row
public RemoveCurrentRow ( ) : void
리턴 void

RemoveFocus() 공개 메소드

public RemoveFocus ( ) : void
리턴 void

ReplaceSelection() 공개 메소드

public ReplaceSelection ( string text ) : bool
text string
리턴 bool

ScrollIntoView() 공개 메소드

Scrolls the caret into view.
public ScrollIntoView ( ) : void
리턴 void

ScrollIntoView() 공개 메소드

Scrolls a given position in the text into view.
public ScrollIntoView ( TextPoint Pos ) : void
Pos Alsing.SourceCode.TextPoint Position in text
리턴 void

ScrollIntoView() 공개 메소드

public ScrollIntoView ( int RowIndex ) : void
RowIndex int
리턴 void

SelectAll() 공개 메소드

Selects all text in the active document. (control + a)
public SelectAll ( ) : void
리턴 void

SelectNext() 공개 메소드

Selects next occurance of the given pattern.
public SelectNext ( string Pattern, bool MatchCase, bool WholeWords, bool UseRegEx ) : bool
Pattern string Pattern to find
MatchCase bool Case sensitive
WholeWords bool Match whole words only
UseRegEx bool
리턴 bool

SetMaxHorizontalScroll() 공개 메소드

public SetMaxHorizontalScroll ( ) : void
리턴 void

ShowFind() 공개 메소드

public ShowFind ( ) : void
리턴 void

ShowGotoLine() 공개 메소드

Displays the GotoLine dialog.
public ShowGotoLine ( ) : void
리턴 void

ShowReplace() 공개 메소드

public ShowReplace ( ) : void
리턴 void

ShowSettings() 공개 메소드

-
public ShowSettings ( ) : void
리턴 void

ToggleBookmark() 공개 메소드

Toggles a bookmark on/off on the active row.
public ToggleBookmark ( ) : void
리턴 void

Undo() 공개 메소드

Undo last edit action. (control + z)
public Undo ( ) : void
리턴 void

WndProc() 보호된 메소드

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

프로퍼티 상세

AutoListStartPos 공개적으로 프로퍼티

The Point in the text where the Autolist was activated.
public TextPoint,Alsing.SourceCode AutoListStartPos
리턴 Alsing.SourceCode.TextPoint

InfoTipStartPos 공개적으로 프로퍼티

The Point in the text where the InfoTip was activated.
public TextPoint,Alsing.SourceCode InfoTipStartPos
리턴 Alsing.SourceCode.TextPoint

Painter 공개적으로 프로퍼티

public IPainter Painter
리턴 IPainter

View 공개적으로 프로퍼티

public ViewPoint,Alsing.Windows.Forms.SyntaxBox.Painter View
리턴 Alsing.Windows.Forms.SyntaxBox.Painter.ViewPoint