Package wx :: Module stc :: Class StyledTextCtrl
[frames | no frames]

Type StyledTextCtrl

object --+                
         |                
    Object --+            
             |            
    EvtHandler --+        
                 |        
            Window --+    
                     |    
               Control --+
                         |
                        StyledTextCtrl

Known Subclasses:
EditWindow, InspectionInfoPanel, PyShellWindow

Proxy of C++ StyledTextCtrl class


Method Summary
Control __init__(self, parent, id, pos, size, style, validator, name)
Create a Control.
  AddRefDocument(self, docPointer)
Extend life of document.
  AddStyledText(self, data)
Add array of cells to document.
  AddText(self, text)
Add text to the document at current position.
  AddTextRaw(self, text)
Add text to the document at current position.
  AddTextUTF8(self, text)
Add UTF8 encoded text to the document at the current position.
  Allocate(self, bytes)
Enlarge the document to a particular size of text bytes.
  AppendText(self, text)
Append a string to the end of the document without changing the selection.
  AppendTextRaw(self, text)
Append a string to the end of the document without changing the selection.
  AppendTextUTF8(self, text)
Append a UTF8 string to the end of the document without changing the selection.
bool AutoCompActive(self)
Is there an auto-completion list visible?
  AutoCompCancel(self)
Remove the auto-completion list from the screen.
  AutoCompComplete(self)
User has selected an item so remove the list and insert the selection.
bool AutoCompGetAutoHide(self)
Retrieve whether or not autocompletion is hidden automatically when nothing matches.
bool AutoCompGetCancelAtStart(self)
Retrieve whether auto-completion cancelled by backspacing before start.
bool AutoCompGetChooseSingle(self)
Retrieve whether a single item auto-completion list automatically choose the item.
int AutoCompGetCurrent(self)
Get currently selected item position in the auto-completion list
bool AutoCompGetDropRestOfWord(self)
Retrieve whether or not autocompletion deletes any word characters after the inserted text upon completion.
bool AutoCompGetIgnoreCase(self)
Retrieve state of ignore case flag.
int AutoCompGetMaxHeight(self)
Set the maximum height, in rows, of auto-completion and user lists.
int AutoCompGetMaxWidth(self)
Get the maximum width, in characters, of auto-completion and user lists.
int AutoCompGetSeparator(self)
Retrieve the auto-completion list separator character.
int AutoCompGetTypeSeparator(self)
Retrieve the auto-completion list type-separator character.
int AutoCompPosStart(self)
Retrieve the position of the caret when the auto-completion list was displayed.
  AutoCompSelect(self, text)
Select the item in the auto-completion list that starts with a string.
  AutoCompSetAutoHide(self, autoHide)
Set whether or not autocompletion is hidden automatically when nothing matches.
  AutoCompSetCancelAtStart(self, cancel)
Should the auto-completion list be cancelled if the user backspaces to a position before where the box was created.
  AutoCompSetChooseSingle(self, chooseSingle)
Should a single item auto-completion list automatically choose the item.
  AutoCompSetDropRestOfWord(self, dropRestOfWord)
Set whether or not autocompletion deletes any word characters after the inserted text upon completion.
  AutoCompSetFillUps(self, characterSet)
Define a set of characters that when typed will cause the autocompletion to choose the selected item.
  AutoCompSetIgnoreCase(self, ignoreCase)
Set whether case is significant when performing auto-completion searches.
  AutoCompSetMaxHeight(self, rowCount)
Set the maximum height, in rows, of auto-completion and user lists.
  AutoCompSetMaxWidth(self, characterCount)
Set the maximum width, in characters, of auto-completion and user lists.
  AutoCompSetSeparator(self, separatorCharacter)
Change the separator character in the string setting up an auto-completion list.
  AutoCompSetTypeSeparator(self, separatorCharacter)
Change the type-separator character in the string setting up an auto-completion list.
  AutoCompShow(self, lenEntered, itemList)
Display a auto-completion list.
  AutoCompStops(self, characterSet)
Define a set of character that when typed cancel the auto-completion list.
  BackTab(self)
Dedent the selected lines.
  BeginUndoAction(self)
Start a sequence of actions that is undone and redone as a unit.
  BraceBadLight(self, pos)
Highlight the character at a position indicating there is no matching brace.
  BraceHighlight(self, pos1, pos2)
Highlight the characters at two positions.
int BraceMatch(self, pos)
Find the position of a matching brace or INVALID_POSITION if no match.
bool CallTipActive(self)
Is there an active call tip?
  CallTipCancel(self)
