wx.StyledText.StyledTextCtrl Class Reference

Inheritance diagram for wx.StyledText.StyledTextCtrl:

wx.Control wx.Window wx.EvtHandler wx.Object

List of all members.

Public Member Functions

void AddRefDocument (Object docPointer)
void AddText (wxString text)
void AddText (string text)
void AppendText (wxString text)
void AppendText (string text)
void AutoCompCancel ()
void AutoCompComplete ()
void AutoCompSelect (wxString text)
void AutoCompSelect (string text)
void AutoCompShow (int lenEntered, wxString itemList)
void AutoCompShow (int lenEntered, string itemList)
void BeginUndoAction ()
void BraceBadLight (int pos)
void BraceHighlight (int pos1, int pos2)
int BraceMatch (int pos)
void CallTipCancel ()
void CallTipSetHighlight (int start, int end)
void CallTipShow (int pos, wxString definition)
void CallTipShow (int pos, string definition)
void CallTipUseStyle (int tabsize)
void ChooseCaretX ()
void Clear ()
void ClearAll ()
void ClearDocumentStyle ()
void ClearRegisteredImages ()
void CmdKeyAssign (int key, int modifiers, int cmd)
void CmdKeyClear (int key, int modifiers)
void CmdKeyClearAll ()
void CmdKeyExecute (int cmd)
void Colourise (int start, int end)
void ConvertEOLs (EOLModes eolMode)
void Copy ()
void CreateDocument ()
void Cut ()
void DelLineLeft ()
void DelLineRight ()
int DocLineFromVisible (int lineDisplay)
void EmptyUndoBuffer ()
void EndUndoAction ()
void EnsureCaretVisible ()
void EnsureVisible (int line)
void EnsureVisibleEnforcePolicy (int line)
int FindText (int minPos, int maxPos, wxString text, int flags)
int FindText (int minPos, int maxPos, string text, int flags)
int FormatRange (bool doDraw, int startPos, int endPos, DC draw, DC target, Rectangle renderRect, Rectangle pageRect)
int GetCharAt (int pos)
int GetColumn (int pos)
string GetCurLine (out int linePos)
bool GetFoldExpanded (int line)
int GetFoldLevel (int line)
FoldLevel GetFoldLevelFlags (int line)
int GetFoldLevelNumber (int line)
int GetFoldParent (int line)
int GetLastChild (int line, int level)
string GetLexerStateNameAtPos (int pos)
string GetLine (int line)
int GetLineEndPosition (int line)
int GetLineIndentation (int line)
int GetLineIndentPosition (int line)
int GetLineState (int line)
bool GetLineVisible (int line)
MarginMask GetMarginMask (int marginIndex)
bool GetMarginSensitive (int marginIndex)
MarginType GetMarginType (int marginIndex)
int GetMarginWidth (int marginIndex)
void GetSelection (out int startPos, out int endPos)
LexerStates GetStyleAt (int pos)
string GetTextRange (int startPos, int endPos)
void GotoLine (int line)
void GotoPos (int pos)
void HideLines (int lineStart, int lineEnd)
void HomeDisplay ()
void HomeDisplayExtend ()
Colour IndicatorGetForeground (int indic)
int IndicatorGetStyle (int indic)
void IndicatorSetForeground (int indic, Colour fore)
void IndicatorSetStyle (int indic, int style)
void InsertText (int pos, wxString text)
void InsertText (int pos, string text)
void LineDuplicate ()
void LineEndDisplay ()
void LineEndDisplayExtend ()
int LineFromPosition (int pos)
int LineLength (int line)
void LineScroll (int columns, int lines)
void LinesJoin ()
void LinesSplit (int pixelWidth)
bool LoadFile (wxString filename)
bool LoadFile (string filename)
int MarkerAdd (int line, MarkNum markerNumber)
void MarkerDefine (MarkNum markerNumber, Mark markerSymbol, Colour foreground, Colour background)
void MarkerDefine (MarkNum markerNumber, Mark markerSymbol, Colour foreground)
void MarkerDefine (MarkNum markerNumber, Mark markerSymbol)
void MarkerDefineBitmap (MarkNum markerNumber, Bitmap bmp)
void MarkerDelete (int line, MarkNum markerNumber)
void MarkerDeleteAll (MarkNum markerNumber)
void MarkerDeleteHandle (int handle)
int MarkerGet (int line)
int MarkerLineFromHandle (int handle)
int MarkerNext (int lineStart, int markerMask)
int MarkerPrevious (int lineStart, int markerMask)
void MarkerSetBackground (MarkNum markerNumber, Colour back)
void MarkerSetForeground (MarkNum markerNumber, Colour fore)
void MoveCaretInsideView ()
void Paste ()
Point PointFromPosition (int pos)
int PositionFromLine (int line)
int PositionFromPoint (Point pt)
int PositionFromPointClose (int x, int y)
void Redo ()
void RegisterImage (int type, Bitmap bmp)
void ReleaseDocument (Object docPointer)
void ReplaceSelection (wxString text)
void ReplaceSelection (string text)
int ReplaceTarget (wxString text)
int ReplaceTarget (string text)
int ReplaceTargetRE (wxString text)
int ReplaceTargetRE (string text)
bool SaveFile (wxString filename)
bool SaveFile (string filename)
void ScrollToColumn (int column)
void ScrollToLine (int line)
void SearchAnchor ()
int SearchInTarget (wxString text)
int SearchInTarget (string text)
int SearchNext (int flags, wxString text)
int SearchNext (int flags, string text)
int SearchPrev (int flags, wxString text)
int SearchPrev (int flags, string text)
void SelectAll ()
int SendMsg (int msg, int wp, int lp)
void SetFoldExpanded (int line, bool expanded)
void SetFoldLevel (int line, int level)
void SetFoldMarginColour (bool useSetting, Colour back)
void SetFoldMarginHiColour (bool useSetting, Colour fore)
void SetHotspotActiveBackground (bool useSetting, Colour back)
void SetHotspotActiveForeground (bool useSetting, Colour fore)
void SetHotspotActiveUnderline (bool underline)
void SetKeyWords (Keywords keywordSet, wxString keyWords)
void SetKeyWords (Keywords keywordSet, string keyWords)
void SetKeyWords (Keywords keywordSet, string[] keywords)
void SetLineIndentation (int line, int indentSize)
void SetLineState (int line, int state)
void SetMarginMask (int marginIndex, MarginMask mask)
void SetMargins (int left, int right)
void SetMarginSensitive (int marginIndex, bool sensitive)
void SetMarginType (int marginIndex, MarginType marginType)
void SetMarginWidth (int marginIndex, int pixelWidth)
void SetProperty (wxString key, wxString value)
void SetProperty (string key, string value)
void SetSavePoint ()
void SetSelBackground (bool useSetting, Colour back)
void SetSelection (int start, int end)
void SetSelForeground (bool useSetting, Colour fore)
void SetStyleBytes (int length, byte[] styleBytes)
void SetStyling (int length, int style)
void SetVisiblePolicy (VisiblePolicies visiblePolicy, int visibleSlop)
void SetWhitespaceBackground (bool useSetting, Colour back)
void SetWhitespaceForeground (bool useSetting, Colour fore)
void SetWordChars (wxString characters)
void SetWordChars (string characters)
void SetXCaretPolicy (CaretPolicies caretPolicy, int caretSlop)
void SetYCaretPolicy (CaretPolicies caretPolicy, int caretSlop)
void ShowLines (int lineStart, int lineEnd)
void StartRecord ()
void StartStyling (int pos, int mask)
void StopRecord ()
void StyleClearAll ()
 StyledTextCtrl (Window parent, Point pos, Size size, WindowStyles style, string name)
 StyledTextCtrl (Window parent, Point pos, Size size, WindowStyles style)
 StyledTextCtrl (Window parent, Point pos, Size size)
 StyledTextCtrl (Window parent, Point pos)
 StyledTextCtrl (Window parent, int id, Point pos, Size size, WindowStyles style, wxString name)
 StyledTextCtrl (Window parent, int id, Point pos, Size size, WindowStyles style, string name)
 StyledTextCtrl (Window parent, int id, Point pos, Size size, WindowStyles style)
 StyledTextCtrl (Window parent, int id, Point pos, Size size)
 StyledTextCtrl (Window parent, int id, Point pos)
 StyledTextCtrl (Window parent, int id)
 StyledTextCtrl (Window parent)
 StyledTextCtrl (IntPtr wxObject)
void StyleResetDefault ()
void StyleSetBackground (LexerStates style, Colour fore)
void StyleSetBold (LexerStates style, bool fore)
void StyleSetCase (LexerStates style, CaseForce caseForce)
void StyleSetChangeable (LexerStates style, bool changeable)
void StyleSetCharacterSet (LexerStates style, CharsetIdentifier characterSet)
void StyleSetEOLFilled (LexerStates style, bool filled)
void StyleSetFaceName (LexerStates style, string fontName)
void StyleSetFont (int styleNum, Font font)
void StyleSetFont (LexerStates stateDescr, Font font)
void StyleSetFontAttr (int styleNum, int size, wxString faceName, bool bold, bool italic, bool underline)
void StyleSetFontAttr (int styleNum, int size, string faceName, bool bold, bool italic, bool underline)
void StyleSetFontAttr (LexerStates styleNum, int size, string faceName, bool bold, bool italic, bool underline)
void StyleSetForeground (LexerStates style, Colour fore)
void StyleSetHotSpot (LexerStates style, bool hotspot)
void StyleSetItalic (LexerStates style, bool italic)
void StyleSetSize (LexerStates style, int sizePoints)
void StyleSetSpec (int styleNum, wxString spec)
void StyleSetSpec (int styleNum, string spec)
void StyleSetSpec (LexerStates stateDescr, string spec)
void StyleSetUnderline (LexerStates style, bool underline)
void StyleSetVisible (LexerStates style, bool visible)
void TargetFromSelection ()
int TextHeight (int line)
int TextWidth (int style, wxString text)
int TextWidth (int style, string text)
void ToggleFold (int line)
void Undo ()
void UserListShow (int listType, wxString itemList)
void UserListShow (int listType, string itemList)
int VisibleFromDocLine (int line)
int WordEndPosition (int pos, bool onlyWordCharacters)
void WordPartLeft ()
void WordPartLeftExtend ()
void WordPartRight ()
void WordPartRightExtend ()
int WordStartPosition (int pos, bool onlyWordCharacters)

