T3000 CrossPlatform Documentation
FastColoredTextBox Methods |
[This is preliminary documentation and is subject to change.]
The FastColoredTextBox type exposes the following members.
Methods
Name | Description | |
---|---|---|
AccessibilityNotifyClients(AccessibleEvents, Int32) | (Inherited from Control.) | |
AccessibilityNotifyClients(AccessibleEvents, Int32, Int32) | (Inherited from Control.) | |
AddHint(Range, String) |
Add and shows simple text hint
| |
AddHint(Range, Control) |
Add and shows the hint
| |
AddHint(Range, String, Boolean, Boolean, Boolean) |
Add and shows simple text hint
| |
AddHint(Range, Control, Boolean, Boolean, Boolean) |
Add and shows the hint
| |
AddStyle |
Add new style
| |
AddVisualMarker | ||
AdjustFolding |
Collapse folding blocks using FoldedBlocks dictionary.
| |
AdjustFormScrollbars | (Inherited from ContainerControl.) | |
AppendText(String) |
Append string to end of the Text
| |
AppendText(String, Style) |
Append string to end of the Text
| |
BeginAutoUndo |
Begins AutoUndo block.
All changes of text between BeginAutoUndo() and EndAutoUndo() will be canceled in one operation Undo.
| |
BeginInvoke(Delegate) | (Inherited from Control.) | |
BeginInvoke(Delegate, Object) | (Inherited from Control.) | |
BeginUpdate |
Call this method before multiple text changing
| |
BookmarkLine |
Bookmarks line
| |
BringToFront | (Inherited from Control.) | |
CalcAutoIndent |
Returns needed start space count for the line
| |
CalcCutOffs |
Calculates wordwrap cutoffs
| |
ChangeFontSize | ||
CheckAndChangeSelectionType | ||
CheckStylesBufferSize |
Checks if the styles buffer has enough space to add one
more element. If not, an exception is thrown. Otherwise,
the index of a free slot is returned.
| |
Clear |
Clear text, styles, history, caches
| |
ClearCurrentLine |
Deletes current line(s)
| |
ClearHints |
Removes all hints
| |
ClearSelected |
Deletes selected chars
| |
ClearStyle |
Clear style of all text
| |
ClearStylesBuffer |
Clear buffer of styles
| |
ClearUndo |
Clears undo and redo stacks
| |
CloseBindingFile |
Close file binding mode
| |
CollapseAllFoldingBlocks |
Collapses all folding blocks
| |
CollapseBlock |
Collapse text block
| |
CollapseFoldingBlock |
Collapses folding block
| |
CommentSelected |
Insert/remove comment prefix into selected lines
| |
CommentSelected(String) |
Insert/remove comment prefix into selected lines
| |
Contains | (Inherited from Control.) | |
Copy |
Copy selected text into Clipboard
| |
CreateAccessibilityInstance | (Inherited from Control.) | |
CreateControl | (Inherited from Control.) | |
CreateControlsInstance | (Inherited from Control.) | |
CreateGraphics | (Inherited from Control.) | |
CreateHandle | (Inherited from Control.) | |
CreateObjRef | (Inherited from MarshalByRefObject.) | |
CreateTextSource | ||
Cut |
Cut selected text into Clipboard
| |
DecreaseIndent |
Remove TAB from front of seletcted lines.
| |
DecreaseIndentOfSingleLine |
Remove TAB in front of the caret ot the selected line.
| |
DefWndProc | (Inherited from Control.) | |
DestroyHandle | (Inherited from Control.) | |
Dispose | (Inherited from Component.) | |
Dispose(Boolean) | (Overrides ContainerControlDispose(Boolean).) | |
DoAutoIndent |
Insert autoindents into selected lines
| |
DoAutoIndent(Int32) |
Inserts autoindent's spaces in the line
| |
DoAutoIndentChars(Int32) |
Do AutoIndentChars
| |
DoAutoIndentChars(Int32, Regex) | ||
DoAutoIndentIfNeed | ||
DoCaretVisible |
Scroll control for display caret
| |
DoDragDrop(Object, DragDropEffects) | (Inherited from Control.) | |
DoDragDrop(Place, String) | ||
DoRangeVisible(Range) |
Scroll control for display given range
| |
DoRangeVisible(Range, Boolean) |
Scroll control for display given range
| |
DoSelectionVisible |
Scroll control for display selection area
| |
DrawFoldingLines | ||
DrawText |
Draws text to given Graphics
| |
DrawToBitmap | (Inherited from Control.) | |
EndAutoUndo |
Ends AutoUndo block.
All changes of text between BeginAutoUndo() and EndAutoUndo() will be canceled in one operation Undo.
| |
EndInvoke | (Inherited from Control.) | |
EndUpdate |
Call this method after multiple text changing
| |
Equals | (Inherited from Object.) | |
ExpandAllFoldingBlocks |
Exapnds all folded blocks
| |
ExpandBlock(Int32) |
Expand collapsed block
| |
ExpandBlock(Int32, Int32) |
Expand collapsed block
| |
ExpandFoldedBlock |
Exapnds folded block
| |
Finalize | (Inherited from Component.) | |
FindChar |
Finds given char after current caret position, moves the caret to found pos.
| |
FindEndOfFoldingBlock | ||
FindForm | (Inherited from Control.) | |
FindLines |
Search lines by regex pattern
| |
Focus | (Inherited from Control.) | |
GetAccessibilityObjectById | (Inherited from Control.) | |
GetAutoSizeMode | (Inherited from Control.) | |
GetBracketsRange |
Returns range between brackets (or null if not found)
| |
GetCharSize | ||
GetChildAtPoint(Point) | (Inherited from Control.) | |
GetChildAtPoint(Point, GetChildAtPointSkip) | (Inherited from Control.) | |
GetContainerControl | (Inherited from Control.) | |
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | (Inherited from MarshalByRefObject.) | |
GetLine |
Get range of line
| |
GetLineFoldingEndMarker |
End foilding marker for the line
| |
GetLineFoldingStartMarker |
Start foilding marker for the line
| |
GetLineLength |
Gets length of given line
| |
GetLineText |
Get text of given line
| |
GetMaxStartSpacesCount | ||
GetMinStartSpacesCount | ||
GetNextControl | (Inherited from Control.) | |
GetPreferredSize | (Inherited from Control.) | |
GetRange(Int32, Int32) |
Get range of text
| |
GetRange(Place, Place) |
Get range of text
| |
GetRanges(String) |
Finds ranges for given regex pattern
| |
GetRanges(String, RegexOptions) |
Finds ranges for given regex pattern
| |
GetScaledBounds | (Inherited from Control.) | |
GetScrollState | (Inherited from ScrollableControl.) | |
GetService | (Inherited from Component.) | |
GetStyle | (Inherited from Control.) | |
GetStyleIndex |
Returns index of the style in Styles
-1 otherwise
| |
GetStyleIndexMask |
Returns StyleIndex mask of given styles
| |
GetStylesOfChar |
Returns list of styles of given place
| |
GetTopLevel | (Inherited from Control.) | |
GetType | (Inherited from Object.) | |
GetVisibleState |
Returns VisibleState of the line
| |
GoEnd |
Move caret to end of text
| |
GoHome |
Move caret to first position
| |
GotoNextBookmark |
Scrolls to nearest bookmark or to first bookmark
| |
GotoPrevBookmark |
Scrolls to nearest previous bookmark or to last bookmark
| |
Hide | (Inherited from Control.) | |
IncreaseIndent |
Insert TAB into front of seletcted lines.
| |
InitializeLifetimeService | (Inherited from MarshalByRefObject.) | |
InitLayout | (Inherited from Control.) | |
InitTextSource | ||
InsertChar | ||
InsertLinePrefix |
Insert prefix into front of seletcted lines
| |
InsertText(String) |
Insert text into current selected position
| |
InsertText(String, Style) |
Insert text into current selection position (with predefined style)
| |
InsertText(String, Boolean) |
Insert text into current selected position
| |
InsertText(String, Style, Boolean) |
Insert text into current selection position (with predefined style)
| |
InsertTextAndRestoreSelection |
Insert text into replaceRange and restore previous selection
| |
Invalidate |
Invalidates the entire surface of the control and causes the control to be redrawn.
This method is thread safe and does not require Invoke.
| |
Invalidate(Region) | (Inherited from Control.) | |
Invalidate(Boolean) | (Inherited from Control.) | |
Invalidate(Rectangle) | (Inherited from Control.) | |
Invalidate(Region, Boolean) | (Inherited from Control.) | |
Invalidate(Rectangle, Boolean) | (Inherited from Control.) | |
Invoke(Delegate) | (Inherited from Control.) | |
Invoke(Delegate, Object) | (Inherited from Control.) | |
InvokeGotFocus | (Inherited from Control.) | |
InvokeLostFocus | (Inherited from Control.) | |
InvokeOnClick | (Inherited from Control.) | |
InvokePaint | (Inherited from Control.) | |
InvokePaintBackground | (Inherited from Control.) | |
IsCJKLetter | ||
IsInputChar | (Inherited from Control.) | |
IsInputKey | (Overrides ControlIsInputKey(Keys).) | |
LowerCase |
Convert selected text to lower case
| |
MemberwiseClone | (Inherited from Object.) | |
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) | |
MoveSelectedLinesDown |
Moves selected lines down
| |
MoveSelectedLinesUp |
Moves selected lines up
| |
Navigate |
Navigates to defined line, without Line.LastVisit reseting
| |
NavigateBackward |
Navigates backward (by Line.LastVisit property)
| |
NavigateForward |
Navigates forward (by Line.LastVisit property)
| |
NeedRecalc |
Call this method if the recalc of the position of lines is needed.
| |
NeedRecalc(Boolean) |
Call this method if the recalc of the position of lines is needed.
| |
NeedRecalc(Boolean, Boolean) |
Call this method if the recalc of the position of lines is needed.
| |
NotifyInvalidate | (Inherited from Control.) | |
OnAutoSizeChanged | (Inherited from Control.) | |
OnAutoValidateChanged | (Inherited from ContainerControl.) | |
OnBackColorChanged | (Inherited from Control.) | |
OnBackgroundImageChanged | (Inherited from Control.) | |
OnBackgroundImageLayoutChanged | (Inherited from Control.) | |
OnBindingContextChanged | (Inherited from Control.) | |
OnCausesValidationChanged | (Inherited from Control.) | |
OnChangeUICues | (Inherited from Control.) | |
OnCharSizeChanged | ||
OnClick | (Inherited from Control.) | |
OnClientSizeChanged | (Overrides ControlOnClientSizeChanged(EventArgs).) | |
OnContextMenuChanged | (Inherited from Control.) | |
OnContextMenuStripChanged | (Inherited from Control.) | |
OnControlAdded | (Inherited from Control.) | |
OnControlRemoved | (Inherited from Control.) | |
OnCreateClipboardData | ||
OnCreateControl | (Inherited from UserControl.) | |
OnCursorChanged | (Inherited from Control.) | |
OnCustomAction | ||
OnDockChanged | (Inherited from Control.) | |
OnDoubleClick | (Inherited from Control.) | |
OnDragDrop | (Overrides ControlOnDragDrop(DragEventArgs).) | |
OnDragEnter | (Overrides ControlOnDragEnter(DragEventArgs).) | |
OnDragLeave | (Overrides ControlOnDragLeave(EventArgs).) | |
OnDragOver | (Overrides ControlOnDragOver(DragEventArgs).) | |
OnEnabledChanged | (Inherited from Control.) | |
OnEnter | (Overrides ControlOnEnter(EventArgs).) | |
OnFoldingHighlightChanged | ||
OnFontChanged | (Inherited from ContainerControl.) | |
OnForeColorChanged | (Inherited from Control.) | |
OnGiveFeedback | (Inherited from Control.) | |
OnGotFocus | (Overrides ControlOnGotFocus(EventArgs).) | |
OnHandleCreated | (Overrides ControlOnHandleCreated(EventArgs).) | |
OnHandleDestroyed | (Inherited from Control.) | |
OnHelpRequested | (Inherited from Control.) | |
OnHintClick |
Occurs when user click on the hint
| |
OnImeModeChanged | (Inherited from Control.) | |
OnInvalidated | (Inherited from Control.) | |
OnKeyDown | (Overrides ControlOnKeyDown(KeyEventArgs).) | |
OnKeyPress | (Inherited from Control.) | |
OnKeyPressed | ||
OnKeyPressing | ||
OnKeyUp | (Overrides ControlOnKeyUp(KeyEventArgs).) | |
OnLayout | (Inherited from ContainerControl.) | |
OnLeave | (Inherited from Control.) | |
OnLoad | (Overrides UserControlOnLoad(EventArgs).) | |
OnLocationChanged | (Inherited from Control.) | |
OnLostFocus | (Overrides ControlOnLostFocus(EventArgs).) | |
OnMarginChanged | (Inherited from Control.) | |
OnMarkerClick | ||
OnMarkerDoubleClick | ||
OnMouseCaptureChanged | (Inherited from Control.) | |
OnMouseClick | (Inherited from Control.) | |
OnMouseDoubleClick | (Overrides ControlOnMouseDoubleClick(MouseEventArgs).) | |
OnMouseDown | (Overrides UserControlOnMouseDown(MouseEventArgs).) | |
OnMouseEnter | (Inherited from Control.) | |
OnMouseHover | (Inherited from Control.) | |
OnMouseLeave | (Overrides ControlOnMouseLeave(EventArgs).) | |
OnMouseMove | (Overrides ControlOnMouseMove(MouseEventArgs).) | |
OnMouseUp | (Overrides ControlOnMouseUp(MouseEventArgs).) | |
OnMouseWheel | (Overrides ScrollableControlOnMouseWheel(MouseEventArgs).) | |
OnMove | (Inherited from Control.) | |
OnNotifyMessage | (Inherited from Control.) | |
OnPaddingChanged | (Inherited from ScrollableControl.) | |
OnPaint |
Draw control
(Overrides ControlOnPaint(PaintEventArgs).) | |
OnPaintBackground | (Overrides ScrollableControlOnPaintBackground(PaintEventArgs).) | |
OnPaintLine | ||
OnParentBackColorChanged | (Inherited from Control.) | |
OnParentBackgroundImageChanged | (Inherited from Control.) | |
OnParentBindingContextChanged | (Inherited from Control.) | |
OnParentChanged | (Inherited from ContainerControl.) | |
OnParentCursorChanged | (Inherited from Control.) | |
OnParentEnabledChanged | (Inherited from Control.) | |
OnParentFontChanged | (Inherited from Control.) | |
OnParentForeColorChanged | (Inherited from Control.) | |
OnParentRightToLeftChanged | (Inherited from Control.) | |
OnParentVisibleChanged | (Inherited from Control.) | |
OnPreviewKeyDown | (Inherited from Control.) | |
OnPrint | (Inherited from Control.) | |
OnQueryContinueDrag | (Inherited from Control.) | |
OnRegionChanged | (Inherited from Control.) | |
OnResize | (Inherited from UserControl.) | |
OnRightToLeftChanged | (Inherited from ScrollableControl.) | |
OnScroll(ScrollEventArgs) | (Overrides ScrollableControlOnScroll(ScrollEventArgs).) | |
OnScroll(ScrollEventArgs, Boolean) | ||
OnScrollbarsUpdated | ||
OnSelectionChanged |
Fires SelectionChanged event
| |
OnSelectionChangedDelayed | ||
OnSizeChanged | (Inherited from Control.) | |
OnStyleChanged | (Inherited from Control.) | |
OnSyntaxHighlight | ||
OnSystemColorsChanged | (Inherited from Control.) | |
OnTabIndexChanged | (Inherited from Control.) | |
OnTabStopChanged | (Inherited from Control.) | |
OnTextChanged |
Fires TextChanged event
| |
OnTextChanged(EventArgs) | (Inherited from Control.) | |
OnTextChanged(Range) |
Fires TextChanged event
| |
OnTextChanged(TextChangedEventArgs) |
Fires TextChanged event
| |
OnTextChanged(Int32, Int32) |
Fires TextChanged event
| |
OnTextChangedDelayed | ||
OnTextChanging | ||
OnTextChanging(String) |
Fires TextChanging event
| |
OnToolTip | ||
OnUndoRedoStateChanged |
Occurs when undo/redo stack is changed
| |
OnValidated | (Inherited from Control.) | |
OnValidating | (Inherited from Control.) | |
OnVisibleChanged | (Inherited from ScrollableControl.) | |
OnVisibleRangeChanged |
Occurs when VisibleRange is changed
| |
OnVisibleRangeChangedDelayed | ||
OnVisualMarkerClick | ||
OnZoomChanged | ||
OpenBindingFile |
Open file binding mode
| |
OpenFile(String) |
Open text file (with automatic encoding detector)
| |
OpenFile(String, Encoding) |
Open text file
| |
Paste |
Paste text from clipboard into selected position
| |
PerformAutoScale | (Inherited from ContainerControl.) | |
PerformLayout | (Inherited from Control.) | |
PerformLayout(Control, String) | (Inherited from Control.) | |
PlaceToPoint |
Gets point for given line and char position
| |
PlaceToPosition |
Gets absolute text position from line and char position
| |
PointToClient | (Inherited from Control.) | |
PointToPlace |
Gets nearest line and char position from coordinates
| |
PointToPosition |
Gets nearest absolute text position for given point
| |
PointToScreen | (Inherited from Control.) | |
PositionToPlace |
Gets line and char position from absolute text position
| |
PositionToPoint |
Gets absolute char position from char position
| |
PrepareHtmlForClipboard | ||
PrepareHtmlText | ||
PreProcessControlMessage | (Inherited from Control.) | |
PreProcessMessage | (Inherited from Control.) | |
Prints all text, without any dialog windows
| ||
Print(PrintDialogSettings) |
Prints all text
| |
Print(Range, PrintDialogSettings) |
Prints range of text
| |
ProcessCmdKey | (Inherited from ContainerControl.) | |
ProcessDialogChar | (Inherited from ContainerControl.) | |
ProcessDialogKey | (Overrides ContainerControlProcessDialogKey(Keys).) | |
ProcessKey(Keys) |
Process control keys
| |
ProcessKey(Char, Keys) |
Process "real" keys (no control)
| |
ProcessKeyEventArgs | (Inherited from Control.) | |
ProcessKeyMessage | (Overrides ControlProcessKeyMessage(Message).) | |
ProcessKeyPreview | (Inherited from Control.) | |
ProcessMnemonic | (Overrides ContainerControlProcessMnemonic(Char).) | |
ProcessTabKey | (Inherited from ContainerControl.) | |
RaiseDragEvent | (Inherited from Control.) | |
RaiseKeyEvent | (Inherited from Control.) | |
RaiseMouseEvent | (Inherited from Control.) | |
RaisePaintEvent | (Inherited from Control.) | |
RecalcFoldingLines | ||
RecreateHandle | (Inherited from Control.) | |
RectangleToClient | (Inherited from Control.) | |
RectangleToScreen | (Inherited from Control.) | |
Redo |
Redo
| |
Refresh | (Inherited from Control.) | |
RemoveLinePrefix |
Remove prefix from front of selected lines
This method ignores forward spaces of the line
| |
RemoveLines |
Removes given lines
| |
ResetBackColor | (Inherited from Control.) | |
ResetBindings | (Inherited from Control.) | |
ResetCursor | (Inherited from Control.) | |
ResetFont | (Inherited from Control.) | |
ResetForeColor | (Inherited from Control.) | |
ResetImeMode | (Inherited from Control.) | |
ResetMouseEventArgs | (Inherited from Control.) | |
ResetRightToLeft | (Inherited from Control.) | |
ResetText | (Inherited from Control.) | |
ResumeLayout | (Inherited from Control.) | |
ResumeLayout(Boolean) | (Inherited from Control.) | |
RtlTranslateAlignment(HorizontalAlignment) | (Inherited from Control.) | |
RtlTranslateAlignment(LeftRightAlignment) | (Inherited from Control.) | |
RtlTranslateAlignment(ContentAlignment) | (Inherited from Control.) | |
RtlTranslateContent | (Inherited from Control.) | |
RtlTranslateHorizontal | (Inherited from Control.) | |
RtlTranslateLeftRight | (Inherited from Control.) | |
SaveToFile |
Save text to the file
| |
Scale(Single) | Obsolete. (Inherited from Control.) | |
Scale(SizeF) | (Inherited from Control.) | |
Scale(Single, Single) | Obsolete. (Inherited from Control.) | |
ScaleControl | (Inherited from ScrollableControl.) | |
ScaleCore | (Inherited from ScrollableControl.) | |
ScrollControlIntoView | (Inherited from ScrollableControl.) | |
ScrollLeft |
Scroll control left
| |
ScrollToControl | (Inherited from ScrollableControl.) | |
Select | (Inherited from Control.) | |
Select(Boolean, Boolean) | (Inherited from ContainerControl.) | |
SelectAll |
Select all chars of text
| |
SelectNext |
Selectes next fragment for given regex.
| |
SelectNextControl | (Inherited from Control.) | |
SendToBack | (Inherited from Control.) | |
SentenceCase |
Convert selected text to sentence case
| |
SetAutoScrollMargin | (Inherited from ScrollableControl.) | |
SetAutoSizeMode | (Inherited from Control.) | |
SetBounds(Int32, Int32, Int32, Int32) | (Inherited from Control.) | |
SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) | (Inherited from Control.) | |
SetBoundsCore | (Inherited from Control.) | |
SetClientSizeCore | (Inherited from Control.) | |
SetClipboard | ||
SetDisplayRectLocation | (Inherited from ScrollableControl.) | |
SetScrollState | (Inherited from ScrollableControl.) | |
SetStyle | (Inherited from Control.) | |
SetTopLevel | (Inherited from Control.) | |
SetVisibleCore | (Inherited from Control.) | |
SetVisibleState |
Set VisibleState of line
| |
Show | (Inherited from Control.) | |
ShowFindDialog |
Shows find dialog
| |
ShowFindDialog(String) |
Shows find dialog
| |
ShowGoToDialog |
Shows Goto dialog form
| |
ShowReplaceDialog |
Shows replace dialog
| |
ShowReplaceDialog(String) |
Shows replace dialog
| |
SizeFromClientSize | (Inherited from Control.) | |
SuspendLayout | (Inherited from Control.) | |
TitleCase |
Convert selected text to title case
| |
ToString | (Inherited from Component.) | |
UnbookmarkLine |
Unbookmarks current line
| |
Undo |
Undo last operation
| |
Update | (Inherited from Control.) | |
UpdateBounds | (Inherited from Control.) | |
UpdateBounds(Int32, Int32, Int32, Int32) | (Inherited from Control.) | |
UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) | (Inherited from Control.) | |
UpdateDefaultButton | (Inherited from ContainerControl.) | |
UpdateScrollbars |
Updates scrollbar position after Value changed
| |
UpdateStyles | (Inherited from Control.) | |
UpdateZOrder | (Inherited from Control.) | |
UpperCase |
Convert selected text to upper case
| |
Validate | (Inherited from ContainerControl.) | |
Validate(Boolean) | (Inherited from ContainerControl.) | |
ValidateChildren | (Inherited from UserControl.) | |
ValidateChildren(ValidationConstraints) | (Inherited from UserControl.) | |
WndProc | (Overrides UserControlWndProc(Message).) |
See Also