Remove the call tip from the screen.
int CallTipPosAtStart(self)
Retrieve the position where the caret was before displaying the call tip.
  CallTipSetBackground(self, back)
Set the background colour for the call tip.
  CallTipSetForeground(self, fore)
Set the foreground colour for the call tip.
  CallTipSetForegroundHighlight(self, fore)
Set the foreground colour for the highlighted part of the call tip.
  CallTipSetHighlight(self, start, end)
Highlight a segment of the definition.
  CallTipShow(self, pos, definition)
Show a call tip containing a definition near position pos.
  CallTipUseStyle(self, tabSize)
Enable use of STYLE_CALLTIP and set call tip tab size in pixels.
  Cancel(self)
Cancel any modes such as call tip or auto-completion list display.
bool CanPaste(self)
Will a paste succeed?
bool CanRedo(self)
Are there any redoable actions in the undo history?
bool CanUndo(self)
Are there any undoable actions in the undo history?
  CharLeft(self)
Move caret left one character.
  CharLeftExtend(self)
Move caret left one character extending selection to new caret position.
  CharLeftRectExtend(self)
Move caret left one character, extending rectangular selection to new caret position.
  CharRight(self)
Move caret right one character.
  CharRightExtend(self)
Move caret right one character extending selection to new caret position.
  CharRightRectExtend(self)
Move caret right one character, extending rectangular selection to new caret position.
  ChooseCaretX(self)
Set the last x chosen value to be the caret x position.
  Clear(self)
Clear the selection.
  ClearAll(self)
Delete all text in the document.
  ClearDocumentStyle(self)
Set all style bytes to 0, remove all folding information.
  ClearRegisteredImages(self)
Clear all the registered images.
  CmdKeyAssign(self, key, modifiers, cmd)
When key+modifier combination km is pressed perform msg.
  CmdKeyClear(self, key, modifiers)
When key+modifier combination km is pressed do nothing.
  CmdKeyClearAll(self)
Drop all key mappings.
  CmdKeyExecute(self, cmd)
Perform one of the operations defined by the wx.stc.STC_CMD_* constants.
  Colourise(self, start, end)
Colourise a segment of the document using the current lexing language.
  ConvertEOLs(self, eolMode)
Convert all line endings in the document to one mode.
  Copy(self)
Copy the selection to the clipboard.
  CopyRange(self, start, end)
Copy a range of text to the clipboard.
  CopyText(self, length, text)
Copy argument text to the clipboard.
bool Create(self, parent, id, pos, size, style, validator, name)
Do the 2nd phase and create the GUI control.
void CreateDocument(self)
Create a new document object.
  Cut(self)
Cut the selection to the clipboard.
  DeleteBack(self)
Delete the selection or if no selection, the character before the caret.
  DeleteBackNotLine(self)
Delete the selection or if no selection, the character before the caret.
  DelLineLeft(self)
Delete back from the current position to the start of the line.
  DelLineRight(self)
Delete forwards from the current position to the end of the line.
  DelWordLeft(self)
Delete the word to the left of the caret.
  DelWordRight(self)
Delete the word to the right of the caret.
int DocLineFromVisible(self, lineDisplay)
Find the document line of a display line taking hidden lines into account.
  DocumentEnd(self)
Move caret to last position in document.
  DocumentEndExtend(self)
Move caret to last position in document extending selection to new caret position.
  DocumentStart(self)
Move caret to first position in document.
  DocumentStartExtend(self)
Move caret to first position in document extending selection to new caret position.
int DoDragOver(self, x, y, def)
Allow for simulating a DnD DragOver.
bool DoDropText(self, x, y, data)
Allow for simulating a DnD DropText.
  EditToggleOvertype(self)
Switch from insert to overtype mode or the reverse.
  EmptyUndoBuffer(self)
Delete the undo history.
  EndUndoAction(self)
End a sequence of actions that is undone and redone as a unit.
  EnsureCaretVisible(self)
Ensure the caret is visible.
  EnsureVisible(self, line)
Ensure a particular line is visible by expanding any header line hiding it.
  EnsureVisibleEnforcePolicy(self, line)
Ensure a particular line is visible by expanding any header line hiding it.
int FindColumn(self, line, column)
Find the position of a column on a line taking into account tabs and multi-byte characters.
int FindText(self, minPos, maxPos, text, flags)
Find some text in the document.
int FormatRange(self, doDraw, startPos, endPos, draw, target, renderRect, pageRect)
On Windows, will draw the document into a display context such as a printer.
  FormFeed(self)