Static Public Member Functions

static string GetLexerStateName (LexerStates state, LexerId lexer)
static string[] StatePrefixForLexer (LexerId lexer)

Public Attributes

const int wxSTC_CP_DBCS = 1
const int wxSTC_CP_UTF8 = 65001
const int wxSTC_FIND_MATCHCASE = 4
const int wxSTC_FIND_POSIX = 0x00400000
const int wxSTC_FIND_REGEXP = 0x00200000
const int wxSTC_FIND_WHOLEWORD = 2
const int wxSTC_FIND_WORDSTART = 0x00100000
const int wxSTC_INDIC0_MASK = 0x20
const int wxSTC_INDIC1_MASK = 0x40
const int wxSTC_INDIC2_MASK = 0x80
const int wxSTC_INDIC_DIAGONAL = 3
const int wxSTC_INDIC_MAX = 7
const int wxSTC_INDIC_PLAIN = 0
const int wxSTC_INDIC_SQUIGGLE = 1
const int wxSTC_INDIC_STRIKE = 4
const int wxSTC_INDIC_TT = 2
const int wxSTC_INDICS_MASK = 0xE0
const int wxSTC_INVALID_POSITION = -1
const int wxSTC_LEXER_START = 4000
const int wxSTC_OPTIONAL_START = 3000
const int wxSTC_PRINT_BLACKONWHITE = 2
const int wxSTC_PRINT_COLOURONWHITE = 3
const int wxSTC_PRINT_COLOURONWHITEDEFAULTBG = 4
const int wxSTC_PRINT_INVERTLIGHT = 1
const int wxSTC_PRINT_NORMAL = 0
const int wxSTC_START = 2000
const int wxSTC_TIME_FOREVER = 10000000
Commands that can be bound to keystrokes.
const int wxSTC_CMD_BACKTAB = 2328
 Dedent the selected lines.
const int wxSTC_CMD_CANCEL = 2325
 Cancel any modes such as call tip or auto-completion list display.
const int wxSTC_CMD_CHARLEFT = 2304
 Move caret left one character.
const int wxSTC_CMD_CHARLEFTEXTEND = 2305
 Move caret left one character extending selection to new caret position.
const int wxSTC_CMD_CHARRIGHT = 2306
 Move caret right one character.
const int wxSTC_CMD_CHARRIGHTEXTEND = 2307
 Move caret right one character extending selection to new caret position.
const int wxSTC_CMD_CLEAR = 2180
 Clear the selection.
const int wxSTC_CMD_COPY = 2178
 Copy the selection to the clipboard.
const int wxSTC_CMD_CUT = 2177
 Cut the selection to the clipboard.
const int wxSTC_CMD_DELETEBACK = 2326
 Delete the selection or if no selection, the character before the caret.
const int wxSTC_CMD_DELETEBACKNOTLINE = 2344
 Delete the selection or if no selection, the character before the caret.
const int wxSTC_CMD_DELLINELEFT = 2395
 Delete back from the current position to the start of the line.
const int wxSTC_CMD_DELLINERIGHT = 2396
 Delete forwards from the current position to the end of the line.
const int wxSTC_CMD_DELWORDLEFT = 2335
 Delete the word to the left of the caret.
const int wxSTC_CMD_DELWORDRIGHT = 2336
 Delete the word to the right of the caret.
const int wxSTC_CMD_DOCUMENTEND = 2318
 Move caret to last position in document.
const int wxSTC_CMD_DOCUMENTENDEXTEND = 2319
 Move caret to last position in document extending selection to new caret position.
const int wxSTC_CMD_DOCUMENTSTART = 2316
 Move caret to first position in document.
const int wxSTC_CMD_DOCUMENTSTARTEXTEND = 2317
 Move caret to first position in document extending selection to new caret position.
const int wxSTC_CMD_EDITTOGGLEOVERTYPE = 2324
 Switch from insert to overtype mode or the reverse.
const int wxSTC_CMD_FORMFEED = 2330
 Insert a Form Feed character.
const int wxSTC_CMD_HOME = 2312
 Move caret to first position on line.
const int wxSTC_CMD_HOMEDISPLAY = 2345
 Move caret to first position on display line.
const int wxSTC_CMD_HOMEDISPLAYEXTEND = 2346
 Move caret to first position on display line extending selection to new caret position.
const int wxSTC_CMD_HOMEEXTEND = 2313
 Move caret to first position on line extending selection to new caret position.
const int wxSTC_CMD_LINECUT = 2337
 Cut the line containing the caret.
const int wxSTC_CMD_LINEDELETE = 2338
 Delete the line containing the caret.
const int wxSTC_CMD_LINEDOWN = 2300
 Move caret down one line.
const int wxSTC_CMD_LINEDOWNEXTEND = 2301
 Move caret down one line extending selection to new caret position.
const int wxSTC_CMD_LINEDUPLICATE = 2404
 Duplicate the current line.
const int wxSTC_CMD_LINEEND = 2314
 Move caret to last position on line.
const int wxSTC_CMD_LINEENDDISPLAY = 2347
 Move caret to last position on display line.
const int wxSTC_CMD_LINEENDDISPLAYEXTEND = 2348
 Move caret to last position on display line extending selection to new caret position.
const int wxSTC_CMD_LINEENDEXTEND = 2315
 Move caret to last position on line extending selection to new caret position.
const int wxSTC_CMD_LINESCROLLDOWN = 2342
 Scroll the document down, keeping the caret visible.
const int wxSTC_CMD_LINESCROLLUP = 2343
 Scroll the document up, keeping the caret visible.
const int wxSTC_CMD_LINETRANSPOSE = 2339
 Switch the current line with the previous.
const int wxSTC_CMD_LINEUP = 2302
 Move caret up one line.
const int wxSTC_CMD_LINEUPEXTEND = 2303
 Move caret up one line extending selection to new caret position.
const int wxSTC_CMD_LOWERCASE = 2340
 Transform the selection to lower case.
const int wxSTC_CMD_NEWLINE = 2329
 Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
const int wxSTC_CMD_PAGEDOWN = 2322
 Move caret one page down.
const int wxSTC_CMD_PAGEDOWNEXTEND = 2323
 Move caret one page down extending selection to new caret position.
const int wxSTC_CMD_PAGEUP = 2320
 Move caret one page up.
const int wxSTC_CMD_PAGEUPEXTEND = 2321
 Move caret one page up extending selection to new caret position.
const int wxSTC_CMD_PASTE = 2179
 Paste the contents of the clipboard into the document replacing the selection.
const int wxSTC_CMD_REDO = 2011
 Redoes the next action on the undo history.
const int wxSTC_CMD_SELECTALL = 2013
 Select all the text in the document.
const int wxSTC_CMD_TAB = 2327
 If selection is empty or all on one line replace the selection with a tab character.
const int wxSTC_CMD_UNDO = 2176
 Undo one action in the undo history.
const int wxSTC_CMD_UPPERCASE = 2341
 Transform the selection to upper case.
const int wxSTC_CMD_VCHOME = 2331
 Move caret to before first visible character on line.
const int wxSTC_CMD_VCHOMEEXTEND = 2332
 Like VCHome but extending selection to new caret position.
const int wxSTC_CMD_WORDLEFT = 2308
 Move caret left one word.
const int wxSTC_CMD_WORDLEFTEXTEND = 2309
 Move caret left one word extending selection to new caret position.
const int wxSTC_CMD_WORDPARTLEFT = 2390
 Move to the previous change in capitalisation.
const int wxSTC_CMD_WORDPARTLEFTEXTEND = 2391
 Move to the previous change in capitalisation extending selection to new caret position.
const int wxSTC_CMD_WORDPARTRIGHT = 2392
 Move to the change next in capitalisation.
const int wxSTC_CMD_WORDPARTRIGHTEXTEND = 2393
 Move to the next change in capitalisation extending selection to new caret position.
const int wxSTC_CMD_WORDRIGHT = 2310
 Move caret right one word.
const int wxSTC_CMD_WORDRIGHTEXTEND = 2311
 Move caret right one word extending selection to new caret position.
const int wxSTC_CMD_ZOOMIN = 2333
 Magnify the displayed text by increasing the sizes by 1 point.
const int wxSTC_CMD_ZOOMOUT = 2334
 Make the displayed text smaller by decreasing the sizes by 1 point.
These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)?
except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home|LineEnd)Display The difference is that, the cursor is already at the point, it goes on to the start or end of the document line, as appropriate for (Home|LineEnd|VCHome)Extend.

const int wxSTC_CMD_HOMEWRAP = 2349
const int wxSTC_CMD_HOMEWRAPEXTEND = 2450
const int wxSTC_CMD_LINEENDWRAP = 2451
const int wxSTC_CMD_LINEENDWRAPEXTEND = 2452
const int wxSTC_CMD_VCHOMEWRAP = 2453
const int wxSTC_CMD_VCHOMEWRAPEXTEND = 2454
Move caret between paragraphs (delimited by empty lines)
const int wxSTC_CMD_PARADOWN = 2413
const int wxSTC_CMD_PARADOWNEXTEND = 2414
const int wxSTC_CMD_PARAUP = 2415
const int wxSTC_CMD_PARAUPEXTEND = 2416
Symbolic key codes and modifier flags.
ASCII and other printable characters below 256.

Extended keys above 300.

