|
Public Member Functions |
| StyledTextCtrl (IN(RWindow) parent, int id, IN(RPoint) pos=Point::defaultPosition(), IN(RSize) size=Size::defaultSize(), int style=0, IN(RString) name=SCIwindow) |
| wxStyledTextCtrl
|
void | initFromProps (IN(::acdk::cfgscript::RProps) props) |
| initialize the control with given property set Please refer to acdk/acdk_wx/cfg/csf/acdk/wx/ide/StyledTextCtrConfig.csf
|
int | _initState (IN(::acdk::cfgscript::RProps) props, int state) |
void | initFromTextFile (IN(RString) fileName) |
| use the previous load configuration to setup syntax hilighting
|
void | addText (IN(RString) text) |
void | insertText (int pos, IN(RString) text) |
void | clearAll () |
void | clearDocumentStyle () |
int | getLength () |
int | getCharAt (int pos) |
int | getCurrentPos () |
int | getAnchor () |
int | getStyleAt (int pos) |
void | redo () |
void | setUndoCollection (bool collectUndo) |
void | selectAll () |
void | setSavePoint () |
bool | canRedo () |
int | markerLineFromHandle (int handle) |
void | markerDeleteHandle (int handle) |
bool | getUndoCollection () |
int | getViewWhiteSpace () |
void | setViewWhiteSpace (int viewWS) |
int | positionFromPoint (IN(RPoint) pt) |
int | positionFromPointClose (int x, int y) |
void | gotoLine (int line) |
void | gotoPos (int pos) |
void | setAnchor (int posAnchor) |
RString | getCurLine (OUT(int) linePos) |
RString | getCurLine () |
int | getEndStyled () |
void | convertEOLs (int eolMode) |
int | getEOLMode () |
void | setEOLMode (int eolMode) |
void | startStyling (int pos, int mask) |
void | setStyling (int length, int style) |
bool | getBufferedDraw () |
void | setBufferedDraw (bool buffered) |
void | setTabWidth (int tabWidth) |
int | getTabWidth () |
void | setCodePage (int codePage) |
void | markerDefine (int markerNumber, int markerSymbol) |
void | markerSetForeground (int markerNumber, IN(RColour) fore) |
void | markerSetBackground (int markerNumber, IN(RColour) 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, IN(RBitmap) bmp) |
void | setMarginType (int margin, int marginType) |
int | getMarginType (int margin) |
void | setMarginWidth (int margin, int pixels) |
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, IN(RColour) fore) |
void | styleSetBackground (int style, IN(RColour) back) |
void | styleSetBold (int style, bool bold) |
void | styleSetItalic (int style, bool italic) |
void | styleSetSize (int style, int sizePoints) |
void | styleSetFaceName (int style, IN(RString) fontName) |
void | styleSetEOLFilled (int style, bool filled) |
void | styleResetDefault () |
void | styleSetUnderline (int style, bool underline) |
void | styleSetCase (int style, int caseMode) |
void | styleSetCharacterSet (int style, int characterSet) |
void | styleSetHotSpot (int style, bool hotspot) |
void | setSelForeground (bool useSetting, IN(RColour) fore) |
void | setSelBackground (bool useSetting, IN(RColour) back) |
void | setCaretForeground (IN(RColour) fore) |
void | cmdKeyAssign (int key, int modifiers, int cmd) |
void | cmdKeyClear (int key, int modifiers) |
void | cmdKeyClearAll () |
void | styleSetVisible (int style, bool visible) |
int | getCaretPeriod () |
void | setCaretPeriod (int milliseconds) |
void | setWordChars (IN(RString) characters) |
void | beginUndoAction () |
void | endUndoAction () |
void | indicatorSetStyle (int indic, int style) |
int | indicatorGetStyle (int indic) |
void | indicatorSetForeground (int indic, IN(RColour) fore) |
RColour | indicatorGetForeground (int indic) |
void | setWhitespaceForeground (bool useSetting, IN(RColour) fore) |
void | setWhitespaceBackground (bool useSetting, IN(RColour) back) |
void | setStyleBits (int bits) |
int | getStyleBits () |
void | setLineState (int line, int state) |
int | getLineState (int line) |
int | getMaxLineState () |
bool | getCaretLineVisible () |
void | setCaretLineVisible (bool show) |
void | styleSetChangeable (int style, bool changeable) |
void | autoCompShow (int lenEntered, IN(RString) itemList) |
void | autoCompCancel () |
bool | autoCompActive () |
int | autoCompPosStart () |
void | autoCompComplete () |
void | autoCompStops (IN(RString) characterSet) |
void | autoCompSetSeparator (int separatorCharacter) |
int | autoCompGetSeparator () |
void | autoCompSelect (IN(RString) text) |
void | autoCompSetCancelAtStart (bool cancel) |
bool | autoCompGetCancelAtStart () |
void | autoCompSetFillUps (IN(RString) characterSet) |
void | autoCompSetChooseSingle (bool chooseSingle) |
bool | autoCompGetChooseSingle () |
void | autoCompSetIgnoreCase (bool ignoreCase) |
bool | autoCompGetIgnoreCase () |
void | userListShow (int listType, IN(RString) itemList) |
void | autoCompSetAutoHide (bool autoHide) |
bool | autoCompGetAutoHide () |
void | autoCompSetDropRestOfWord (bool dropRestOfWord) |
bool | autoCompGetDropRestOfWord () |
void | registerImage (int type, IN(RBitmap) bmp) |
void | clearRegisteredImages () |
int | autoCompGetTypeSeparator () |
void | autoCompSetTypeSeparator (int separatorCharacter) |
void | setIndent (int indentSize) |
int | getIndent () |
void | setUseTabs (bool useTabs) |
bool | getUseTabs () |
void | setLineIndentation (int line, int indentSize) |
int | getLineIndentation (int line) |
int | getLineIndentPosition (int line) |
int | getColumn (int pos) |
void | setUseHorizontalScrollBar (bool show) |
bool | getUseHorizontalScrollBar () |
void | setIndentationGuides (bool show) |
bool | getIndentationGuides () |
void | setHighlightGuide (int column) |
int | getHighlightGuide () |
int | getLineEndPosition (int line) |
int | getCodePage () |
RColour | getCaretForeground () |
bool | getReadOnly () |
void | setCurrentPos (int pos) |
void | setSelectionStart (int pos) |
int | getSelectionStart () |
void | setSelectionEnd (int pos) |
int | getSelectionEnd () |
void | setPrintMagnification (int magnification) |
int | getPrintMagnification () |
void | setPrintColourMode (int mode) |
int | getPrintColourMode () |
int | findText (int minPos, int maxPos, IN(RString) text, int flags=0) |
int | formatRange (bool doDraw, int startPos, int endPos, IN(RDC) draw, IN(RDC) target, IN(RRect) renderRect, IN(RRect) pageRect) |
int | getFirstVisibleLine () |
RString | getLine (int line) |
int | getLineCount () |
void | setMarginLeft (int pixels) |
int | getMarginLeft () |
void | setMarginRight (int pixels) |
int | getMarginRight () |
bool | getModify () |
void | setSelection (int startPos, int endPos) |
RString | getSelectedText () |
RString | getTextRange (int startPos, int endPos) |
void | hideSelection (bool hide) |
int | lineFromPosition (int pos) |
int | positionFromLine (int line) |
void | lineScroll (int columns, int lines) |
void | ensureCaretVisible () |
void | replaceSelection (IN(RString) text) |
void | setReadOnly (bool readOnly) |
bool | canPaste () |
bool | canUndo () |
void | emptyUndoBuffer () |
void | undo () |
void | cut () |
void | copy () |
void | paste () |
void | clear () |
void | setText (IN(RString) text) |
RString | getText () |
int | getTextLength () |
void | setOvertype (bool overtype) |
bool | getOvertype () |
void | setCaretWidth (int pixels) |
int | getCaretWidth () |
void | setTargetStart (int pos) |
int | getTargetStart () |
void | setTargetEnd (int pos) |
int | getTargetEnd () |
int | replaceTarget (IN(RString) text) |
int | replaceTargetRE (IN(RString) text) |
int | searchInTarget (IN(RString) text) |
void | setSearchFlags (int flags) |
int | getSearchFlags () |
void | callTipShow (int pos, IN(RString) definition) |
void | callTipCancel () |
bool | callTipActive () |
int | callTipPosAtStart () |
void | callTipSetHighlight (int startPos, int endPos) |
void | callTipSetBackground (IN(RColour) back) |
void | callTipSetForeground (IN(RColour) fore) |
void | callTipSetForegroundHighlight (IN(RColour) fore) |
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 | setFoldFlags (int flags) |
void | ensureVisibleEnforcePolicy (int line) |
void | setTabIndents (bool tabIndents) |
bool | getTabIndents () |
void | setBackSpaceUnIndents (bool bsUnIndents) |
bool | getBackSpaceUnIndents () |
void | setMouseDwellTime (int periodMilliseconds) |
int | getMouseDwellTime () |
int | wordStartPosition (int pos, bool onlyWordCharacters) |
int | wordEndPosition (int pos, bool onlyWordCharacters) |
void | setWrapMode (int mode) |
int | getWrapMode () |
void | setLayoutCache (int mode) |
| see StcCache
|
int | getLayoutCache () |
void | setScrollWidth (int pixels) |
int | getScrollWidth () |
int | textWidth (int style, IN(RString) text) |
void | setEndAtLastLine (bool endAtLastLine) |
int | getEndAtLastLine () |
int | textHeight (int line) |
void | setUseVerticalScrollBar (bool show) |
bool | getUseVerticalScrollBar () |
void | appendText (IN(RString) text) |
bool | getTwoPhaseDraw () |
void | setTwoPhaseDraw (bool twoPhase) |
void | targetFromSelection () |
void | linesJoin () |
void | linesSplit (int pixels) |
void | setFoldMarginColour (bool useSetting, IN(RColour) back) |
void | setFoldMarginHiColour (bool useSetting, IN(RColour) fore) |
void | lineDown () |
void | lineUp () |
void | lineUpExtend () |
void | charLeft () |
void | charLeftExtend () |
void | charRight () |
void | charRightExtend () |
void | wordLeft () |
void | wordLeftExtend () |
void | wordRight () |
void | wordRightExtend () |
void | home () |
void | homeExtend () |
void | lineEnd () |
void | lineEndExtend () |
void | documentStart () |
void | documentStartExtend () |
void | documentEnd () |
void | documentEndExtend () |
void | pageUp () |
void | pageUpExtend () |
void | pageDown () |
void | pageDownExtend () |
void | editToggleOvertype () |
void | cancel () |
void | deleteBack () |
void | tab () |
void | backTab () |
void | newLine () |
void | formFeed () |
void | vCHome () |
void | vCHomeExtend () |
void | zoomIn () |
void | zoomOut () |
void | delWordLeft () |
void | delWordRight () |
void | lineCut () |
void | lineDelete () |
void | lineTranspose () |
void | lineDuplicate () |
void | lowerCase () |
void | upperCase () |
void | lineScrollDown () |
void | lineScrollUp () |
void | deleteBackNotLine () |
void | homeDisplay () |
void | homeDisplayExtend () |
void | lineEndDisplay () |
void | lineEndDisplayExtend () |
void | homeWrap () |
void | homeWrapExtend () |
void | lineEndWrap () |
void | lineEndWrapExtend () |
void | vCHomeWrap () |
void | vCHomeWrapExtend () |
void | lineCopy () |
void | moveCaretInsideView () |
int | lineLength (int line) |
void | braceHighlight (int pos1, int pos2) |
void | braceBadLight (int pos) |
int | braceMatch (int pos) |
bool | getViewEOL () |
void | setViewEOL (bool visible) |
void | setModEventMask (int mask) |
| combination of StcContainerNotifications
|
int | getEdgeColumn () |
void | setEdgeColumn (int column) |
int | getEdgeMode () |
void | setEdgeMode (int mode) |
RColour | getEdgeColour () |
void | setEdgeColour (IN(RColour) colour) |
void | searchAnchor () |
int | searchNext (int flags, IN(RString) text) |
int | searchPrev (int flags, IN(RString) text) |
int | linesOnScreen () |
void | usePopUp (bool allowPopUp) |
bool | selectionIsRectangle () |
void | setZoom (int zoom) |
int | getZoom () |
int | getModEventMask () |
void | setStatus (int status) |
int | getStatus () |
void | setMouseDownCaptures (bool captures) |
bool | getMouseDownCaptures () |
void | setControlCharSymbol (int symbol) |
int | getControlCharSymbol () |
void | wordPartLeft () |
void | wordPartLeftExtend () |
void | wordPartRight () |
void | wordPartRightExtend () |
void | setVisiblePolicy (int visiblePolicy, int visibleSlop) |
void | delLineLeft () |
void | delLineRight () |
void | setXOffset (int newOffset) |
int | getXOffset () |
void | chooseCaretX () |
void | setXCaretPolicy (int caretPolicy, int caretSlop) |
void | setYCaretPolicy (int caretPolicy, int caretSlop) |
void | setPrintWrapMode (int mode) |
int | getPrintWrapMode () |
void | setHotspotActiveForeground (bool useSetting, IN(RColour) fore) |
void | setHotspotActiveBackground (bool useSetting, IN(RColour) back) |
void | setHotspotActiveUnderline (bool underline) |
void | setHotspotSingleLine (bool singleLine) |
void | paraDown () |
void | paraDownExtend () |
void | paraUp () |
void | paraUpExtend () |
int | positionBefore (int pos) |
int | positionAfter (int pos) |
void | copyRange (int startPos, int endPos) |
void | copyText (int length, IN(RString) text) |
void | setSelectionMode (int mode) |
void | lineDownRectExtend () |
void | lineUpRectExtend () |
void | charLeftRectExtend () |
void | charRightRectExtend () |
void | homeRectExtend () |
void | vCHomeRectExtend () |
void | lineEndRectExtend () |
void | pageUpRectExtend () |
void | pageDownRectExtend () |
void | stutteredPageUp () |
void | stutteredPageUpExtend () |
void | stutteredPageDown () |
void | stutteredPageDownExtend () |
void | wordLeftEnd () |
void | wordLeftEndExtend () |
void | wordRightEnd () |
void | wordRightEndExtend () |
void | setWhitespaceChars (IN(RString) characters) |
void | setCharsDefault () |
void | startRecord () |
void | stopRecord () |
void | setLexer (int lexer) |
int | getLexer () |
void | colourise (int startPos, int endPos) |
void | setProperty (IN(RString) key, IN(RString) value) |
void | setKeyWords (int keywordSet, IN(RString) keyWords) |
void | setLexerLanguage (IN(RString) language) |
int | getCurrentLine () |
void | styleSetSpec (int styleNum, IN(RString) spec) |
void | styleSetFont (int styleNum, IN(RFont) font) |
void | styleSetFontAttr (int styleNum, int size, IN(RString) 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) |
RPoint | pointFromPosition (int pos) |
void | scrollToLine (int line) |
void | scrollToColumn (int column) |
bool | getLastKeydownProcessed () |
void | setLastKeydownProcessed (bool val) |
bool | saveFile (IN(RString) filename) |
bool | loadFile (IN(RString) filename) |
void | setUseAntiAliasing (bool useAA) |
Static Public Member Functions |
void | loadStdConfig () |
| try to load /acdk_wx/cfg/csf/acdk/wx/ide/StyledTextCtrConfig.csf
|
void | loadConfig (IN(RString) csfFile) |
Static Private Attributes |
acdk::cfgscript::RProps | _globalProps |