
Public Member Functions | |
| this (IntPtr wxobj) | |
| this (Window parent, int id, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=0, string name=wxSTCNameStr) | |
| this (Window parent, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=0, string name=wxSTCNameStr) | |
| void | AddText (string text) |
| void | InsertText (int pos, string text) |
| void | ClearAll () |
| void | ClearDocumentStyle () |
| int | Length () |
| int | GetCharAt (int pos) |
| int | CurrentPos () |
| void | CurrentPos (int value) |
| int | Anchor () |
| void | Anchor (int value) |
| int | GetStyleAt (int pos) |
| void | Redo () |
| bool | UndoCollection () |
| void | UndoCollection (bool value) |
| void | SelectAll () |
| void | SetSavePoint () |
| bool | CanRedo () |
| int | MarkerLineFromHandle (int handle) |
| void | MarkerDeleteHandle (int handle) |
| int | ViewWhiteSpace () |
| void | ViewWhiteSpace (int value) |
| int | PositionFromPoint (Point pt) |
| int | PositionFromPointClose (int x, int y) |
| void | GotoLine (int line) |
| void | GotoPos (int pos) |
| string | CurLine () |
| string | GetCurLine (out int linePos) |
| int | EndStyled () |
| void | ConvertEOLs (int eolMode) |
| int | EOLMode () |
| void | EOLMode (int value) |
| void | StartStyling (int pos, int mask) |
| void | SetStyling (int length, int style) |
| bool | BufferedDraw () |
| void | BufferedDraw (bool value) |
| int | TabWidth () |
| void | TabWidth (int value) |
| int | CodePage () |
| void | CodePage (int value) |
| void | MarkerDefine (int markerNumber, int markerSymbol, Colour foreground, Colour background) |
| void | MarkerSetForeground (int markerNumber, Colour fore) |
| void | MarkerSetBackground (int markerNumber, Colour back) |
| int | MarkerAdd (int line, int markerNumber) |
| void | MarkerDelete (int line, int markerNumber) |
| void | MarkerDeleteAll (int markerNumber) |
| int | MarkerGet (int line) |
| int | MarkerNext (int lineStart, int markerMask) |
| int | MarkerPrevious (int lineStart, int markerMask) |
| void | MarkerDefineBitmap (int markerNumber, Bitmap bmp) |
| void | SetMarginType (int margin, int marginType) |
| int | GetMarginType (int margin) |
| void | SetMarginWidth (int margin, int pixelWidth) |
| int | GetMarginWidth (int margin) |
| void | SetMarginMask (int margin, int mask) |
| int | GetMarginMask (int margin) |
| void | SetMarginSensitive (int margin, bool sensitive) |
| bool | GetMarginSensitive (int margin) |
| void | StyleClearAll () |
| void | StyleSetForeground (int style, Colour fore) |
| void | StyleSetBackground (int style, Colour back) |
| void | StyleSetBold (int style, bool bold) |
| void | StyleSetItalic (int style, bool italic) |
| void | StyleSetSize (int style, int sizePoints) |
| void | StyleSetFaceName (int style, string fontName) |
| void | StyleSetEOLFilled (int style, bool filled) |
| void | StyleResetDefault () |
| void | StyleSetUnderline (int style, bool underline) |
| void | StyleSetCase (int style, int caseForce) |
| void | StyleSetCharacterSet (int style, int characterSet) |
| void | StyleSetHotSpot (int style, bool hotspot) |
| void | StyleSetVisible (int style, bool visible) |
| void | StyleSetChangeable (int style, bool changeable) |
| void | SetSelForeground (bool useSetting, Colour fore) |
| void | SetSelBackground (bool useSetting, Colour back) |
| Colour | CaretForeground () |
| void | CaretForeground (Colour value) |
| void | CmdKeyAssign (int key, int modifiers, int cmd) |
| void | CmdKeyClear (int key, int modifiers) |
| void | CmdKeyClearAll () |
| void | SetStyleBytes (ubyte[] styleBytes) |
| int | CaretPeriod () |
| void | CaretPeriod (int value) |
| void | SetWordChars (string characters) |
| void | BeginUndoAction () |
| void | EndUndoAction () |
| void | IndicatorSetStyle (int indic, int style) |
| int | IndicatorGetStyle (int indic) |
| void | IndicatorSetForeground (int indic, Colour fore) |
| Colour | IndicatorGetForeground (int indic) |
| void | SetWhitespaceForeground (bool useSetting, Colour fore) |
| void | SetWhitespaceBackground (bool useSetting, Colour back) |
| int | StyleBits () |
| void | StyleBits (int value) |
| void | SetLineState (int line, int state) |
| int | GetLineState (int line) |
| int | MaxLineState () |
| bool | CaretLineVisible () |
| void | CaretLineVisible (bool value) |
| Colour | CaretLineBack () |
| void | CaretLineBack (Colour value) |
| void | AutoCompShow (int lenEntered, string itemList) |
| void | AutoCompCancel () |
| bool | AutoCompActive () |
| int | AutoCompPosStart () |
| void | AutoCompComplete () |
| void | AutoCompStops (string value) |
| char | AutoCompSeparator () |
| void | AutoCompSeparator (char value) |
| void | AutoCompSelect (string text) |
| bool | AutoCompCancelAtStart () |
| void | AutoCompCancelAtStart (bool value) |
| void | AutoCompFillUps (string value) |
| bool | AutoCompChooseSingle () |
| void | AutoCompChooseSingle (bool value) |
| bool | AutoCompIgnoreCase () |
| void | AutoCompIgnoreCase (bool value) |
| void | AutoCompAutoHide (bool value) |
| bool | AutoCompAutoHide () |
| void | AutoCompDropRestOfWord (bool value) |
| bool | AutoCompDropRestOfWord () |
| int | AutoCompTypeSeparator () |
| void | AutoCompTypeSeparator (int value) |
| void | UserListShow (int listType, string itemList) |
| void | RegisterImage (int type, Bitmap bmp) |
| void | ClearRegisteredImages () |
| int | Indent () |
| void | Indent (int value) |
| bool | UseTabs () |
| void | UseTabs (bool value) |
| void | SetLineIndentation (int line, int indentSize) |
| int | GetLineIndentation (int line) |
| int | GetLineIndentPosition (int line) |
| int | GetColumn (int pos) |
| void | UseHorizontalScrollBar (bool value) |
| bool | UseHorizontalScrollBar () |
| void | IndentationGuides (bool value) |
| bool | IndentationGuides () |
| int | HighlightGuide () |
| void | HighlightGuide (int value) |
| int | GetLineEndPosition (int line) |
| bool | ReadOnly () |
| void | ReadOnly (bool value) |
| int | SelectionStart () |
| void | SelectionStart (int value) |
| int | SelectionEnd () |
| void | SelectionEnd (int value) |
| int | PrintMagnification () |
| void | PrintMagnification (int value) |
| int | PrintColourMode () |
| void | PrintColourMode (int value) |
| 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 | FirstVisibleLine () |
| string | GetLine (int line) |
| int | LineCount () |
| int | MarginLeft () |
| void | MarginLeft (int value) |
| int | MarginRight () |
| void | MarginRight (int value) |
| bool | Modify () |
| void | SetSelection (int start, int end) |
| string | SelectedText () |
| string | GetTextRange (int startPos, int endPos) |
| void | HideSelection (bool value) |
| int | LineFromPosition (int pos) |
| int | PositionFromLine (int line) |
| void | LineScroll (int columns, int lines) |
| void | EnsureCaretVisible () |
| void | ReplaceSelection (string text) |
| bool | CanPaste () |
| bool | CanUndo () |
| void | EmptyUndoBuffer () |
| void | Undo () |
| void | Cut () |
| void | Copy () |
| void | Paste () |
| void | Clear () |
| void | Text (string value) |
| string | Text () |
| int | TextLength () |
| bool | Overtype () |
| void | Overtype (bool value) |
| int | CaretWidth () |
| void | CaretWidth (int value) |
| int | TargetStart () |
| void | TargetStart (int value) |
| int | TargetEnd () |
| void | TargetEnd (int value) |
| int | ReplaceTarget (string text) |
| int | ReplaceTargetRE (string text) |
| int | SearchInTarget (string text) |
| int | SetSearchFlags () |
| void | SetSearchFlags (int value) |
| void | CallTipShow (int pos, string definition) |
| void | CallTipCancel () |
| bool | CallTipActive () |
| int | CallTipPosAtStart () |
| void | CallTipSetHighlight (int start, int end) |
| void | CallTipBackground (Colour value) |
| void | CallTipForeground (Colour value) |
| void | CallTipForegroundHighlight (Colour value) |
| int | VisibleFromDocLine (int line) |
| int | DocLineFromVisible (int lineDisplay) |
| void | SetFoldLevel (int line, int level) |
| int | GetFoldLevel (int line) |
| int | GetLastChild (int line, int level) |
| int | GetFoldParent (int line) |
| void | ShowLines (int lineStart, int lineEnd) |
| void | HideLines (int lineStart, int lineEnd) |
| bool | GetLineVisible (int line) |
| void | SetFoldExpanded (int line, bool expanded) |
| bool | GetFoldExpanded (int line) |
| void | ToggleFold (int line) |
| void | EnsureVisible (int line) |
| void | FoldFlags (int value) |
| void | EnsureVisibleEnforcePolicy (int line) |
| bool | TabIndents () |
| void | TabIndents (bool value) |
| bool | BackSpaceUnIndents () |
| void | BackSpaceUnIndents (bool value) |
| void | MouseDwellTime (int value) |
| int | MouseDwellTime () |
| int | WordStartPosition (int pos, bool onlyWordCharacters) |
| int | WordEndPosition (int pos, bool onlyWordCharacters) |
| int | WrapMode () |
| void | WrapMode (int value) |
| void | LayoutCache (int value) |
| int | LayoutCache () |
| int | ScrollWidth () |
| void | ScrollWidth (int value) |
| int | TextWidth (int style, string text) |
| bool | EndAtLastLine () |
| void | EndAtLastLine (bool value) |
| int | TextHeight (int line) |
| bool | UseVerticalScrollBar () |
| void | UseVerticalScrollBar (bool value) |
| void | AppendText (int length, string text) |
| bool | TwoPhaseDraw () |
| void | TwoPhaseDraw (bool value) |
| void | TargetFromSelection () |
| void | LinesJoin () |
| void | LinesSplit (int pixelWidth) |
| void | SetFoldMarginColour (bool useSetting, Colour back) |
| void | SetFoldMarginHiColour (bool useSetting, Colour fore) |
| void | LineDuplicate () |
| void | HomeDisplay () |
| void | HomeDisplayExtend () |
| void | LineEndDisplay () |
| void | LineEndDisplayExtend () |
| void | MoveCaretInsideView () |
| int | LineLength (int line) |
| void | BraceHighlight (int pos1, int pos2) |
| void | BraceBadLight (int pos) |
| int | BraceMatch (int pos) |
| bool | ViewEOL () |
| void | ViewEOL (bool value) |
| wxObject | DocPointer () |
| void | DocPointer (wxObject value) |
| int | ModEventMask () |
| void | ModEventMask (int value) |
| int | EdgeColumn () |
| void | EdgeColumn (int value) |
| int | EdgeMode () |
| void | EdgeMode (int value) |
| Colour | EdgeColour () |
| void | EdgeColour (Colour value) |
| void | SearchAnchor () |
| int | SearchNext (int flags, string text) |
| int | SearchPrev (int flags, string text) |
| int | LinesOnScreen () |
| void | UsePopUp (bool value) |
| bool | SelectionIsRectangle () |
| int | Zoom () |
| void | Zoom (int value) |
| void | CreateDocument () |
| void | AddRefDocument (wxObject docPointer) |
| void | ReleaseDocument (wxObject docPointer) |
| bool | STCFocus () |
| void | STCFocus (bool value) |
| int | Status () |
| void | Status (int value) |
| bool | MouseDownCaptures () |
| void | MouseDownCaptures (bool value) |
| void | STCCursor (int value) |
| int | STCCursor () |
| void | ControlCharSymbol (int value) |
| int | ControlCharSymbol () |
| void | WordPartLeft () |
| void | WordPartLeftExtend () |
| void | WordPartRight () |
| void | WordPartRightExtend () |
| void | SetVisiblePolicy (int visiblePolicy, int visibleSlop) |
| void | DelLineLeft () |
| void | DelLineRight () |
| void | XOffset (int value) |
| int | XOffset () |
| void | ChooseCaretX () |
| void | SetXCaretPolicy (int caretPolicy, int caretSlop) |
| void | SetYCaretPolicy (int caretPolicy, int caretSlop) |
| void | PrintWrapMode (int value) |
| int | PrintWrapMode () |
| void | SetHotspotActiveForeground (bool useSetting, Colour fore) |
| void | SetHotspotActiveBackground (bool useSetting, Colour back) |
| void | SetHotspotActiveUnderline (bool underline) |
| void | StartRecord () |
| void | StopRecord () |
| void | Lexer (int value) |
| int | Lexer () |
| void | Colourise (int start, int end) |
| void | SetProperty (string key, string value) |
| void | SetKeyWords (int keywordSet, string keyWords) |
| void | LexerLanguage (string value) |
| int | CurrentLine () |
| void | StyleSetSpec (int styleNum, string spec) |
| void | StyleSetFont (int styleNum, Font font) |
| void | StyleSetFontAttr (int styleNum, int size, string faceName, bool bold, bool italic, bool underline) |
| void | CmdKeyExecute (int cmd) |
| void | SetMargins (int left, int right) |
| void | GetSelection (out int startPos, out int endPos) |
| Point | PointFromPosition (int pos) |
| void | ScrollToLine (int line) |
| void | ScrollToColumn (int column) |
| bool | LastKeydownProcessed () |
| void | LastKeydownProcessed (bool value) |
| bool | SaveFile (string filename) |
| bool | LoadFile (string filename) |
| void | Change_Add (EventListener value) |
| void | Change_Remove (EventListener value) |
| void | StyleNeeded_Add (EventListener value) |
| void | StyleNeeded_Remove (EventListener value) |
| void | CharAdded_Add (EventListener value) |
| void | CharAdded_Remove (EventListener value) |
| void | SavePointReached_Add (EventListener value) |
| void | SavePointReached_Remove (EventListener value) |
| void | SavePointLeft_Add (EventListener value) |
| void | SavePointLeft_Remove (EventListener value) |
| void | ROModifyAttempt_Add (EventListener value) |
| void | ROModifyAttempt_Remove (EventListener value) |
| void | Key_Add (EventListener value) |
| void | Key_Remove (EventListener value) |
| void | DoubleClick_Add (EventListener value) |
| void | DoubleClick_Remove (EventListener value) |
| void | UpdateUI_Add (EventListener value) |
| void | UpdateUI_Remove (EventListener value) |
| void | Modified_Add (EventListener value) |
| void | Modified_Remove (EventListener value) |
| void | MacroRecord_Add (EventListener value) |
| void | MacroRecord_Remove (EventListener value) |
| void | MarginClick_Add (EventListener value) |
| void | MarginClick_Remove (EventListener value) |
| void | NeedShown_Add (EventListener value) |
| void | NeedShown_Remove (EventListener value) |
| void | Paint_Add (EventListener value) |
| void | Paint_Remove (EventListener value) |
| void | UserListSelection_Add (EventListener value) |
| void | UserListSelection_Remove (EventListener value) |
| void | URIDropped_Add (EventListener value) |
| void | URIDropped_Remove (EventListener value) |
| void | DwellStart_Add (EventListener value) |
| void | DwellStart_Remove (EventListener value) |
| void | DwellEnd_Add (EventListener value) |
| void | DwellEnd_Remove (EventListener value) |
| void | StartDrag_Add (EventListener value) |
| void | StartDrag_Remove (EventListener value) |
| void | DragOver_Add (EventListener value) |
| void | DragOver_Remove (EventListener value) |
| void | DoDrop_Add (EventListener value) |
| void | DoDrop_Remove (EventListener value) |
| void | Zoomed_Add (EventListener value) |
| void | Zoomed_Remove (EventListener value) |
| void | HotspotClick_Add (EventListener value) |
| void | HotspotClick_Remove (EventListener value) |
| void | HotspotDoubleClick_Add (EventListener value) |
| void | HotspotDoubleClick_Remove (EventListener value) |
| void | CalltipClick_Add (EventListener value) |
| void | CalltipClick_Remove (EventListener value) |
Static Public Member Functions | |
| static | this () |
| static wxObject | New (IntPtr wxobj) |
Public Attributes | |
| const int | wxSTC_INVALID_POSITION = -1 |
| const int | wxSTC_START = 2000 |
| const int | wxSTC_OPTIONAL_START = 3000 |
| const int | wxSTC_LEXER_START = 4000 |
| const int | wxSTC_WS_INVISIBLE = 0 |
| const int | wxSTC_WS_VISIBLEALWAYS = 1 |
| const int | wxSTC_WS_VISIBLEAFTERINDENT = 2 |
| const int | wxSTC_EOL_CRLF = 0 |
| const int | wxSTC_EOL_CR = 1 |
| const int | wxSTC_EOL_LF = 2 |
| const int | wxSTC_CP_UTF8 = 65001 |
| const int | wxSTC_CP_DBCS = 1 |
| const int | wxSTC_MARKER_MAX = 31 |
| const int | wxSTC_MARK_CIRCLE = 0 |
| const int | wxSTC_MARK_ROUNDRECT = 1 |
| const int | wxSTC_MARK_ARROW = 2 |
| const int | wxSTC_MARK_SMALLRECT = 3 |
| const int | wxSTC_MARK_SHORTARROW = 4 |
| const int | wxSTC_MARK_EMPTY = 5 |
| const int | wxSTC_MARK_ARROWDOWN = 6 |
| const int | wxSTC_MARK_MINUS = 7 |
| const int | wxSTC_MARK_PLUS = 8 |
| const int | wxSTC_MARK_VLINE = 9 |
| const int | wxSTC_MARK_LCORNER = 10 |
| const int | wxSTC_MARK_TCORNER = 11 |
| const int | wxSTC_MARK_BOXPLUS = 12 |
| const int | wxSTC_MARK_BOXPLUSCONNECTED = 13 |
| const int | wxSTC_MARK_BOXMINUS = 14 |
| const int | wxSTC_MARK_BOXMINUSCONNECTED = 15 |
| const int | wxSTC_MARK_LCORNERCURVE = 16 |
| const int | wxSTC_MARK_TCORNERCURVE = 17 |
| const int | wxSTC_MARK_CIRCLEPLUS = 18 |
| const int | wxSTC_MARK_CIRCLEPLUSCONNECTED = 19 |
| const int | wxSTC_MARK_CIRCLEMINUS = 20 |
| const int | wxSTC_MARK_CIRCLEMINUSCONNECTED = 21 |
| const int | wxSTC_MARK_BACKGROUND = 22 |
| const int | wxSTC_MARK_DOTDOTDOT = 23 |
| const int | wxSTC_MARK_ARROWS = 24 |
| const int | wxSTC_MARK_PIXMAP = 25 |
| const int | wxSTC_MARK_CHARACTER = 10000 |
| const int | wxSTC_MARKNUM_FOLDEREND = 25 |
| const int | wxSTC_MARKNUM_FOLDEROPENMID = 26 |
| const int | wxSTC_MARKNUM_FOLDERMIDTAIL = 27 |
| const int | wxSTC_MARKNUM_FOLDERTAIL = 28 |
| const int | wxSTC_MARKNUM_FOLDERSUB = 29 |
| const int | wxSTC_MARKNUM_FOLDER = 30 |
| const int | wxSTC_MARKNUM_FOLDEROPEN = 31 |
| const int | wxSTC_MASK_FOLDERS = -1 |
| const int | wxSTC_MARGIN_SYMBOL = 0 |
| const int | wxSTC_MARGIN_NUMBER = 1 |
| const int | wxSTC_STYLE_DEFAULT = 32 |
| const int | wxSTC_STYLE_LINENUMBER = 33 |
| const int | wxSTC_STYLE_BRACELIGHT = 34 |
| const int | wxSTC_STYLE_BRACEBAD = 35 |
| const int | wxSTC_STYLE_CONTROLCHAR = 36 |
| const int | wxSTC_STYLE_INDENTGUIDE = 37 |
| const int | wxSTC_STYLE_LASTPREDEFINED = 39 |
| const int | wxSTC_STYLE_MAX = 127 |
| const int | wxSTC_CHARSET_ANSI = 0 |
| const int | wxSTC_CHARSET_DEFAULT = 1 |
| const int | wxSTC_CHARSET_BALTIC = 186 |
| const int | wxSTC_CHARSET_CHINESEBIG5 = 136 |
| const int | wxSTC_CHARSET_EASTEUROPE = 238 |
| const int | wxSTC_CHARSET_GB2312 = 134 |
| const int | wxSTC_CHARSET_GREEK = 161 |
| const int | wxSTC_CHARSET_HANGUL = 129 |
| const int | wxSTC_CHARSET_MAC = 77 |
| const int | wxSTC_CHARSET_OEM = 255 |
| const int | wxSTC_CHARSET_RUSSIAN = 204 |
| const int | wxSTC_CHARSET_SHIFTJIS = 128 |
| const int | wxSTC_CHARSET_SYMBOL = 2 |
| const int | wxSTC_CHARSET_TURKISH = 162 |
| const int | wxSTC_CHARSET_JOHAB = 130 |
| const int | wxSTC_CHARSET_HEBREW = 177 |
| const int | wxSTC_CHARSET_ARABIC = 178 |
| const int | wxSTC_CHARSET_VIETNAMESE = 163 |
| const int | wxSTC_CHARSET_THAI = 222 |
| const int | wxSTC_CASE_MIXED = 0 |
| const int | wxSTC_CASE_UPPER = 1 |