const int wxSTC_KEY_ADD = 310
const int wxSTC_KEY_BACK = 8
const int wxSTC_KEY_DELETE = 308
const int wxSTC_KEY_DIVIDE = 312
const int wxSTC_KEY_DOWN = 300
const int wxSTC_KEY_END = 305
const int wxSTC_KEY_ESCAPE = 7
const int wxSTC_KEY_HOME = 304
const int wxSTC_KEY_INSERT = 309
const int wxSTC_KEY_LEFT = 302
const int wxSTC_KEY_NEXT = 307
const int wxSTC_KEY_PRIOR = 306
const int wxSTC_KEY_RETURN = 13
const int wxSTC_KEY_RIGHT = 303
const int wxSTC_KEY_SUBTRACT = 311
const int wxSTC_KEY_TAB = 9
const int wxSTC_KEY_UP = 301
const int wxSTC_SCMOD_ALT = 4
const int wxSTC_SCMOD_CTRL = 2
const int wxSTC_SCMOD_SHIFT = 1
Notifications
Type of modification and the action which caused the modification.

These are defined as a bit mask to make it easy to specify which notifications are wanted. One bit is set from each of SC_MOD_* and SC_PERFORMED_*.

const int wxSTC_LASTSTEPINUNDOREDO = 0x100
const int wxSTC_MOD_BEFOREDELETE = 0x800
const int wxSTC_MOD_BEFOREINSERT = 0x400
const int wxSTC_MOD_CHANGEFOLD = 0x8
const int wxSTC_MOD_CHANGEMARKER = 0x200
const int wxSTC_MOD_CHANGESTYLE = 0x4
const int wxSTC_MOD_DELETETEXT = 0x2
const int wxSTC_MOD_INSERTTEXT = 0x1
const int wxSTC_MODEVENTMASKALL = 0xF77
const int wxSTC_PERFORMED_REDO = 0x40
const int wxSTC_PERFORMED_UNDO = 0x20
const int wxSTC_PERFORMED_USER = 0x10

Static Public Attributes

static readonly int wxEVT_STC_CALLTIP_CLICK = wxStyledTextCtrl_EVT_STC_CALLTIP_CLICK()
static readonly int wxEVT_STC_CHANGE = wxStyledTextCtrl_EVT_STC_CHANGE()
static readonly int wxEVT_STC_CHARADDED = wxStyledTextCtrl_EVT_STC_CHARADDED()
static readonly int wxEVT_STC_DO_DROP = wxStyledTextCtrl_EVT_STC_DO_DROP()
static readonly int wxEVT_STC_DOUBLECLICK = wxStyledTextCtrl_EVT_STC_DOUBLECLICK()
static readonly int wxEVT_STC_DRAG_OVER = wxStyledTextCtrl_EVT_STC_DRAG_OVER()
static readonly int wxEVT_STC_DWELLEND = wxStyledTextCtrl_EVT_STC_DWELLEND()
static readonly int wxEVT_STC_DWELLSTART = wxStyledTextCtrl_EVT_STC_DWELLSTART()
static readonly int wxEVT_STC_HOTSPOT_CLICK = wxStyledTextCtrl_EVT_STC_HOTSPOT_CLICK()
static readonly int wxEVT_STC_HOTSPOT_DCLICK = wxStyledTextCtrl_EVT_STC_HOTSPOT_DCLICK()
static readonly int wxEVT_STC_KEY = wxStyledTextCtrl_EVT_STC_KEY()
static readonly int wxEVT_STC_MACRORECORD = wxStyledTextCtrl_EVT_STC_MACRORECORD()
static readonly int wxEVT_STC_MARGINCLICK = wxStyledTextCtrl_EVT_STC_MARGINCLICK()
static readonly int wxEVT_STC_MODIFIED = wxStyledTextCtrl_EVT_STC_MODIFIED()
static readonly int wxEVT_STC_NEEDSHOWN = wxStyledTextCtrl_EVT_STC_NEEDSHOWN()
static readonly int wxEVT_STC_PAINTED = wxStyledTextCtrl_EVT_STC_PAINTED()
static readonly int wxEVT_STC_ROMODIFYATTEMPT = wxStyledTextCtrl_EVT_STC_ROMODIFYATTEMPT()
static readonly int wxEVT_STC_SAVEPOINTLEFT = wxStyledTextCtrl_EVT_STC_SAVEPOINTLEFT()
static readonly int wxEVT_STC_SAVEPOINTREACHED = wxStyledTextCtrl_EVT_STC_SAVEPOINTREACHED()
static readonly int wxEVT_STC_START_DRAG = wxStyledTextCtrl_EVT_STC_START_DRAG()
static readonly int wxEVT_STC_STYLENEEDED = wxStyledTextCtrl_EVT_STC_STYLENEEDED()
static readonly int wxEVT_STC_UPDATEUI = wxStyledTextCtrl_EVT_STC_UPDATEUI()
static readonly int wxEVT_STC_URIDROPPED = wxStyledTextCtrl_EVT_STC_URIDROPPED()
static readonly int wxEVT_STC_USERLISTSELECTION = wxStyledTextCtrl_EVT_STC_USERLISTSELECTION()
static readonly int wxEVT_STC_ZOOM = wxStyledTextCtrl_EVT_STC_ZOOM()

Protected Member Functions

override void CallDTor ()

Properties

int Anchor [get, set]
bool AutoCompActive [get]
bool AutoCompAutoHide [get, set]
bool AutoCompCancelAtStart [get, set]
bool AutoCompChooseSingle [get, set]
bool AutoCompDropRestOfWord [get, set]
string AutoCompFillUps [set]
bool AutoCompIgnoreCase [get, set]
int AutoCompPosStart [get]
char AutoCompSeparator [get, set]
string AutoCompStops [set]
int AutoCompTypeSeparator [get, set]
bool BackSpaceUnIndents [get, set]
bool BufferedDraw [get, set]
bool CallTipActive [get]
Colour CallTipBackground [set]
Colour CallTipForeground [set]
Colour CallTipForegroundHighlight [set]
int CallTipPosAtStart [get]
bool CanPaste [get]
bool CanRedo [get]
bool CanUndo [get]
Colour CaretForeground [get, set]
Colour CaretLineBack [get, set]
bool CaretLineVisible [get, set]
int CaretPeriod [get, set]
int CaretWidth [get, set]
int CodePage [get, set]
int ControlCharSymbol [get, set]
string CurLine [get]
int CurrentLine [get]
int CurrentPos [get, set]
Object DocPointer [get, set]
Colour EdgeColour [get, set]
int EdgeColumn [get, set]
EdgeModes EdgeMode [get, set]
bool EndAtLastLine [get, set]
int EndStyled [get]
EOLModes EOLMode [get, set]
int FirstVisibleLine [get]
TheFoldFlags FoldFlags [set]
bool HideSelection [set]
int HighlightGuide [get, set]
int Indent [get, set]
bool IndentationGuides [get, set]
bool LastKeydownProcessed [get, set]
LayoutCacheModes LayoutCache [get, set]
int Length [get]
LexerId Lexer [get, set]
string LexerLanguage [set]
int LineCount [get]
int LinesOnScreen [get]
int MarginLeft [get, set]
int MarginRight [get, set]
int MaxLineState [get]
int ModEventMask [get, set]
bool Modify [get]
bool MouseDownCaptures [get, set]
int MouseDwellTime [get, set]
bool Overtype [get, set]
int PrintColourMode [get, set]
int PrintMagnification [get, set]
WrapModes PrintWrapMode [get, set]
bool ReadOnly [get, set]
int ScrollWidth [get, set]
string SelectedText [get]
int SelectionEnd [get, set]
bool SelectionIsRectangle [get]
int SelectionStart [get, set]
int SetSearchFlags [get, set]
int Status [get, set]
STCCursors STCCursor [get, set]
bool STCFocus [get, set]
int styleBits [get, set]
bool TabIndents [get, set]
int TabWidth [get, set]
int TargetEnd [get, set]
int TargetStart [get, set]
string Text [get, set]
int TextLength [get]
bool TwoPhaseDraw [get, set]
bool UndoCollection [get, set]
bool UseHorizontalScrollBar [get, set]
bool UsePopUp [set]
bool UseTabs [get, set]
bool UseVerticalScrollBar [get, set]
bool ViewEOL [get, set]
WhiteSpaceModes ViewWhiteSpace [get, set]
WrapModes WrapMode [get, set]
int XOffset [get, set]
int Zoom [get, set]

Events

event EventListener CalltipClick [add, remove]
event EventListener Change [add, remove]
event EventListener CharAdded [add, remove]
event EventListener DoDrop [add, remove]
event EventListener DoubleClick [add, remove]
event EventListener DragOver [add, remove]
event EventListener DwellEnd [add, remove]
event EventListener DwellStart [add, remove]
event EventListener HotspotClick [add, remove]
event EventListener HotspotDoubleClick [add, remove]
event EventListener Key [add, remove]
event EventListener MacroRecord [add, remove]
event EventListener MarginClick [add, remove]
event EventListener Modified [add, remove]
event EventListener NeedShown [add, remove]
event EventListener Paint [add, remove]
event EventListener ROModifyAttempt [add, remove]
event EventListener SavePointLeft [add, remove]
event EventListener SavePointReached [add, remove]
event EventListener StartDrag [add, remove]
event EventListener StyleNeeded [add, remove]
override event
EventListener 
UpdateUI [add, remove]
event EventListener URIDropped [add, remove]
event EventListener UserListSelection [add, remove]
event EventListener Zoomed [add, remove]


Detailed Description

Text control particularly applicable for displaying programming languages. This is a text control with builtin lexicographic analysis (configured by StyledTextCtrl.Lexer). This analysis assigns styles to particular parts of the displayed text. You may assign various directives for text formatting to these styles.

stcsample.PNG

The STC Sample Program

Purpose: A wxWidgets implementation of Scintilla. This class is the one meant to be used directly by wx applications. It does not derive directly from the Scintilla classes, and in fact there is no mention of Scintilla classes at all in this header. This class delegates all method calls and events to the Scintilla objects and so forth. This allows the use of Scintilla without polluting the namespace with all the classes and itentifiers from Scintilla.

Constructor & Destructor Documentation