Insert a Form Feed character.
int GetAnchor(self)
Returns the position of the opposite end of the selection to the caret.
bool GetBackSpaceUnIndents(self)
Does a backspace pressed when caret is within indentation unindent?
bool GetBufferedDraw(self)
Is drawing done first into a buffer or direct to the screen?
Colour GetCaretForeground(self)
Get the foreground colour of the caret.
Colour GetCaretLineBack(self)
Get the colour of the background of the line containing the caret.
int GetCaretLineBackAlpha(self)
Get the background alpha of the caret line.
Colour GetCaretLineBackground(self)
Get the colour of the background of the line containing the caret.
bool GetCaretLineVisible(self)
Is the background of the line containing the caret in a different colour?
int GetCaretPeriod(self)
Get the time in milliseconds that the caret is on and off.
bool GetCaretSticky(self)
Can the caret preferred x position only be changed by explicit movement commands?
int GetCaretWidth(self)
Returns the width of the insert mode caret.
int GetCharAt(self, pos)
Returns the character byte at the position.
int GetCodePage(self)
Get the code page used to interpret the bytes of the document as characters.
int GetColumn(self, pos)
Retrieve the column number of a position, taking tab width into account.
int GetControlCharSymbol(self)
Get the way control characters are displayed.
(text, pos) GetCurLine(self)
Retrieve the text of the line containing the caret, and also theindex of the caret on the line.
(text, index) GetCurLineRaw()
Retrieve the text of the line containing the caret, and also the index of the caret on the line.
  GetCurLineUTF8(self)
Retrieve the UTF8 text of the line containing the caret, and also the index of the caret on the line.
int GetCurrentLine(self)
Returns the line number of the line with the caret.
int GetCurrentPos(self)
Returns the position of the caret.
void GetDocPointer(self)
Retrieve a pointer to the document object.
Colour GetEdgeColour(self)
Retrieve the colour used in edge indication.
int GetEdgeColumn(self)
Retrieve the column number which text should be kept within.
int GetEdgeMode(self)
Retrieve the edge highlight mode.
bool GetEndAtLastLine(self)
Retrieve whether the maximum scroll position has the last line at the bottom of the view.
int GetEndStyled(self)
Retrieve the position of the last correctly styled character.
int GetEOLMode(self)
Retrieve the current end of line mode - one of CRLF, CR, or LF.
int GetFirstVisibleLine(self)
Retrieve the display line at the top of the display.
bool GetFoldExpanded(self, line)
Is a header line expanded?
int GetFoldLevel(self, line)
Retrieve the fold level of a line.
int GetFoldParent(self, line)
Find the parent line of a child line.
int GetHighlightGuide(self)
Get the highlighted indentation guide column.
int GetIndent(self)
Retrieve indentation size.
bool GetIndentationGuides(self)
Are the indentation guides visible?
int GetLastChild(self, line, level)
Find the last child line of a header line.
bool GetLastKeydownProcessed(self)
int GetLayoutCache(self)
Retrieve the degree of caching of layout information.
int GetLength(self)
Returns the number of characters in the document.
int GetLexer(self)
Retrieve the lexing language of the document.
String GetLine(self, line)
Retrieve the contents of a line.
int GetLineCount(self)
Returns the number of lines in the document.
int GetLineEndPosition(self, line)
Get the position after the last visible characters on a line.
int GetLineIndentation(self, line)
Retrieve the number of columns that a line is indented.
int GetLineIndentPosition(self, line)
Retrieve the position before the first non indentation character on a line.
wxCharBuffer GetLineRaw(self, line)
Retrieve the contents of a line.
int GetLineSelEndPosition(self, line)
Retrieve the position of the end of the selection at the given line (INVALID_POSITION if no selection on this line).
int GetLineSelStartPosition(self, line)
Retrieve the position of the start of the selection at the given line (INVALID_POSITION if no selection on this line).
int GetLineState(self, line)
Retrieve the extra styling information for a line.
  GetLineUTF8(self, line)