wx.StyledText.StyledTextCtrl.StyledTextCtrl ( IntPtr  wxObject  ) 

wx.StyledText.StyledTextCtrl.StyledTextCtrl ( Window  parent  ) 

wx.StyledText.StyledTextCtrl.StyledTextCtrl ( Window  parent,
int  id 
)

wx.StyledText.StyledTextCtrl.StyledTextCtrl ( Window  parent,
int  id,
Point  pos 
)

wx.StyledText.StyledTextCtrl.StyledTextCtrl ( Window  parent,
int  id,
Point  pos,
Size  size 
)

wx.StyledText.StyledTextCtrl.StyledTextCtrl ( Window  parent,
int  id,
Point  pos,
Size  size,
WindowStyles  style 
)

wx.StyledText.StyledTextCtrl.StyledTextCtrl ( Window  parent,
int  id,
Point  pos,
Size  size,
WindowStyles  style,
string  name 
)

wx.StyledText.StyledTextCtrl.StyledTextCtrl ( Window  parent,
int  id,
Point  pos,
Size  size,
WindowStyles  style,
wxString  name 
)

wx.StyledText.StyledTextCtrl.StyledTextCtrl ( Window  parent,
Point  pos 
)

wx.StyledText.StyledTextCtrl.StyledTextCtrl ( Window  parent,
Point  pos,
Size  size 
)

wx.StyledText.StyledTextCtrl.StyledTextCtrl ( Window  parent,
Point  pos,
Size  size,
WindowStyles  style 
)

wx.StyledText.StyledTextCtrl.StyledTextCtrl ( Window  parent,
Point  pos,
Size  size,
WindowStyles  style,
string  name 
)


Member Function Documentation

void wx.StyledText.StyledTextCtrl.AddRefDocument ( Object  docPointer  ) 

void wx.StyledText.StyledTextCtrl.AddText ( wxString  text  ) 

void wx.StyledText.StyledTextCtrl.AddText ( string  text  ) 

void wx.StyledText.StyledTextCtrl.AppendText ( wxString  text  ) 

void wx.StyledText.StyledTextCtrl.AppendText ( string  text  ) 

void wx.StyledText.StyledTextCtrl.AutoCompCancel (  ) 

Remove the auto-completion list from the screen.

void wx.StyledText.StyledTextCtrl.AutoCompComplete (  ) 

User has selected an item so remove the list and insert the selection.

void wx.StyledText.StyledTextCtrl.AutoCompSelect ( wxString  text  ) 

Select the item in the auto-completion list that starts with a string.

void wx.StyledText.StyledTextCtrl.AutoCompSelect ( string  text  ) 

Select the item in the auto-completion list that starts with a string.

void wx.StyledText.StyledTextCtrl.AutoCompShow ( int  lenEntered,
wxString  itemList 
)

Display a auto-completion list. The lenEntered parameter indicates how many characters before the caret should be used to provide context.

void wx.StyledText.StyledTextCtrl.AutoCompShow ( int  lenEntered,
string  itemList 
)

Display a auto-completion list. The lenEntered parameter indicates how many characters before the caret should be used to provide context.

void wx.StyledText.StyledTextCtrl.BeginUndoAction (  ) 

void wx.StyledText.StyledTextCtrl.BraceBadLight ( int  pos  ) 

void wx.StyledText.StyledTextCtrl.BraceHighlight ( int  pos1,
int  pos2 
)

int wx.StyledText.StyledTextCtrl.BraceMatch ( int  pos  ) 

override void wx.StyledText.StyledTextCtrl.CallDTor (  )  [protected, virtual]

This will be called by Dispose() to delete the C++ object. Overload this if you have to use another DTor.

Reimplemented from wx.Object.

void wx.StyledText.StyledTextCtrl.CallTipCancel (  ) 

Remove the call tip from the screen.

void wx.StyledText.StyledTextCtrl.CallTipSetHighlight ( int  start,
int  end 
)

void wx.StyledText.StyledTextCtrl.CallTipShow ( int  pos,
wxString  definition 
)

Show a call tip containing a definition near position pos. Prerequisite: CallTipUseStyle().

void wx.StyledText.StyledTextCtrl.CallTipShow ( int  pos,
string  definition 
)

Show a call tip containing a definition near position pos. Prerequisite: CallTipUseStyle().

void wx.StyledText.StyledTextCtrl.CallTipUseStyle ( int  tabsize  ) 

Enable use of STYLE_CALLTIP and set call tip tab size in pixels.

void wx.StyledText.StyledTextCtrl.ChooseCaretX (  ) 

void wx.StyledText.StyledTextCtrl.Clear (  ) 

void wx.StyledText.StyledTextCtrl.ClearAll (  ) 

void wx.StyledText.StyledTextCtrl.ClearDocumentStyle (  ) 

void wx.StyledText.StyledTextCtrl.ClearRegisteredImages (  ) 

void wx.StyledText.StyledTextCtrl.CmdKeyAssign ( int  key,
int  modifiers,
int  cmd 
)

void wx.StyledText.StyledTextCtrl.CmdKeyClear ( int  key,
int  modifiers 
)

void wx.StyledText.StyledTextCtrl.CmdKeyClearAll (  ) 

void wx.StyledText.StyledTextCtrl.CmdKeyExecute ( int  cmd  ) 

void wx.StyledText.StyledTextCtrl.Colourise ( int  start,
int  end 
)

void wx.StyledText.StyledTextCtrl.ConvertEOLs ( EOLModes  eolMode  ) 

void wx.StyledText.StyledTextCtrl.Copy (  ) 

void wx.StyledText.StyledTextCtrl.CreateDocument (  ) 

void wx.StyledText.StyledTextCtrl.Cut (  ) 

void wx.StyledText.StyledTextCtrl.DelLineLeft (  ) 

void wx.StyledText.StyledTextCtrl.DelLineRight (  ) 

int wx.StyledText.StyledTextCtrl.DocLineFromVisible ( int  lineDisplay  ) 

void wx.StyledText.StyledTextCtrl.EmptyUndoBuffer (  ) 

void wx.StyledText.StyledTextCtrl.EndUndoAction (  ) 

void wx.StyledText.StyledTextCtrl.EnsureCaretVisible (  ) 

void wx.StyledText.StyledTextCtrl.EnsureVisible ( int  line  ) 

void wx.StyledText.StyledTextCtrl.EnsureVisibleEnforcePolicy ( int  line  ) 

int wx.StyledText.StyledTextCtrl.FindText ( int  minPos,
int  maxPos,
wxString  text,
int  flags 
)

int wx.StyledText.StyledTextCtrl.FindText ( int  minPos,
int  maxPos,
string  text,
int  flags 
)

int wx.StyledText.StyledTextCtrl.FormatRange ( bool  doDraw,
int  startPos,
int  endPos,
DC  draw,
DC  target,
Rectangle  renderRect,
Rectangle  pageRect 
)

int wx.StyledText.StyledTextCtrl.GetCharAt ( int  pos  ) 

int wx.StyledText.StyledTextCtrl.GetColumn ( int  pos  ) 

string wx.StyledText.StyledTextCtrl.GetCurLine ( out int  linePos  ) 

bool wx.StyledText.StyledTextCtrl.GetFoldExpanded ( int  line  ) 

Result indicates whether fold with header line line is expanded or contracted.

int wx.StyledText.StyledTextCtrl.GetFoldLevel ( int  line  ) 

Gets the fold level of the designated line. The result indicates whether this line starts a folded region or not.

Refer to FoldLevel for the documentation of flags.

FoldLevel wx.StyledText.StyledTextCtrl.GetFoldLevelFlags ( int  line  ) 

The flags in GetFoldLevel().

int wx.StyledText.StyledTextCtrl.GetFoldLevelNumber ( int  line  ) 

Fold level number in GetFoldLevel().

int wx.StyledText.StyledTextCtrl.GetFoldParent ( int  line  ) 

Returns the line that is the parent of line wrt folding.

int wx.StyledText.StyledTextCtrl.GetLastChild ( int  line,
int  level 
)

static string wx.StyledText.StyledTextCtrl.GetLexerStateName ( LexerStates  state,
LexerId  lexer 
) [static]

This returns a name string for the lexer state state that refers to lexer. Problem: Lexer state are named ambigiously among different lexers.

string wx.StyledText.StyledTextCtrl.GetLexerStateNameAtPos ( int  pos  ) 

Returns the name of the lexer at the designated position.

string wx.StyledText.StyledTextCtrl.GetLine ( int  line  ) 

int wx.StyledText.StyledTextCtrl.GetLineEndPosition ( int  line  ) 

int wx.StyledText.StyledTextCtrl.GetLineIndentation ( int  line  ) 

int wx.StyledText.StyledTextCtrl.GetLineIndentPosition ( int  line  ) 

int wx.StyledText.StyledTextCtrl.GetLineState ( int  line  ) 

bool wx.StyledText.StyledTextCtrl.GetLineVisible ( int  line  ) 

MarginMask wx.StyledText.StyledTextCtrl.GetMarginMask ( int  marginIndex  ) 

bool wx.StyledText.StyledTextCtrl.GetMarginSensitive ( int  marginIndex  ) 

Return true of the margin of the provided index is sensitive to mouse clicks.

MarginType wx.StyledText.StyledTextCtrl.GetMarginType ( int  marginIndex  ) 

int wx.StyledText.StyledTextCtrl.GetMarginWidth ( int  marginIndex  ) 

void wx.StyledText.StyledTextCtrl.GetSelection ( out int  startPos,
out int  endPos 
)

LexerStates wx.StyledText.StyledTextCtrl.GetStyleAt ( int  pos  ) 

string wx.StyledText.StyledTextCtrl.GetTextRange ( int  startPos,
int  endPos 
)

void wx.StyledText.StyledTextCtrl.GotoLine ( int  line  ) 

void wx.StyledText.StyledTextCtrl.GotoPos ( int  pos  ) 

void wx.StyledText.StyledTextCtrl.HideLines ( int  lineStart,
int  lineEnd 
)