Retrieve the contents of a line as UTF8.
bool GetLineVisible(self, line)
Is a line visible?
int GetMarginLeft(self)
Returns the size in pixels of the left margin.
int GetMarginMask(self, margin)
Retrieve the marker mask of a margin.
int GetMarginRight(self)
Returns the size in pixels of the right margin.
bool GetMarginSensitive(self, margin)
Retrieve the mouse click sensitivity of a margin.
int GetMarginType(self, margin)
Retrieve the type of a margin.
int GetMarginWidth(self, margin)
Retrieve the width of a margin in pixels.
int GetMaxLineState(self)
Retrieve the last line number that has line state.
int GetModEventMask(self)
Get which document modification events are sent to the container.
bool GetModify(self)
Is the document different from when it was last saved?
bool GetMouseDownCaptures(self)
Get whether mouse gets captured.
int GetMouseDwellTime(self)
Retrieve the time the mouse must sit still to generate a mouse dwell event.
bool GetOvertype(self)
Returns true if overtype mode is active otherwise false is returned.
bool GetPasteConvertEndings(self)
Get convert-on-paste setting
int GetPrintColourMode(self)
Returns the print colour mode.
int GetPrintMagnification(self)
Returns the print magnification.
int GetPrintWrapMode(self)
Is printing line wrapped?
String GetProperty(self, key)
Retrieve a 'property' value previously set with SetProperty.
String GetPropertyExpanded(self, key)
Retrieve a 'property' value previously set with SetProperty, with '$()' variable replacement on returned buffer.
int GetPropertyInt(self, key)
Retrieve a 'property' value previously set with SetProperty, interpreted as an int AFTER any '$()' variable replacement.
bool GetReadOnly(self)
In read-only mode?
int GetScrollWidth(self)
Retrieve the document width assumed for scrolling.
int GetSearchFlags(self)
Get the search flags used by SearchInTarget.
int GetSelAlpha(self)
Get the alpha of the selection.
String GetSelectedText(self)
Retrieve the selected text.
wxCharBuffer GetSelectedTextRaw(self)
Retrieve the selected text.
  GetSelectedTextUTF8(self)
Retrieve the selected text as UTF8.
(startPos, endPos) GetSelection(self)
Retrieve the start and end positions of the current selection.
int GetSelectionEnd(self)
Returns the position at the end of the selection.
int GetSelectionMode(self)
Get the mode of the current selection.
int GetSelectionStart(self)
Returns the position at the start of the selection.
int GetStatus(self)
Get error status.
int GetSTCCursor(self)
Get cursor type.
bool GetSTCFocus(self)
Get internal focus flag.
int GetStyleAt(self, pos)
Returns the style byte at the position.
int GetStyleBits(self)
Retrieve number of bits in style bytes used to hold the lexical state.
int GetStyleBitsNeeded(self)
Retrieve the number of bits the current lexer needs for styling.
wxMemoryBuffer GetStyledText(self, startPos, endPos)
Retrieve a buffer of cells.
bool GetTabIndents(self)
Does a tab pressed when caret is within indentation indent?
int GetTabWidth(self)
Retrieve the visible size of a tab.
int GetTargetEnd(self)
Get the position that ends the target.
int GetTargetStart(self)
Get the position that starts the target.
String GetText(self)
Retrieve all the text in the document.
int GetTextLength(self)
Retrieve the number of characters in the document.
String GetTextRange(self, startPos, endPos)
Retrieve a range of text.
wxCharBuffer GetTextRangeRaw(self, startPos, endPos)
Retrieve a range of text.
  GetTextRangeUTF8(self, startPos, endPos)
Retrieve a range of text as UTF8.
wxCharBuffer GetTextRaw(self)
Retrieve all the text in the document.
  GetTextUTF8(self)
Retrieve all the text in the document as UTF8.
bool GetTwoPhaseDraw(self)
Is drawing done in two phases with backgrounds drawn before foregrounds?
bool GetUndoCollection(self)
Is undo history being collected?
bool GetUseAntiAliasing(self)
Returns the current UseAntiAliasing setting.
bool GetUseHorizontalScrollBar(self)
Is the horizontal scroll bar visible?
bool GetUseTabs(self)
Retrieve whether tabs will be used in indentation.
bool GetUseVerticalScrollBar(self)
Is the vertical scroll bar visible?
bool GetViewEOL(self)
Are the end of line characters visible?
int GetViewWhiteSpace(self)
Are white space characters currently visible? Returns one of SCWS_* constants.
int GetWrapMode(self)
Retrieve whether text is word wrapped.
int GetWrapStartIndent(self)
Retrive the start indent for wrapped lines.
int GetWrapVisualFlags(self)
Retrive the display mode of visual flags for wrapped lines.
int GetWrapVisualFlagsLocation(self)
Retrive the location of visual flags for wrapped lines.
int GetXOffset(self)
int GetZoom(self)
Retrieve the zoom level.
  GotoLine(self, line)
Set caret to start of a line and ensure it is visible.
  GotoPos(self, pos)
Set caret to a position and ensure it is visible.
  HideLines(self, lineStart, lineEnd)
Make a range of lines invisible.
  HideSelection(self, normal)
Draw the selection in normal style or with selection highlighted.
  Home(self)
Move caret to first position on line.
  HomeDisplay(self)
Move caret to first position on display line.
  HomeDisplayExtend(self)
Move caret to first position on display line extending selection to new caret position.
  HomeExtend(self)
Move caret to first position on line extending selection to new caret position.
  HomeRectExtend(self)
Move caret to first position on line, extending rectangular selection to new caret position.
  HomeWrap(self)
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)?.
  HomeWrapExtend(self)
Colour IndicatorGetForeground(self, indic)
Retrieve the foreground colour of an indicator.
int IndicatorGetStyle(self, indic)
Retrieve the style of an indicator.
  IndicatorSetForeground(self, indic, fore)
Set the foreground colour of an indicator.
  IndicatorSetStyle(self, indic, style)
Set an indicator to plain, squiggle or TT.
  InsertText(self, pos, text)
Insert string at a position.
  InsertTextRaw(self, pos, text)
Insert string at a position.
  InsertTextUTF8(self, pos, text)
Insert UTF8 encoded text at a position.
  LineCopy(self)
Copy the line containing the caret.
  LineCut(self)
Cut the line containing the caret.
  LineDelete(self)
Delete the line containing the caret.
  LineDown(self)
Move caret down one line.
  LineDownExtend(self)
Move caret down one line extending selection to new caret position.
  LineDownRectExtend(self)
Move caret down one line, extending rectangular selection to new caret position.
  LineDuplicate(self)
Duplicate the current line.
  LineEnd(self)
Move caret to last position on line.
  LineEndDisplay(self)
Move caret to last position on display line.
  LineEndDisplayExtend(self)
Move caret to last position on display line extending selection to new caret position.
  LineEndExtend(self)
Move caret to last position on line extending selection to new caret position.
  LineEndRectExtend(self)
Move caret to last position on line, extending rectangular selection to new caret position.
  LineEndWrap(self)
  LineEndWrapExtend(self)
int LineFromPosition(self, pos)
Retrieve the line containing a position.
int LineLength(self, line)
How many characters are on a line, not including end of line characters?
  LineScroll(self, columns, lines)
Scroll horizontally and vertically.
  LineScrollDown(self)
Scroll the document down, keeping the caret visible.
  LineScrollUp(self)
Scroll the document up, keeping the caret visible.
  LinesJoin(self)
Join the lines in the target.
int LinesOnScreen(self)
Retrieves the number of lines completely visible.
  LinesSplit(self, pixelWidth)
Split the lines in the target into lines that are less wide than pixelWidth where possible.
  LineTranspose(self)
Switch the current line with the previous.
  LineUp(self)
Move caret up one line.
  LineUpExtend(self)
Move caret up one line extending selection to new caret position.
  LineUpRectExtend(self)
Move caret up one line, extending rectangular selection to new caret position.
bool LoadFile(self, filename)
Load the contents of filename into the editor
  LowerCase(self)
Transform the selection to lower case.
int MarkerAdd(self, line, markerNumber)
Add a marker to a line, returning an ID which can be used to find or delete the marker.
  MarkerAddSet(self, line, set)
Add a set of markers to a line.
  MarkerDefine(self, markerNumber, markerSymbol, foreground, background)
Set the symbol used for a particular marker number, and optionally the fore and background colours.
  MarkerDefineBitmap(self, markerNumber, bmp)
Define a marker from a bitmap
  MarkerDelete(self, line, markerNumber)
Delete a marker from a line.
  MarkerDeleteAll(self, markerNumber)
Delete all markers with a particular number from all lines.
  MarkerDeleteHandle(self, handle)
Delete a marker.
int MarkerGet(self, line)
Get a bit mask of all the markers set on a line.
int MarkerLineFromHandle(self, handle)
Retrieve the line number at which a particular marker is located.
int MarkerNext(self, lineStart, markerMask)
Find the next line after lineStart that includes a marker in mask.
int MarkerPrevious(self, lineStart, markerMask)
Find the previous line before lineStart that includes a marker in mask.
  MarkerSetAlpha(self, markerNumber, alpha)