void wx.StyledText.StyledTextCtrl.HomeDisplay (  ) 

void wx.StyledText.StyledTextCtrl.HomeDisplayExtend (  ) 

Colour wx.StyledText.StyledTextCtrl.IndicatorGetForeground ( int  indic  ) 

int wx.StyledText.StyledTextCtrl.IndicatorGetStyle ( int  indic  ) 

void wx.StyledText.StyledTextCtrl.IndicatorSetForeground ( int  indic,
Colour  fore 
)

void wx.StyledText.StyledTextCtrl.IndicatorSetStyle ( int  indic,
int  style 
)

void wx.StyledText.StyledTextCtrl.InsertText ( int  pos,
wxString  text 
)

void wx.StyledText.StyledTextCtrl.InsertText ( int  pos,
string  text 
)

void wx.StyledText.StyledTextCtrl.LineDuplicate (  ) 

void wx.StyledText.StyledTextCtrl.LineEndDisplay (  ) 

void wx.StyledText.StyledTextCtrl.LineEndDisplayExtend (  ) 

int wx.StyledText.StyledTextCtrl.LineFromPosition ( int  pos  ) 

int wx.StyledText.StyledTextCtrl.LineLength ( int  line  ) 

void wx.StyledText.StyledTextCtrl.LineScroll ( int  columns,
int  lines 
)

void wx.StyledText.StyledTextCtrl.LinesJoin (  ) 

void wx.StyledText.StyledTextCtrl.LinesSplit ( int  pixelWidth  ) 

bool wx.StyledText.StyledTextCtrl.LoadFile ( wxString  filename  ) 

Loading a file into the editor. Please note that loading a file is treated as an editor action. Loading a file will be reflected by the Undo/Redo-buffer and the control shall not be readonly when loading. This, you may wish to set ReadOnly to false before loading a file and call EmptyUndoBuffer after loading.

Parameters:
filename The name of the loaded file.
Returns:

bool wx.StyledText.StyledTextCtrl.LoadFile ( string  filename  ) 

Loading a file into the editor. Please note that loading a file is treated as an editor action. Loading a file will be reflected by the Undo/Redo-buffer and the control shall not be readonly when loading. This, you may wish to set ReadOnly to false before loading a file and call EmptyUndoBuffer after loading.

Parameters:
filename The name of the loaded file.
Returns:

int wx.StyledText.StyledTextCtrl.MarkerAdd ( int  line,
MarkNum  markerNumber 
)

void wx.StyledText.StyledTextCtrl.MarkerDefine ( MarkNum  markerNumber,
Mark  markerSymbol,
Colour  foreground,
Colour  background 
)

Defines a symbol for the designated marker.

Parameters:
markerNumber designates a particular marker that is used by this control to display some information.
markerSymbol is the index of a symbol that shall be used to display the marker.
foreground is the foreground colour to be used to draw the marker symbol
background is the background colour to be used to draw the marker symbol

void wx.StyledText.StyledTextCtrl.MarkerDefine ( MarkNum  markerNumber,
Mark  markerSymbol,
Colour  foreground 
)

Defines a symbol for the designated marker.

Parameters:
markerNumber designates a particular marker that is used by this control to display some information.
markerSymbol is the index of a symbol that shall be used to display the marker.
foreground is the foreground colour to be used to draw the marker symbol
background is the background colour to be used to draw the marker symbol

void wx.StyledText.StyledTextCtrl.MarkerDefine ( MarkNum  markerNumber,
Mark  markerSymbol 
)

Defines a symbol for the designated marker.

Parameters:
markerNumber designates a particular marker that is used by this control to display some information.
markerSymbol is the index of a symbol that shall be used to display the marker.

void wx.StyledText.StyledTextCtrl.MarkerDefineBitmap ( MarkNum  markerNumber,
Bitmap  bmp 
)

void wx.StyledText.StyledTextCtrl.MarkerDelete ( int  line,
MarkNum  markerNumber 
)

void wx.StyledText.StyledTextCtrl.MarkerDeleteAll ( MarkNum  markerNumber  ) 

void wx.StyledText.StyledTextCtrl.MarkerDeleteHandle ( int  handle  ) 

int wx.StyledText.StyledTextCtrl.MarkerGet ( int  line  ) 

int wx.StyledText.StyledTextCtrl.MarkerLineFromHandle ( int  handle  ) 

int wx.StyledText.StyledTextCtrl.MarkerNext ( int  lineStart,
int  markerMask 
)

int wx.StyledText.StyledTextCtrl.MarkerPrevious ( int  lineStart,
int  markerMask 
)

void wx.StyledText.StyledTextCtrl.MarkerSetBackground ( MarkNum  markerNumber,
Colour  back 
)

void wx.StyledText.StyledTextCtrl.MarkerSetForeground ( MarkNum  markerNumber,
Colour  fore 
)

void wx.StyledText.StyledTextCtrl.MoveCaretInsideView (  ) 

void wx.StyledText.StyledTextCtrl.Paste (  ) 

Point wx.StyledText.StyledTextCtrl.PointFromPosition ( int  pos  ) 

int wx.StyledText.StyledTextCtrl.PositionFromLine ( int  line  ) 

int wx.StyledText.StyledTextCtrl.PositionFromPoint ( Point  pt  ) 

Position from a position. This apparently does currently not work. However, this might be a problem of the origin of the coordinates. Mouse positions do not work.

int wx.StyledText.StyledTextCtrl.PositionFromPointClose ( int  x,
int  y 
)

void wx.StyledText.StyledTextCtrl.Redo (  ) 

void wx.StyledText.StyledTextCtrl.RegisterImage ( int  type,
Bitmap  bmp 
)

void wx.StyledText.StyledTextCtrl.ReleaseDocument ( Object  docPointer  ) 

void wx.StyledText.StyledTextCtrl.ReplaceSelection ( wxString  text  ) 

void wx.StyledText.StyledTextCtrl.ReplaceSelection ( string  text  ) 

int wx.StyledText.StyledTextCtrl.ReplaceTarget ( wxString  text  ) 

int wx.StyledText.StyledTextCtrl.ReplaceTarget ( string  text  ) 

int wx.StyledText.StyledTextCtrl.ReplaceTargetRE ( wxString  text  ) 

int wx.StyledText.StyledTextCtrl.ReplaceTargetRE ( string  text  ) 

bool wx.StyledText.StyledTextCtrl.SaveFile ( wxString  filename  ) 

bool wx.StyledText.StyledTextCtrl.SaveFile ( string  filename  ) 

void wx.StyledText.StyledTextCtrl.ScrollToColumn ( int  column  ) 

void wx.StyledText.StyledTextCtrl.ScrollToLine ( int  line  ) 

void wx.StyledText.StyledTextCtrl.SearchAnchor (  ) 

int wx.StyledText.StyledTextCtrl.SearchInTarget ( wxString  text  ) 

int wx.StyledText.StyledTextCtrl.SearchInTarget ( string  text  ) 

int wx.StyledText.StyledTextCtrl.SearchNext ( int  flags,
wxString  text 
)

int wx.StyledText.StyledTextCtrl.SearchNext ( int  flags,
string  text 
)

int wx.StyledText.StyledTextCtrl.SearchPrev ( int  flags,
wxString  text 
)

int wx.StyledText.StyledTextCtrl.SearchPrev ( int  flags,
string  text 
)

void wx.StyledText.StyledTextCtrl.SelectAll (  ) 

int wx.StyledText.StyledTextCtrl.SendMsg ( int  msg,
int  wp,
int  lp 
)

void wx.StyledText.StyledTextCtrl.SetFoldExpanded ( int  line,
bool  expanded 
)

Contract or expand fold below line (line must denote header line). Use ToggleFold().

void wx.StyledText.StyledTextCtrl.SetFoldLevel ( int  line,
int  level 
)

Sets the fold level of the designated line.

void wx.StyledText.StyledTextCtrl.SetFoldMarginColour ( bool  useSetting,
Colour  back 
)

void wx.StyledText.StyledTextCtrl.SetFoldMarginHiColour ( bool  useSetting,
Colour  fore 
)

void wx.StyledText.StyledTextCtrl.SetHotspotActiveBackground ( bool  useSetting,
Colour  back 
)

void wx.StyledText.StyledTextCtrl.SetHotspotActiveForeground ( bool  useSetting,
Colour  fore 
)

void wx.StyledText.StyledTextCtrl.SetHotspotActiveUnderline ( bool  underline  ) 

void wx.StyledText.StyledTextCtrl.SetKeyWords ( Keywords  keywordSet,
wxString  keyWords 
)

Defines a set of keywords of the specified type. This defines parameters that will be used by the lexer: a set of keywords separated by a single blank character.

void wx.StyledText.StyledTextCtrl.SetKeyWords ( Keywords  keywordSet,
string  keyWords 
)

Defines a set of keywords of the specified type. This defines parameters that will be used by the lexer: a set of keywords separated by a single blank character.

void wx.StyledText.StyledTextCtrl.SetKeyWords ( Keywords  keywordSet,
string[]  keywords 
)

Defines a set of keywords of the specified type. This defines parameters that will be used by the lexer: a set of keywords.

void wx.StyledText.StyledTextCtrl.SetLineIndentation ( int  line,
int  indentSize 
)

void wx.StyledText.StyledTextCtrl.SetLineState ( int  line,
int  state 
)

void wx.StyledText.StyledTextCtrl.SetMarginMask ( int  marginIndex,
MarginMask  mask 
)

Set a mask that determines which markers are displayed in a margin. Users of this control mey define a number of margins that may display symbols or line numbers etc.

void wx.StyledText.StyledTextCtrl.SetMargins ( int  left,
int  right 
)

void wx.StyledText.StyledTextCtrl.SetMarginSensitive ( int  marginIndex,
bool  sensitive 
)

Make a margin sensitive or insensitive to mouse clicks. Users of this control may define a number of margins that may display symbols or line numbers etc.

void wx.StyledText.StyledTextCtrl.SetMarginType ( int  marginIndex,
MarginType  marginType 
)

Set a margin to be either numeric or symbolic. Users of this control mey define a number of margins that may display symbols or line numbers etc.

void wx.StyledText.StyledTextCtrl.SetMarginWidth ( int  marginIndex,
int  pixelWidth 
)

Defines margin of the specified type in pixels. Users of this control mey define a number of margins that may display symbols or line numbers etc.

void wx.StyledText.StyledTextCtrl.SetProperty ( wxString  key,
wxString  value 
)

Defines properties.

void wx.StyledText.StyledTextCtrl.SetProperty ( string  key,
string  value 
)

Defines properties. Examples:

                SetProperty("fold", "1");
                SetProperty("fold.comment", "1");
                SetProperty("fold.compact", "1");

                SetProperty("fold.html", "1");
                SetProperty("fold.htmlprep", "1");
                SetProperty("fold.commentpy", "1");
                SetProperty("fold.quotespy", "1");

void wx.StyledText.StyledTextCtrl.SetSavePoint (  ) 

void wx.StyledText.StyledTextCtrl.SetSelBackground ( bool  useSetting,
Colour  back 
)

void wx.StyledText.StyledTextCtrl.SetSelection ( int  start,
int  end 
)

void wx.StyledText.StyledTextCtrl.SetSelForeground ( bool  useSetting,
Colour  fore 
)

void wx.StyledText.StyledTextCtrl.SetStyleBytes ( int  length,
byte[]  styleBytes 
)

void wx.StyledText.StyledTextCtrl.SetStyling ( int  length,
int  style 
)

void wx.StyledText.StyledTextCtrl.SetVisiblePolicy ( VisiblePolicies  visiblePolicy,
int  visibleSlop 
)

void wx.StyledText.StyledTextCtrl.SetWhitespaceBackground ( bool  useSetting,
Colour  back 
)

void wx.StyledText.StyledTextCtrl.SetWhitespaceForeground ( bool  useSetting,
Colour  fore 
)

void wx.StyledText.StyledTextCtrl.SetWordChars ( wxString  characters  ) 

void wx.StyledText.StyledTextCtrl.SetWordChars ( string  characters  ) 

void wx.StyledText.StyledTextCtrl.SetXCaretPolicy ( CaretPolicies  caretPolicy,
int  caretSlop 
)

void wx.StyledText.StyledTextCtrl.SetYCaretPolicy ( CaretPolicies  caretPolicy,
int  caretSlop 
)

void wx.StyledText.StyledTextCtrl.ShowLines ( int  lineStart,
int  lineEnd 
)

void wx.StyledText.StyledTextCtrl.StartRecord (  ) 

void wx.StyledText.StyledTextCtrl.StartStyling ( int  pos,
int  mask 
)

static string [] wx.StyledText.StyledTextCtrl.StatePrefixForLexer ( LexerId  lexer  )  [static]

This will return a prefix string defining all those values of STCStyle that describe valid states of lexer. Example: LexerId.CPP and LexerId.CPPNOCASE will return {"C_"}. The result may be null if this is not supported.

void wx.StyledText.StyledTextCtrl.StopRecord (  ) 

void wx.StyledText.StyledTextCtrl.StyleClearAll (  ) 

void wx.StyledText.StyledTextCtrl.StyleResetDefault (  ) 

void wx.StyledText.StyledTextCtrl.StyleSetBackground ( LexerStates  style,
Colour  fore 
)

void wx.StyledText.StyledTextCtrl.StyleSetBold ( LexerStates  style,
bool  fore 
)

void wx.StyledText.StyledTextCtrl.StyleSetCase ( LexerStates  style,
CaseForce  caseForce 
)

void wx.StyledText.StyledTextCtrl.StyleSetChangeable ( LexerStates  style,
bool  changeable 
)

void wx.StyledText.StyledTextCtrl.StyleSetCharacterSet ( LexerStates  style,
CharsetIdentifier  characterSet 
)

void wx.StyledText.StyledTextCtrl.StyleSetEOLFilled ( LexerStates  style,
bool  filled 
)

void wx.StyledText.StyledTextCtrl.StyleSetFaceName ( LexerStates  style,
string  fontName 
)

void wx.StyledText.StyledTextCtrl.StyleSetFont ( int  styleNum,
Font  font 
)

void wx.StyledText.StyledTextCtrl.StyleSetFont ( LexerStates  stateDescr,
Font  font 
)

void wx.StyledText.StyledTextCtrl.StyleSetFontAttr ( int  styleNum,
int  size,
wxString  faceName,
bool  bold,
bool  italic,
bool  underline 
)

void wx.StyledText.StyledTextCtrl.StyleSetFontAttr ( int  styleNum,
int  size,
string  faceName,
bool  bold,
bool  italic,
bool  underline 
)

void wx.StyledText.StyledTextCtrl.StyleSetFontAttr ( LexerStates  styleNum,
int  size,
string  faceName,
bool  bold,
bool  italic,
bool  underline 
)

void wx.StyledText.StyledTextCtrl.StyleSetForeground ( LexerStates  style,
Colour  fore 
)

void wx.StyledText.StyledTextCtrl.StyleSetHotSpot ( LexerStates  style,
bool  hotspot 
)

void wx.StyledText.StyledTextCtrl.StyleSetItalic ( LexerStates  style,
bool  italic 
)

void wx.StyledText.StyledTextCtrl.StyleSetSize ( LexerStates  style,
int  sizePoints 
)

void wx.StyledText.StyledTextCtrl.StyleSetSpec ( int  styleNum,
wxString  spec 
)

void wx.StyledText.StyledTextCtrl.StyleSetSpec ( int  styleNum,
string  spec 
)

Extract style settings from a spec-string which is composed of one or more of the following comma separated elements:

void wx.StyledText.StyledTextCtrl.StyleSetSpec ( LexerStates  stateDescr,
string  spec 
)

Extract style settings from a spec-string which is composed of one or more of the following comma separated elements:

void wx.StyledText.StyledTextCtrl.StyleSetUnderline ( LexerStates  style,
bool  underline 
)

void wx.StyledText.StyledTextCtrl.StyleSetVisible ( LexerStates  style,
bool  visible 
)

void wx.StyledText.StyledTextCtrl.TargetFromSelection (  ) 

int wx.StyledText.StyledTextCtrl.TextHeight ( int  line  ) 

int wx.StyledText.StyledTextCtrl.TextWidth ( int  style,
wxString  text 
)

int wx.StyledText.StyledTextCtrl.TextWidth ( int  style,
string  text 
)

void wx.StyledText.StyledTextCtrl.ToggleFold ( int  line  ) 

Toggles fold at line. The GetFoldLevelFlags(line) must contain FoldLevel.HEADERFLAG. This will fold up if the fold is expanded. This will fold down otherwise.

void wx.StyledText.StyledTextCtrl.Undo (  ) 

void wx.StyledText.StyledTextCtrl.UserListShow ( int  listType,
wxString  itemList 
)

Display a list of strings and send notification when user chooses one.

void wx.StyledText.StyledTextCtrl.UserListShow ( int  listType,
string  itemList 
)

Display a list of strings and send notification when user chooses one.

int wx.StyledText.StyledTextCtrl.VisibleFromDocLine ( int  line  ) 

int wx.StyledText.StyledTextCtrl.WordEndPosition ( int  pos,
bool  onlyWordCharacters 
)

void wx.StyledText.StyledTextCtrl.WordPartLeft (  ) 

void wx.StyledText.StyledTextCtrl.WordPartLeftExtend (  ) 

void wx.StyledText.StyledTextCtrl.WordPartRight (  ) 

void wx.StyledText.StyledTextCtrl.WordPartRightExtend (  ) 

int wx.StyledText.StyledTextCtrl.WordStartPosition ( int  pos,
bool  onlyWordCharacters 
)


Member Data Documentation

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_CALLTIP_CLICK = wxStyledTextCtrl_EVT_STC_CALLTIP_CLICK() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_CHANGE = wxStyledTextCtrl_EVT_STC_CHANGE() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_CHARADDED = wxStyledTextCtrl_EVT_STC_CHARADDED() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_DO_DROP = wxStyledTextCtrl_EVT_STC_DO_DROP() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_DOUBLECLICK = wxStyledTextCtrl_EVT_STC_DOUBLECLICK() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_DRAG_OVER = wxStyledTextCtrl_EVT_STC_DRAG_OVER() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_DWELLEND = wxStyledTextCtrl_EVT_STC_DWELLEND() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_DWELLSTART = wxStyledTextCtrl_EVT_STC_DWELLSTART() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_HOTSPOT_CLICK = wxStyledTextCtrl_EVT_STC_HOTSPOT_CLICK() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_HOTSPOT_DCLICK = wxStyledTextCtrl_EVT_STC_HOTSPOT_DCLICK() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_KEY = wxStyledTextCtrl_EVT_STC_KEY() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_MACRORECORD = wxStyledTextCtrl_EVT_STC_MACRORECORD() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_MARGINCLICK = wxStyledTextCtrl_EVT_STC_MARGINCLICK() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_MODIFIED = wxStyledTextCtrl_EVT_STC_MODIFIED() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_NEEDSHOWN = wxStyledTextCtrl_EVT_STC_NEEDSHOWN() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_PAINTED = wxStyledTextCtrl_EVT_STC_PAINTED() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_ROMODIFYATTEMPT = wxStyledTextCtrl_EVT_STC_ROMODIFYATTEMPT() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_SAVEPOINTLEFT = wxStyledTextCtrl_EVT_STC_SAVEPOINTLEFT() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_SAVEPOINTREACHED = wxStyledTextCtrl_EVT_STC_SAVEPOINTREACHED() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_START_DRAG = wxStyledTextCtrl_EVT_STC_START_DRAG() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_STYLENEEDED = wxStyledTextCtrl_EVT_STC_STYLENEEDED() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_UPDATEUI = wxStyledTextCtrl_EVT_STC_UPDATEUI() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_URIDROPPED = wxStyledTextCtrl_EVT_STC_URIDROPPED() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_USERLISTSELECTION = wxStyledTextCtrl_EVT_STC_USERLISTSELECTION() [static]