Set the alpha used for a marker that is drawn in the text area, not the margin.
  MarkerSetBackground(self, markerNumber, back)
Set the background colour used for a particular marker number.
  MarkerSetForeground(self, markerNumber, fore)
Set the foreground colour used for a particular marker number.
  MoveCaretInsideView(self)
Move the caret inside current view if it's not there already.
  NewLine(self)
Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
  PageDown(self)
Move caret one page down.
  PageDownExtend(self)
Move caret one page down extending selection to new caret position.
  PageDownRectExtend(self)
Move caret one page down, extending rectangular selection to new caret position.
  PageUp(self)
Move caret one page up.
  PageUpExtend(self)
Move caret one page up extending selection to new caret position.
  PageUpRectExtend(self)
Move caret one page up, extending rectangular selection to new caret position.
  ParaDown(self)
Move caret between paragraphs (delimited by empty lines).
  ParaDownExtend(self)
  ParaUp(self)
  ParaUpExtend(self)
  Paste(self)
Paste the contents of the clipboard into the document replacing the selection.
Point PointFromPosition(self, pos)
Retrieve the point in the window where a position is displayed.
int PositionAfter(self, pos)
Given a valid document position, return the next position taking code page into account.
int PositionBefore(self, pos)
Given a valid document position, return the previous position taking code page into account.
int PositionFromLine(self, line)
Retrieve the position at the start of a line.
int PositionFromPoint(self, pt)
Find the position from a point within the window.
int PositionFromPointClose(self, x, y)
Find the position from a point within the window but return INVALID_POSITION if not close to text.
  Redo(self)
Redoes the next action on the undo history.
  RegisterImage(self, type, bmp)
Register an image for use in autocompletion lists.
  ReleaseDocument(self, docPointer)
Release a reference to the document, deleting document if it fades to black.
  ReplaceSelection(self, text)
Replace the selected text with the argument text.
int ReplaceTarget(self, text)
Replace the target text with the argument text.
int ReplaceTargetRE(self, text)
Replace the target text with the argument text after d processing.
bool SaveFile(self, filename)
Write the contents of the editor to filename
  ScrollToColumn(self, column)
Scroll enough to make the given column visible
  ScrollToLine(self, line)
Scroll enough to make the given line visible.
  SearchAnchor(self)
Sets the current caret position to be the search anchor.
int SearchInTarget(self, text)
Search for a counted string in the target and set the target to the found range.
int SearchNext(self, flags, text)
Find some text starting at the search anchor.
int SearchPrev(self, flags, text)
Find some text starting at the search anchor and moving backwards.
  SelectAll(self)
Select all the text in the document.
  SelectionDuplicate(self)
Duplicate the selection.
bool SelectionIsRectangle(self)
Is the selection rectangular? The alternative is the more common stream selection.
long SendMsg(self, msg, wp, lp)
Send a message to Scintilla.
  SetAnchor(self, posAnchor)
Set the selection anchor to a position.
  SetBackSpaceUnIndents(self, bsUnIndents)
Sets whether a backspace pressed when caret is within indentation unindents.
  SetBufferedDraw(self, buffered)
If drawing is buffered then each line of text is drawn into a bitmap buffer before drawing it to the screen to avoid flicker.
  SetCaretForeground(self, fore)
Set the foreground colour of the caret.
  SetCaretLineBack(self, back)
Set the colour of the background of the line containing the caret.
  SetCaretLineBackAlpha(self, alpha)
Set background alpha of the caret line.
  SetCaretLineBackground(self, back)
Set the colour of the background of the line containing the caret.
  SetCaretLineVisible(self, show)
Display the background of the line containing the caret in a different colour.
  SetCaretPeriod(self, periodMilliseconds)
Get the time in milliseconds that the caret is on and off.
  SetCaretSticky(self, useCaretStickyBehaviour)
Stop the caret preferred x position changing when the user types.
  SetCaretWidth(self, pixelWidth)
Set the width of the insert mode caret.
  SetCharsDefault(self)
Reset the set of characters for whitespace and word characters to the defaults.
  SetCodePage(self, codePage)
Set the code page used to interpret the bytes of the document as characters.
  SetControlCharSymbol(self, symbol)
Change the way control characters are displayed: If symbol is < 32, keep the drawn way, else, use the given character.
  SetCurrentPos(