readonly int wx.StyledText.StyledTextCtrl.wxEVT_STC_ZOOM = wxStyledTextCtrl_EVT_STC_ZOOM() [static]

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_BACKTAB = 2328

Dedent the selected lines.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_CANCEL = 2325

Cancel any modes such as call tip or auto-completion list display.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_CHARLEFT = 2304

Move caret left one character.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_CHARLEFTEXTEND = 2305

Move caret left one character extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_CHARRIGHT = 2306

Move caret right one character.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_CHARRIGHTEXTEND = 2307

Move caret right one character extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_CLEAR = 2180

Clear the selection.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_COPY = 2178

Copy the selection to the clipboard.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_CUT = 2177

Cut the selection to the clipboard.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_DELETEBACK = 2326

Delete the selection or if no selection, the character before the caret.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_DELETEBACKNOTLINE = 2344

Delete the selection or if no selection, the character before the caret.

Will not delete the character before at the start of a line.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_DELLINELEFT = 2395

Delete back from the current position to the start of the line.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_DELLINERIGHT = 2396

Delete forwards from the current position to the end of the line.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_DELWORDLEFT = 2335

Delete the word to the left of the caret.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_DELWORDRIGHT = 2336

Delete the word to the right of the caret.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_DOCUMENTEND = 2318

Move caret to last position in document.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_DOCUMENTENDEXTEND = 2319

Move caret to last position in document extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_DOCUMENTSTART = 2316

Move caret to first position in document.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_DOCUMENTSTARTEXTEND = 2317

Move caret to first position in document extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_EDITTOGGLEOVERTYPE = 2324

Switch from insert to overtype mode or the reverse.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_FORMFEED = 2330

Insert a Form Feed character.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_HOME = 2312

Move caret to first position on line.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_HOMEDISPLAY = 2345

Move caret to first position on display line.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_HOMEDISPLAYEXTEND = 2346

Move caret to first position on display line extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_HOMEEXTEND = 2313

Move caret to first position on line extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_HOMEWRAP = 2349

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_HOMEWRAPEXTEND = 2450

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINECUT = 2337

Cut the line containing the caret.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINEDELETE = 2338

Delete the line containing the caret.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINEDOWN = 2300

Move caret down one line.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINEDOWNEXTEND = 2301

Move caret down one line extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINEDUPLICATE = 2404

Duplicate the current line.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINEEND = 2314

Move caret to last position on line.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINEENDDISPLAY = 2347

Move caret to last position on display line.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINEENDDISPLAYEXTEND = 2348

Move caret to last position on display line extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINEENDEXTEND = 2315

Move caret to last position on line extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINEENDWRAP = 2451

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINEENDWRAPEXTEND = 2452

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINESCROLLDOWN = 2342

Scroll the document down, keeping the caret visible.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINESCROLLUP = 2343

Scroll the document up, keeping the caret visible.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINETRANSPOSE = 2339

Switch the current line with the previous.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINEUP = 2302

Move caret up one line.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LINEUPEXTEND = 2303

Move caret up one line extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_LOWERCASE = 2340

Transform the selection to lower case.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_NEWLINE = 2329

Insert a new line, may use a CRLF, CR or LF depending on EOL mode.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_PAGEDOWN = 2322

Move caret one page down.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_PAGEDOWNEXTEND = 2323

Move caret one page down extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_PAGEUP = 2320

Move caret one page up.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_PAGEUPEXTEND = 2321

Move caret one page up extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_PARADOWN = 2413

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_PARADOWNEXTEND = 2414

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_PARAUP = 2415

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_PARAUPEXTEND = 2416

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_PASTE = 2179

Paste the contents of the clipboard into the document replacing the selection.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_REDO = 2011

Redoes the next action on the undo history.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_SELECTALL = 2013

Select all the text in the document.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_TAB = 2327

If selection is empty or all on one line replace the selection with a tab character.

If more than one line selected, indent the lines.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_UNDO = 2176

Undo one action in the undo history.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_UPPERCASE = 2341

Transform the selection to upper case.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_VCHOME = 2331

Move caret to before first visible character on line.

If already there move to first character on line.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_VCHOMEEXTEND = 2332

Like VCHome but extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_VCHOMEWRAP = 2453

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_VCHOMEWRAPEXTEND = 2454

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_WORDLEFT = 2308

Move caret left one word.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_WORDLEFTEXTEND = 2309

Move caret left one word extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_WORDPARTLEFT = 2390

Move to the previous change in capitalisation.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_WORDPARTLEFTEXTEND = 2391

Move to the previous change in capitalisation extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_WORDPARTRIGHT = 2392

Move to the change next in capitalisation.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_WORDPARTRIGHTEXTEND = 2393

Move to the next change in capitalisation extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_WORDRIGHT = 2310

Move caret right one word.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_WORDRIGHTEXTEND = 2311

Move caret right one word extending selection to new caret position.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_ZOOMIN = 2333

Magnify the displayed text by increasing the sizes by 1 point.

const int wx.StyledText.StyledTextCtrl.wxSTC_CMD_ZOOMOUT = 2334

Make the displayed text smaller by decreasing the sizes by 1 point.

const int wx.StyledText.StyledTextCtrl.wxSTC_CP_DBCS = 1

The SC_CP_DBCS value can be used to indicate a DBCS mode for GTK+.

const int wx.StyledText.StyledTextCtrl.wxSTC_CP_UTF8 = 65001

The SC_CP_UTF8 value can be used to enter Unicode mode. This is the same value as CP_UTF8 in Windows

const int wx.StyledText.StyledTextCtrl.wxSTC_FIND_MATCHCASE = 4

const int wx.StyledText.StyledTextCtrl.wxSTC_FIND_POSIX = 0x00400000

const int wx.StyledText.StyledTextCtrl.wxSTC_FIND_REGEXP = 0x00200000

const int wx.StyledText.StyledTextCtrl.wxSTC_FIND_WHOLEWORD = 2

const int wx.StyledText.StyledTextCtrl.wxSTC_FIND_WORDSTART = 0x00100000

const int wx.StyledText.StyledTextCtrl.wxSTC_INDIC0_MASK = 0x20

const int wx.StyledText.StyledTextCtrl.wxSTC_INDIC1_MASK = 0x40

const int wx.StyledText.StyledTextCtrl.wxSTC_INDIC2_MASK = 0x80

const int wx.StyledText.StyledTextCtrl.wxSTC_INDIC_DIAGONAL = 3

const int wx.StyledText.StyledTextCtrl.wxSTC_INDIC_MAX = 7

const int wx.StyledText.StyledTextCtrl.wxSTC_INDIC_PLAIN = 0

const int wx.StyledText.StyledTextCtrl.wxSTC_INDIC_SQUIGGLE = 1

const int wx.StyledText.StyledTextCtrl.wxSTC_INDIC_STRIKE = 4

const int wx.StyledText.StyledTextCtrl.wxSTC_INDIC_TT = 2

const int wx.StyledText.StyledTextCtrl.wxSTC_INDICS_MASK = 0xE0

const int wx.StyledText.StyledTextCtrl.wxSTC_INVALID_POSITION = -1

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_ADD = 310

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_BACK = 8

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_DELETE = 308

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_DIVIDE = 312

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_DOWN = 300

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_END = 305

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_ESCAPE = 7

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_HOME = 304

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_INSERT = 309

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_LEFT = 302

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_NEXT = 307

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_PRIOR = 306

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_RETURN = 13

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_RIGHT = 303

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_SUBTRACT = 311

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_TAB = 9

const int wx.StyledText.StyledTextCtrl.wxSTC_KEY_UP = 301

const int wx.StyledText.StyledTextCtrl.wxSTC_LASTSTEPINUNDOREDO = 0x100

const int wx.StyledText.StyledTextCtrl.wxSTC_LEXER_START = 4000

const int wx.StyledText.StyledTextCtrl.wxSTC_MOD_BEFOREDELETE = 0x800

const int wx.StyledText.StyledTextCtrl.wxSTC_MOD_BEFOREINSERT = 0x400

const int wx.StyledText.StyledTextCtrl.wxSTC_MOD_CHANGEFOLD = 0x8

const int wx.StyledText.StyledTextCtrl.wxSTC_MOD_CHANGEMARKER = 0x200

const int wx.StyledText.StyledTextCtrl.wxSTC_MOD_CHANGESTYLE = 0x4

const int wx.StyledText.StyledTextCtrl.wxSTC_MOD_DELETETEXT = 0x2

const int wx.StyledText.StyledTextCtrl.wxSTC_MOD_INSERTTEXT = 0x1

const int wx.StyledText.StyledTextCtrl.wxSTC_MODEVENTMASKALL = 0xF77

const int wx.StyledText.StyledTextCtrl.wxSTC_OPTIONAL_START = 3000

const int wx.StyledText.StyledTextCtrl.wxSTC_PERFORMED_REDO = 0x40

const int wx.StyledText.StyledTextCtrl.wxSTC_PERFORMED_UNDO = 0x20

const int wx.StyledText.StyledTextCtrl.wxSTC_PERFORMED_USER = 0x10

const int wx.StyledText.StyledTextCtrl.wxSTC_PRINT_BLACKONWHITE = 2

PrintColourMode - force black text on white background for printing.

const int wx.StyledText.StyledTextCtrl.wxSTC_PRINT_COLOURONWHITE = 3

PrintColourMode - text stays coloured, but all background is forced to be white for printing.

const int wx.StyledText.StyledTextCtrl.wxSTC_PRINT_COLOURONWHITEDEFAULTBG = 4

PrintColourMode - only the default-background is forced to be white for printing.

const int wx.StyledText.StyledTextCtrl.wxSTC_PRINT_INVERTLIGHT = 1

PrintColourMode - invert the light value of each style for printing.

const int wx.StyledText.StyledTextCtrl.wxSTC_PRINT_NORMAL = 0

PrintColourMode - use same colours as screen.

const int wx.StyledText.StyledTextCtrl.wxSTC_SCMOD_ALT = 4

const int wx.StyledText.StyledTextCtrl.wxSTC_SCMOD_CTRL = 2

const int wx.StyledText.StyledTextCtrl.wxSTC_SCMOD_SHIFT = 1

const int wx.StyledText.StyledTextCtrl.wxSTC_START = 2000

const int wx.StyledText.StyledTextCtrl.wxSTC_TIME_FOREVER = 10000000


Property Documentation

int wx.StyledText.StyledTextCtrl.Anchor [get, set]

bool wx.StyledText.StyledTextCtrl.AutoCompActive [get]

Is there an auto-completion list visible?

bool wx.StyledText.StyledTextCtrl.AutoCompAutoHide [get, set]

Set whether case is significant when performing auto-completion searches.

bool wx.StyledText.StyledTextCtrl.AutoCompCancelAtStart [get, set]

Should the auto-completion list be cancelled if the user backspaces to a position before where the box was created.

bool wx.StyledText.StyledTextCtrl.AutoCompChooseSingle [get, set]

Should a single item auto-completion list automatically choose the item.

bool wx.StyledText.StyledTextCtrl.AutoCompDropRestOfWord [get, set]

Retrieve whether or not autocompletion deletes any word characters after the inserted text upon completion.

string wx.StyledText.StyledTextCtrl.AutoCompFillUps [set]

Defines a set of characters that when typed will cause the autocompletion to choose the selected item.

bool wx.StyledText.StyledTextCtrl.AutoCompIgnoreCase [get, set]

Retrieve whether a single item auto-completion list automatically choose the item.

int wx.StyledText.StyledTextCtrl.AutoCompPosStart [get]

Retrieve the position of the caret when the auto-completion list was displayed.

char wx.StyledText.StyledTextCtrl.AutoCompSeparator [get, set]

Gets or changes the separator character in the string setting up an auto-completion list. Default is space but can be changed if items contain space.

string wx.StyledText.StyledTextCtrl.AutoCompStops [set]

Define a set of character that when typed cancel the auto-completion list.

int wx.StyledText.StyledTextCtrl.AutoCompTypeSeparator [get, set]

Retrieve the auto-completion list type-separator character.

bool wx.StyledText.StyledTextCtrl.BackSpaceUnIndents [get, set]

bool wx.StyledText.StyledTextCtrl.BufferedDraw [get, set]

bool wx.StyledText.StyledTextCtrl.CallTipActive [get]

Colour wx.StyledText.StyledTextCtrl.CallTipBackground [set]

Colour wx.StyledText.StyledTextCtrl.CallTipForeground [set]

Colour wx.StyledText.StyledTextCtrl.CallTipForegroundHighlight [set]

int wx.StyledText.StyledTextCtrl.CallTipPosAtStart [get]

bool wx.StyledText.StyledTextCtrl.CanPaste [get]

bool wx.StyledText.StyledTextCtrl.CanRedo [get]

bool wx.StyledText.StyledTextCtrl.CanUndo [get]

Colour wx.StyledText.StyledTextCtrl.CaretForeground [get, set]

Colour wx.StyledText.StyledTextCtrl.CaretLineBack [get, set]

bool wx.StyledText.StyledTextCtrl.CaretLineVisible [get, set]

int wx.StyledText.StyledTextCtrl.CaretPeriod [get, set]

int wx.StyledText.StyledTextCtrl.CaretWidth [get, set]

int wx.StyledText.StyledTextCtrl.CodePage [get, set]

int wx.StyledText.StyledTextCtrl.ControlCharSymbol [get, set]

string wx.StyledText.StyledTextCtrl.CurLine [get]

int wx.StyledText.StyledTextCtrl.CurrentLine [get]

int wx.StyledText.StyledTextCtrl.CurrentPos [get, set]

Object wx.StyledText.StyledTextCtrl.DocPointer [get, set]

Colour wx.StyledText.StyledTextCtrl.EdgeColour [get, set]

int wx.StyledText.StyledTextCtrl.EdgeColumn [get, set]

EdgeModes wx.StyledText.StyledTextCtrl.EdgeMode [get, set]

bool wx.StyledText.StyledTextCtrl.EndAtLastLine [get, set]

int wx.StyledText.StyledTextCtrl.EndStyled [get]

EOLModes wx.StyledText.StyledTextCtrl.EOLMode [get, set]

int wx.StyledText.StyledTextCtrl.FirstVisibleLine [get]

TheFoldFlags wx.StyledText.StyledTextCtrl.FoldFlags [set]

Defines some flags for folding. Do not forget to define markers in order to configure a fine looking folding capability.

bool wx.StyledText.StyledTextCtrl.HideSelection [set]

int wx.StyledText.StyledTextCtrl.HighlightGuide [get, set]

int wx.StyledText.StyledTextCtrl.Indent [get, set]

bool wx.StyledText.StyledTextCtrl.IndentationGuides [get, set]

bool wx.StyledText.StyledTextCtrl.LastKeydownProcessed [get, set]

LayoutCacheModes wx.StyledText.StyledTextCtrl.LayoutCache [get, set]

int wx.StyledText.StyledTextCtrl.Length [get]

LexerId wx.StyledText.StyledTextCtrl.Lexer [get, set]

Returns or defines the used lexer.

string wx.StyledText.StyledTextCtrl.LexerLanguage [set]

int wx.StyledText.StyledTextCtrl.LineCount [get]

int wx.StyledText.StyledTextCtrl.LinesOnScreen [get]

int wx.StyledText.StyledTextCtrl.MarginLeft [get, set]

int wx.StyledText.StyledTextCtrl.MarginRight [get, set]

int wx.StyledText.StyledTextCtrl.MaxLineState [get]

int wx.StyledText.StyledTextCtrl.ModEventMask [get, set]

bool wx.StyledText.StyledTextCtrl.Modify [get]

True if this contains unsafed changes.

bool wx.StyledText.StyledTextCtrl.MouseDownCaptures [get, set]

int wx.StyledText.StyledTextCtrl.MouseDwellTime [get, set]

bool wx.StyledText.StyledTextCtrl.Overtype [get, set]

Read or set overtype mode (in contrast to insert mode).

int wx.StyledText.StyledTextCtrl.PrintColourMode [get, set]

int wx.StyledText.StyledTextCtrl.PrintMagnification [get, set]

WrapModes wx.StyledText.StyledTextCtrl.PrintWrapMode [get, set]

bool wx.StyledText.StyledTextCtrl.ReadOnly [get, set]

int wx.StyledText.StyledTextCtrl.ScrollWidth [get, set]

string wx.StyledText.StyledTextCtrl.SelectedText [get]

int wx.StyledText.StyledTextCtrl.SelectionEnd [get, set]

bool wx.StyledText.StyledTextCtrl.SelectionIsRectangle [get]

int wx.StyledText.StyledTextCtrl.SelectionStart [get, set]

int wx.StyledText.StyledTextCtrl.SetSearchFlags [get, set]

int wx.StyledText.StyledTextCtrl.Status [get, set]

STCCursors wx.StyledText.StyledTextCtrl.STCCursor [get, set]

bool wx.StyledText.StyledTextCtrl.STCFocus [get, set]

int wx.StyledText.StyledTextCtrl.styleBits [get, set]

bool wx.StyledText.StyledTextCtrl.TabIndents [get, set]

int wx.StyledText.StyledTextCtrl.TabWidth [get, set]

int wx.StyledText.StyledTextCtrl.TargetEnd [get, set]

int wx.StyledText.StyledTextCtrl.TargetStart [get, set]

string wx.StyledText.StyledTextCtrl.Text [get, set]

int wx.StyledText.StyledTextCtrl.TextLength [get]

bool wx.StyledText.StyledTextCtrl.TwoPhaseDraw [get, set]

bool wx.StyledText.StyledTextCtrl.UndoCollection [get, set]

bool wx.StyledText.StyledTextCtrl.UseHorizontalScrollBar [get, set]

bool wx.StyledText.StyledTextCtrl.UsePopUp [set]

bool wx.StyledText.StyledTextCtrl.UseTabs [get, set]

Indentation will only use space characters if useTabs is false, otherwise it will use a combination of tabs and spaces.

bool wx.StyledText.StyledTextCtrl.UseVerticalScrollBar [get, set]

bool wx.StyledText.StyledTextCtrl.ViewEOL [get, set]

WhiteSpaceModes wx.StyledText.StyledTextCtrl.ViewWhiteSpace [get, set]

Defines how to view white spaces.

WrapModes wx.StyledText.StyledTextCtrl.WrapMode [get, set]

int wx.StyledText.StyledTextCtrl.XOffset [get, set]

int wx.StyledText.StyledTextCtrl.Zoom [get, set]


Event Documentation

event EventListener wx.StyledText.StyledTextCtrl.CalltipClick [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.Change [add, remove]

This will be raised on any kind of change. Use Modify() in the event handler if you want to trigger actions only if the text has been changed.

event EventListener wx.StyledText.StyledTextCtrl.CharAdded [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.DoDrop [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.DoubleClick [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.DragOver [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.DwellEnd [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.DwellStart [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.HotspotClick [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.HotspotDoubleClick [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.Key [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.MacroRecord [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.MarginClick [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.Modified [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.NeedShown [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.Paint [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.ROModifyAttempt [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.SavePointLeft [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.SavePointReached [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.StartDrag [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.StyleNeeded [add, remove]

override event EventListener wx.StyledText.StyledTextCtrl.UpdateUI [add, remove]

Adds a listener to the wx.Event.wxEVT_UPDATE_UI.

Reimplemented from wx.Window.

event EventListener wx.StyledText.StyledTextCtrl.URIDropped [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.UserListSelection [add, remove]

event EventListener wx.StyledText.StyledTextCtrl.Zoomed [add, remove]


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads