wxErlang

Reference Manual

Version 1.8.2

Table of Contents

wxStyledTextCtrl

Module

wxStyledTextCtrl

Module Summary

See external documentation: wxStyledTextCtrl.

Description

See external documentation: wxStyledTextCtrl.

This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler

DATA TYPES

wxStyledTextCtrl()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

Exports

new() -> wxStyledTextCtrl()

new(Parent) -> wxStyledTextCtrl()

Types

Equivalent to new(Parent, []).

new(Parent, Options::[Option]) -> wxStyledTextCtrl()

Types

Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}

create(This, Parent) -> boolean()

Types

Equivalent to create(This, Parent, []).

create(This, Parent, Options::[Option]) -> boolean()

Types

Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}

addText(This, Text) -> ok

addStyledText(This, Data) -> ok

Types

insertText(This, Pos, Text) -> ok

Types

Pos = integer()

clearAll(This) -> ok

Types

clearDocumentStyle(This) -> ok

Types

getLength(This) -> integer()

Types

getCharAt(This, Pos) -> integer()

Types

Pos = integer()

getCurrentPos(This) -> integer()

Types

getAnchor(This) -> integer()

Types

getStyleAt(This, Pos) -> integer()

Types

Pos = integer()

redo(This) -> ok

Types

setUndoCollection(This, CollectUndo) -> ok

Types

CollectUndo = boolean()

selectAll(This) -> ok

Types

setSavePoint(This) -> ok

Types

getStyledText(This, StartPos, EndPos) -> wx:wx_object()

Types

StartPos = integer()
EndPos = integer()

canRedo(This) -> boolean()

Types

markerLineFromHandle(This, Handle) -> integer()

Types

Handle = integer()

markerDeleteHandle(This, Handle) -> ok

Types

Handle = integer()

getUndoCollection(This) -> boolean()

Types

getViewWhiteSpace(This) -> integer()

Types

setViewWhiteSpace(This, ViewWS) -> ok

Types

ViewWS = integer()

positionFromPoint(This, Pt) -> integer()

Types

Pt = {X::integer(), Y::integer()}

positionFromPointClose(This, X, Y) -> integer()

Types

X = integer()
Y = integer()

gotoLine(This, Line) -> ok

Types

Line = integer()

gotoPos(This, Pos) -> ok

Types

Pos = integer()

setAnchor(This, PosAnchor) -> ok

Types

PosAnchor = integer()

getCurLine(This) -> Result

Types

Result = {Res::unicode:charlist(), LinePos::integer()}

getEndStyled(This) -> integer()

Types

convertEOLs(This, EolMode) -> ok

Types

EolMode = integer()

getEOLMode(This) -> integer()

Types

setEOLMode(This, EolMode) -> ok

Types

EolMode = integer()

startStyling(This, Pos, Mask) -> ok

Types

Pos = integer()
Mask = integer()

setStyling(This, Length, Style) -> ok

Types

Length = integer()
Style = integer()

getBufferedDraw(This) -> boolean()

Types

setBufferedDraw(This, Buffered) -> ok

Types

Buffered = boolean()

setTabWidth(This, TabWidth) -> ok

Types

TabWidth = integer()

getTabWidth(This) -> integer()

Types

setCodePage(This, CodePage) -> ok

Types

CodePage = integer()

markerDefine(This, MarkerNumber, MarkerSymbol) -> ok

Types

MarkerNumber = integer()
MarkerSymbol = integer()

markerDefine(This, MarkerNumber, MarkerSymbol, Options::[Option]) -> ok

Types

MarkerNumber = integer()
MarkerSymbol = integer()
Option = {foreground, wx:wx_colour()} | {background, wx:wx_colour()}

markerSetForeground(This, MarkerNumber, Fore) -> ok

Types

MarkerNumber = integer()

markerSetBackground(This, MarkerNumber, Back) -> ok

Types

MarkerNumber = integer()

markerAdd(This, Line, MarkerNumber) -> integer()

Types

Line = integer()
MarkerNumber = integer()

markerDelete(This, Line, MarkerNumber) -> ok

Types

Line = integer()
MarkerNumber = integer()

markerDeleteAll(This, MarkerNumber) -> ok

Types

MarkerNumber = integer()

markerGet(This, Line) -> integer()

Types

Line = integer()

markerNext(This, LineStart, MarkerMask) -> integer()

Types

LineStart = integer()
MarkerMask = integer()

markerPrevious(This, LineStart, MarkerMask) -> integer()

Types

LineStart = integer()
MarkerMask = integer()

markerDefineBitmap(This, MarkerNumber, Bmp) -> ok

Types

MarkerNumber = integer()

markerAddSet(This, Line, Set) -> ok

Types

Line = integer()
Set = integer()

markerSetAlpha(This, MarkerNumber, Alpha) -> ok

Types

MarkerNumber = integer()
Alpha = integer()

setMarginType(This, Margin, MarginType) -> ok

Types

Margin = integer()
MarginType = integer()

getMarginType(This, Margin) -> integer()

Types

Margin = integer()

setMarginWidth(This, Margin, PixelWidth) -> ok

Types

Margin = integer()
PixelWidth = integer()

getMarginWidth(This, Margin) -> integer()

Types

Margin = integer()

setMarginMask(This, Margin, Mask) -> ok

Types

Margin = integer()
Mask = integer()

getMarginMask(This, Margin) -> integer()

Types

Margin = integer()

setMarginSensitive(This, Margin, Sensitive) -> ok

Types

Margin = integer()
Sensitive = boolean()

getMarginSensitive(This, Margin) -> boolean()

Types

Margin = integer()

styleClearAll(This) -> ok

Types

styleSetForeground(This, Style, Fore) -> ok

Types

Style = integer()

styleSetBackground(This, Style, Back) -> ok

Types

Style = integer()

styleSetBold(This, Style, Bold) -> ok

Types

Style = integer()
Bold = boolean()

styleSetItalic(This, Style, Italic) -> ok

Types

Style = integer()
Italic = boolean()

styleSetSize(This, Style, SizePoints) -> ok

Types

Style = integer()
SizePoints = integer()

styleSetFaceName(This, Style, FontName) -> ok

Types

Style = integer()
FontName = unicode:chardata()

styleSetEOLFilled(This, Style, Filled) -> ok

Types

Style = integer()
Filled = boolean()

styleResetDefault(This) -> ok

Types

styleSetUnderline(This, Style, Underline) -> ok

Types

Style = integer()
Underline = boolean()

styleSetCase(This, Style, CaseForce) -> ok

Types

Style = integer()
CaseForce = integer()

styleSetHotSpot(This, Style, Hotspot) -> ok

Types

Style = integer()
Hotspot = boolean()

setSelForeground(This, UseSetting, Fore) -> ok

Types

UseSetting = boolean()

setSelBackground(This, UseSetting, Back) -> ok

Types

UseSetting = boolean()

getSelAlpha(This) -> integer()

Types

setSelAlpha(This, Alpha) -> ok

Types

Alpha = integer()

setCaretForeground(This, Fore) -> ok

Types

cmdKeyAssign(This, Key, Modifiers, Cmd) -> ok

Types

Key = integer()
Modifiers = integer()
Cmd = integer()

cmdKeyClear(This, Key, Modifiers) -> ok

Types

Key = integer()
Modifiers = integer()

cmdKeyClearAll(This) -> ok

Types

setStyleBytes(This, Length) -> integer()

Types

Length = integer()

styleSetVisible(This, Style, Visible) -> ok

Types

Style = integer()
Visible = boolean()

getCaretPeriod(This) -> integer()

Types

setCaretPeriod(This, PeriodMilliseconds) -> ok

Types

PeriodMilliseconds = integer()

setWordChars(This, Characters) -> ok

Types

Characters = unicode:chardata()

beginUndoAction(This) -> ok

Types

endUndoAction(This) -> ok

Types

indicatorSetStyle(This, Indic, Style) -> ok

Types

Indic = integer()
Style = integer()

indicatorGetStyle(This, Indic) -> integer()

Types

Indic = integer()

indicatorSetForeground(This, Indic, Fore) -> ok

Types

Indic = integer()

indicatorGetForeground(This, Indic) -> wx:wx_colour4()

Types

Indic = integer()

setWhitespaceForeground(This, UseSetting, Fore) -> ok

Types

UseSetting = boolean()

setWhitespaceBackground(This, UseSetting, Back) -> ok

Types

UseSetting = boolean()

getStyleBits(This) -> integer()

Types

setLineState(This, Line, State) -> ok

Types

Line = integer()
State = integer()

getLineState(This, Line) -> integer()

Types

Line = integer()

getMaxLineState(This) -> integer()

Types

getCaretLineVisible(This) -> boolean()

Types

setCaretLineVisible(This, Show) -> ok

Types

Show = boolean()

getCaretLineBackground(This) -> wx:wx_colour4()

Types

setCaretLineBackground(This, Back) -> ok

Types

autoCompShow(This, LenEntered, ItemList) -> ok

Types

LenEntered = integer()
ItemList = unicode:chardata()

autoCompCancel(This) -> ok

Types

autoCompActive(This) -> boolean()

Types

autoCompPosStart(This) -> integer()

Types

autoCompComplete(This) -> ok

Types

autoCompStops(This, CharacterSet) -> ok

Types

CharacterSet = unicode:chardata()

autoCompSetSeparator(This, SeparatorCharacter) -> ok

Types

SeparatorCharacter = integer()

autoCompGetSeparator(This) -> integer()

Types

autoCompSelect(This, Text) -> ok

autoCompSetCancelAtStart(This, Cancel) -> ok

Types

Cancel = boolean()

autoCompGetCancelAtStart(This) -> boolean()

Types

autoCompSetFillUps(This, CharacterSet) -> ok

Types

CharacterSet = unicode:chardata()

autoCompSetChooseSingle(This, ChooseSingle) -> ok

Types

ChooseSingle = boolean()

autoCompGetChooseSingle(This) -> boolean()

Types

autoCompSetIgnoreCase(This, IgnoreCase) -> ok

Types

IgnoreCase = boolean()

autoCompGetIgnoreCase(This) -> boolean()

Types

userListShow(This, ListType, ItemList) -> ok

Types

ListType = integer()
ItemList = unicode:chardata()

autoCompSetAutoHide(This, AutoHide) -> ok

Types

AutoHide = boolean()

autoCompGetAutoHide(This) -> boolean()

Types

autoCompSetDropRestOfWord(This, DropRestOfWord) -> ok

Types

DropRestOfWord = boolean()

autoCompGetDropRestOfWord(This) -> boolean()

Types

registerImage(This, Type, Bmp) -> ok

Types

Type = integer()

clearRegisteredImages(This) -> ok

Types

autoCompGetTypeSeparator(This) -> integer()

Types

autoCompSetTypeSeparator(This, SeparatorCharacter) -> ok

Types

SeparatorCharacter = integer()

autoCompSetMaxWidth(This, CharacterCount) -> ok

Types

CharacterCount = integer()

autoCompGetMaxWidth(This) -> integer()

Types

autoCompSetMaxHeight(This, RowCount) -> ok

Types

RowCount = integer()

autoCompGetMaxHeight(This) -> integer()

Types

setIndent(This, IndentSize) -> ok

Types

IndentSize = integer()

getIndent(This) -> integer()

Types

setUseTabs(This, UseTabs) -> ok

Types

UseTabs = boolean()

getUseTabs(This) -> boolean()

Types

setLineIndentation(This, Line, IndentSize) -> ok

Types

Line = integer()
IndentSize = integer()

getLineIndentation(This, Line) -> integer()

Types

Line = integer()

getLineIndentPosition(This, Line) -> integer()

Types

Line = integer()

getColumn(This, Pos) -> integer()

Types

Pos = integer()

setUseHorizontalScrollBar(This, Show) -> ok

Types

Show = boolean()

getUseHorizontalScrollBar(This) -> boolean()

Types

setIndentationGuides(This, Show) -> ok

Types

Show = boolean()

getIndentationGuides(This) -> boolean()

Types

setHighlightGuide(This, Column) -> ok

Types

Column = integer()

getHighlightGuide(This) -> integer()

Types

getLineEndPosition(This, Line) -> integer()

Types

Line = integer()

getCodePage(This) -> integer()

Types

getCaretForeground(This) -> wx:wx_colour4()

Types

getReadOnly(This) -> boolean()

Types

setCurrentPos(This, Pos) -> ok

Types

Pos = integer()

setSelectionStart(This, Pos) -> ok

Types

Pos = integer()

getSelectionStart(This) -> integer()

Types

setSelectionEnd(This, Pos) -> ok

Types

Pos = integer()

getSelectionEnd(This) -> integer()

Types

setPrintMagnification(This, Magnification) -> ok

Types

Magnification = integer()

getPrintMagnification(This) -> integer()

Types

setPrintColourMode(This, Mode) -> ok

Types

Mode = integer()

getPrintColourMode(This) -> integer()

Types

findText(This, MinPos, MaxPos, Text) -> integer()

Types

MinPos = integer()
MaxPos = integer()

findText(This, MinPos, MaxPos, Text, Options::[Option]) -> integer()

Types

MinPos = integer()
MaxPos = integer()
Option = {flags, integer()}

formatRange(This, DoDraw, StartPos, EndPos, Draw, Target, RenderRect, PageRect) -> integer()

Types

DoDraw = boolean()
StartPos = integer()
EndPos = integer()
Draw = wxDC:wxDC()
Target = wxDC:wxDC()
RenderRect = {X::integer(), Y::integer(), W::integer(), H::integer()}
PageRect = {X::integer(), Y::integer(), W::integer(), H::integer()}

getFirstVisibleLine(This) -> integer()

Types

getLine(This, Line) -> unicode:charlist()

Types

Line = integer()

getLineCount(This) -> integer()

Types

setMarginLeft(This, PixelWidth) -> ok

Types

PixelWidth = integer()

getMarginLeft(This) -> integer()

Types

setMarginRight(This, PixelWidth) -> ok

Types

PixelWidth = integer()

getMarginRight(This) -> integer()

Types

getModify(This) -> boolean()

Types

setSelection(This, Start, End) -> ok

Types

Start = integer()
End = integer()

getSelectedText(This) -> unicode:charlist()

Types

getTextRange(This, StartPos, EndPos) -> unicode:charlist()

Types

StartPos = integer()
EndPos = integer()

hideSelection(This, Normal) -> ok

Types

Normal = boolean()

lineFromPosition(This, Pos) -> integer()

Types

Pos = integer()

positionFromLine(This, Line) -> integer()

Types

Line = integer()

lineScroll(This, Columns, Lines) -> ok

Types

Columns = integer()
Lines = integer()

ensureCaretVisible(This) -> ok

Types

replaceSelection(This, Text) -> ok

setReadOnly(This, ReadOnly) -> ok

Types

ReadOnly = boolean()

canPaste(This) -> boolean()

Types

canUndo(This) -> boolean()

Types

emptyUndoBuffer(This) -> ok

Types

undo(This) -> ok

Types

cut(This) -> ok

Types

copy(This) -> ok

Types

paste(This) -> ok

Types

clear(This) -> ok

Types

setText(This, Text) -> ok

getText(This) -> unicode:charlist()

Types

getTextLength(This) -> integer()

Types

getOvertype(This) -> boolean()

Types

setCaretWidth(This, PixelWidth) -> ok

Types

PixelWidth = integer()

getCaretWidth(This) -> integer()

Types

setTargetStart(This, Pos) -> ok

Types

Pos = integer()

getTargetStart(This) -> integer()

Types

setTargetEnd(This, Pos) -> ok

Types

Pos = integer()

getTargetEnd(This) -> integer()

Types

replaceTarget(This, Text) -> integer()

searchInTarget(This, Text) -> integer()

setSearchFlags(This, Flags) -> ok

Types

Flags = integer()

getSearchFlags(This) -> integer()

Types

callTipShow(This, Pos, Definition) -> ok

Types

Pos = integer()
Definition = unicode:chardata()

callTipCancel(This) -> ok

Types

callTipActive(This) -> boolean()

Types

callTipPosAtStart(This) -> integer()

Types

callTipSetHighlight(This, Start, End) -> ok

Types

Start = integer()
End = integer()

callTipSetBackground(This, Back) -> ok

Types

callTipSetForeground(This, Fore) -> ok

Types

callTipSetForegroundHighlight(This, Fore) -> ok

Types

callTipUseStyle(This, TabSize) -> ok

Types

TabSize = integer()

visibleFromDocLine(This, Line) -> integer()

Types

Line = integer()

docLineFromVisible(This, LineDisplay) -> integer()

Types

LineDisplay = integer()

wrapCount(This, Line) -> integer()

Types

Line = integer()

setFoldLevel(This, Line, Level) -> ok

Types

Line = integer()
Level = integer()

getFoldLevel(This, Line) -> integer()

Types

Line = integer()

getLastChild(This, Line, Level) -> integer()

Types

Line = integer()
Level = integer()

getFoldParent(This, Line) -> integer()

Types

Line = integer()

showLines(This, LineStart, LineEnd) -> ok

Types

LineStart = integer()
LineEnd = integer()

hideLines(This, LineStart, LineEnd) -> ok

Types

LineStart = integer()
LineEnd = integer()

getLineVisible(This, Line) -> boolean()

Types

Line = integer()

setFoldExpanded(This, Line, Expanded) -> ok

Types

Line = integer()
Expanded = boolean()

getFoldExpanded(This, Line) -> boolean()

Types

Line = integer()

toggleFold(This, Line) -> ok

Types

Line = integer()

ensureVisible(This, Line) -> ok

Types

Line = integer()

setFoldFlags(This, Flags) -> ok

Types

Flags = integer()

ensureVisibleEnforcePolicy(This, Line) -> ok

Types

Line = integer()

setTabIndents(This, TabIndents) -> ok

Types

TabIndents = boolean()

getTabIndents(This) -> boolean()

Types

setBackSpaceUnIndents(This, BsUnIndents) -> ok

Types

BsUnIndents = boolean()

getBackSpaceUnIndents(This) -> boolean()

Types

setMouseDwellTime(This, PeriodMilliseconds) -> ok

Types

PeriodMilliseconds = integer()

getMouseDwellTime(This) -> integer()

Types

wordStartPosition(This, Pos, OnlyWordCharacters) -> integer()

Types

Pos = integer()
OnlyWordCharacters = boolean()

wordEndPosition(This, Pos, OnlyWordCharacters) -> integer()

Types

Pos = integer()
OnlyWordCharacters = boolean()

setWrapMode(This, Mode) -> ok

Types

Mode = integer()

getWrapMode(This) -> integer()

Types

setWrapVisualFlags(This, WrapVisualFlags) -> ok

Types

WrapVisualFlags = integer()

getWrapVisualFlags(This) -> integer()

Types

setWrapVisualFlagsLocation(This, WrapVisualFlagsLocation) -> ok

Types

WrapVisualFlagsLocation = integer()

getWrapVisualFlagsLocation(This) -> integer()

Types

setWrapStartIndent(This, Indent) -> ok

Types

Indent = integer()

getWrapStartIndent(This) -> integer()

Types

setLayoutCache(This, Mode) -> ok

Types

Mode = integer()

getLayoutCache(This) -> integer()

Types

setScrollWidth(This, PixelWidth) -> ok

Types

PixelWidth = integer()

getScrollWidth(This) -> integer()

Types

textWidth(This, Style, Text) -> integer()

Types

Style = integer()

getEndAtLastLine(This) -> boolean()

Types

textHeight(This, Line) -> integer()

Types

Line = integer()

setUseVerticalScrollBar(This, Show) -> ok

Types

Show = boolean()

getUseVerticalScrollBar(This) -> boolean()

Types

appendText(This, Text) -> ok

getTwoPhaseDraw(This) -> boolean()

Types

setTwoPhaseDraw(This, TwoPhase) -> ok

Types

TwoPhase = boolean()

targetFromSelection(This) -> ok

Types

linesJoin(This) -> ok

Types

linesSplit(This, PixelWidth) -> ok

Types

PixelWidth = integer()

setFoldMarginColour(This, UseSetting, Back) -> ok

Types

UseSetting = boolean()

setFoldMarginHiColour(This, UseSetting, Fore) -> ok

Types

UseSetting = boolean()

lineDown(This) -> ok

Types

lineDownExtend(This) -> ok

Types

lineUp(This) -> ok

Types

lineUpExtend(This) -> ok

Types

charLeft(This) -> ok

Types

charLeftExtend(This) -> ok

Types

charRight(This) -> ok

Types

charRightExtend(This) -> ok

Types

wordLeft(This) -> ok

Types

wordLeftExtend(This) -> ok

Types

wordRight(This) -> ok

Types

wordRightExtend(This) -> ok

Types

home(This) -> ok

Types

homeExtend(This) -> ok

Types

lineEnd(This) -> ok

Types

lineEndExtend(This) -> ok

Types

documentStart(This) -> ok

Types

documentStartExtend(This) -> ok

Types

documentEnd(This) -> ok

Types

documentEndExtend(This) -> ok

Types

pageUp(This) -> ok

Types

pageUpExtend(This) -> ok

Types

pageDown(This) -> ok

Types

pageDownExtend(This) -> ok

Types

editToggleOvertype(This) -> ok

Types

cancel(This) -> ok

Types

deleteBack(This) -> ok

Types

tab(This) -> ok

Types

backTab(This) -> ok

Types

newLine(This) -> ok

Types

formFeed(This) -> ok

Types

vCHome(This) -> ok

Types

vCHomeExtend(This) -> ok

Types

zoomIn(This) -> ok

Types

zoomOut(This) -> ok

Types

delWordLeft(This) -> ok

Types

delWordRight(This) -> ok

Types

lineCut(This) -> ok

Types

lineDelete(This) -> ok

Types

lineTranspose(This) -> ok

Types

lineDuplicate(This) -> ok

Types

lowerCase(This) -> ok

Types

upperCase(This) -> ok

Types

lineScrollDown(This) -> ok

Types

lineScrollUp(This) -> ok

Types

deleteBackNotLine(This) -> ok

Types

homeDisplay(This) -> ok

Types

homeDisplayExtend(This) -> ok

Types

lineEndDisplay(This) -> ok

Types

lineEndDisplayExtend(This) -> ok

Types

homeWrapExtend(This) -> ok

Types

lineEndWrap(This) -> ok

Types

lineEndWrapExtend(This) -> ok

Types

vCHomeWrap(This) -> ok

Types

vCHomeWrapExtend(This) -> ok

Types

lineCopy(This) -> ok

Types

moveCaretInsideView(This) -> ok

Types

lineLength(This, Line) -> integer()

Types

Line = integer()

braceHighlight(This, Pos1, Pos2) -> ok

Types

Pos1 = integer()
Pos2 = integer()

braceBadLight(This, Pos) -> ok

Types

Pos = integer()

braceMatch(This, Pos) -> integer()

Types

Pos = integer()

getViewEOL(This) -> boolean()

Types

setViewEOL(This, Visible) -> ok

Types

Visible = boolean()

setModEventMask(This, Mask) -> ok

Types

Mask = integer()

getEdgeColumn(This) -> integer()

Types

setEdgeColumn(This, Column) -> ok

Types

Column = integer()

setEdgeMode(This, Mode) -> ok

Types

Mode = integer()

getEdgeMode(This) -> integer()

Types

getEdgeColour(This) -> wx:wx_colour4()

Types

setEdgeColour(This, EdgeColour) -> ok

Types

EdgeColour = wx:wx_colour()

searchAnchor(This) -> ok

Types

searchNext(This, Flags, Text) -> integer()

Types

Flags = integer()

searchPrev(This, Flags, Text) -> integer()

Types

Flags = integer()

linesOnScreen(This) -> integer()

Types

usePopUp(This, AllowPopUp) -> ok

Types

AllowPopUp = boolean()

selectionIsRectangle(This) -> boolean()

Types

setZoom(This, Zoom) -> ok

Types

Zoom = integer()

getZoom(This) -> integer()

Types

getModEventMask(This) -> integer()

Types

setSTCFocus(This, Focus) -> ok

Types

Focus = boolean()

getSTCFocus(This) -> boolean()

Types

setStatus(This, StatusCode) -> ok

Types

StatusCode = integer()

getStatus(This) -> integer()

Types

setMouseDownCaptures(This, Captures) -> ok

Types

Captures = boolean()

getMouseDownCaptures(This) -> boolean()

Types

setSTCCursor(This, CursorType) -> ok

Types

CursorType = integer()

getSTCCursor(This) -> integer()

Types

setControlCharSymbol(This, Symbol) -> ok

Types

Symbol = integer()

getControlCharSymbol(This) -> integer()

Types

wordPartLeft(This) -> ok

Types

wordPartLeftExtend(This) -> ok

Types

wordPartRight(This) -> ok

Types

wordPartRightExtend(This) -> ok

Types

setVisiblePolicy(This, VisiblePolicy, VisibleSlop) -> ok

Types

VisiblePolicy = integer()
VisibleSlop = integer()

delLineLeft(This) -> ok

Types

delLineRight(This) -> ok

Types

getXOffset(This) -> integer()

Types

chooseCaretX(This) -> ok

Types

setXCaretPolicy(This, CaretPolicy, CaretSlop) -> ok

Types

CaretPolicy = integer()
CaretSlop = integer()

setYCaretPolicy(This, CaretPolicy, CaretSlop) -> ok

Types

CaretPolicy = integer()
CaretSlop = integer()

getPrintWrapMode(This) -> integer()

Types

setHotspotActiveForeground(This, UseSetting, Fore) -> ok

Types

UseSetting = boolean()

setHotspotActiveBackground(This, UseSetting, Back) -> ok

Types

UseSetting = boolean()

setHotspotActiveUnderline(This, Underline) -> ok

Types

Underline = boolean()

setHotspotSingleLine(This, SingleLine) -> ok

Types

SingleLine = boolean()

paraDownExtend(This) -> ok

Types

paraUp(This) -> ok

Types

paraUpExtend(This) -> ok

Types

positionBefore(This, Pos) -> integer()

Types

Pos = integer()

positionAfter(This, Pos) -> integer()

Types

Pos = integer()

copyRange(This, Start, End) -> ok

Types

Start = integer()
End = integer()

copyText(This, Length, Text) -> ok

Types

Length = integer()

setSelectionMode(This, Mode) -> ok

Types

Mode = integer()

getSelectionMode(This) -> integer()

Types

lineDownRectExtend(This) -> ok

Types

lineUpRectExtend(This) -> ok

Types

charLeftRectExtend(This) -> ok

Types

charRightRectExtend(This) -> ok

Types

homeRectExtend(This) -> ok

Types

vCHomeRectExtend(This) -> ok

Types

lineEndRectExtend(This) -> ok

Types

pageUpRectExtend(This) -> ok

Types

pageDownRectExtend(This) -> ok

Types

stutteredPageUp(This) -> ok

Types

stutteredPageUpExtend(This) -> ok

Types

stutteredPageDown(This) -> ok

Types

stutteredPageDownExtend(This) -> ok

Types

wordLeftEnd(This) -> ok

Types

wordLeftEndExtend(This) -> ok

Types

wordRightEnd(This) -> ok

Types

wordRightEndExtend(This) -> ok

Types

setWhitespaceChars(This, Characters) -> ok

Types

Characters = unicode:chardata()

setCharsDefault(This) -> ok

Types

autoCompGetCurrent(This) -> integer()

Types

allocate(This, Bytes) -> ok

Types

Bytes = integer()

findColumn(This, Line, Column) -> integer()

Types

Line = integer()
Column = integer()

getCaretSticky(This) -> boolean()

Types

setCaretSticky(This, UseCaretStickyBehaviour) -> ok

Types

UseCaretStickyBehaviour = boolean()

toggleCaretSticky(This) -> ok

Types

setPasteConvertEndings(This, Convert) -> ok

Types

Convert = boolean()

getPasteConvertEndings(This) -> boolean()

Types

selectionDuplicate(This) -> ok

Types

setCaretLineBackAlpha(This, Alpha) -> ok

Types

Alpha = integer()

getCaretLineBackAlpha(This) -> integer()

Types

startRecord(This) -> ok

Types

stopRecord(This) -> ok

Types

setLexer(This, Lexer) -> ok

Types

Lexer = integer()

getLexer(This) -> integer()

Types

colourise(This, Start, End) -> ok

Types

Start = integer()
End = integer()

setProperty(This, Key, Value) -> ok

setKeyWords(This, KeywordSet, KeyWords) -> ok

Types

KeywordSet = integer()
KeyWords = unicode:chardata()

setLexerLanguage(This, Language) -> ok

Types

Language = unicode:chardata()

getProperty(This, Key) -> unicode:charlist()

getStyleBitsNeeded(This) -> integer()

Types

getCurrentLine(This) -> integer()

Types

styleSetSpec(This, StyleNum, Spec) -> ok

Types

StyleNum = integer()

styleSetFont(This, StyleNum, Font) -> ok

Types

StyleNum = integer()

styleSetFontAttr(This, StyleNum, Size, FaceName, Bold, Italic, Underline) -> ok

Types

StyleNum = integer()
Size = integer()
FaceName = unicode:chardata()
Bold = boolean()
Italic = boolean()
Underline = boolean()

styleSetFontAttr(This, StyleNum, Size, FaceName, Bold, Italic, Underline, Options::[Option]) -> ok

Types

StyleNum = integer()
Size = integer()
FaceName = unicode:chardata()
Bold = boolean()
Italic = boolean()
Underline = boolean()
Option = {encoding, wx:wx_enum()}

See external documentation.
Encoding = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS

styleSetCharacterSet(This, Style, CharacterSet) -> ok

Types

Style = integer()
CharacterSet = integer()

styleSetFontEncoding(This, Style, Encoding) -> ok

Types

Style = integer()
Encoding = wx:wx_enum()

See external documentation.
Encoding = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS

cmdKeyExecute(This, Cmd) -> ok

Types

Cmd = integer()

setMargins(This, Left, Right) -> ok

Types

Left = integer()
Right = integer()

getSelection(This) -> {StartPos::integer(), EndPos::integer()}

Types

pointFromPosition(This, Pos) -> {X::integer(), Y::integer()}

Types

Pos = integer()

scrollToLine(This, Line) -> ok

Types

Line = integer()

scrollToColumn(This, Column) -> ok

Types

Column = integer()

setVScrollBar(This, Bar) -> ok

setHScrollBar(This, Bar) -> ok

getLastKeydownProcessed(This) -> boolean()

Types

setLastKeydownProcessed(This, Val) -> ok

Types

Val = boolean()

saveFile(This, Filename) -> boolean()

Types

Filename = unicode:chardata()

loadFile(This, Filename) -> boolean()

Types

Filename = unicode:chardata()

doDragOver(This, X, Y, Def) -> wx:wx_enum()

Types

X = integer()
Y = integer()
Def = wx:wx_enum()

See external documentation.
Def = ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel
Res = ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel

doDropText(This, X, Y, Data) -> boolean()

Types

X = integer()
Y = integer()

getUseAntiAliasing(This) -> boolean()

Types

addTextRaw(This, Text) -> ok

Types

Text = binary()

insertTextRaw(This, Pos, Text) -> ok

Types

Pos = integer()
Text = binary()

getCurLineRaw(This) -> Result

Types

Result = {Res::binary(), LinePos::integer()}

getLineRaw(This, Line) -> binary()

Types

Line = integer()

getSelectedTextRaw(This) -> binary()

Types

getTextRangeRaw(This, StartPos, EndPos) -> binary()

Types

StartPos = integer()
EndPos = integer()

setTextRaw(This, Text) -> ok

Types

Text = binary()

getTextRaw(This) -> binary()

Types

appendTextRaw(This, Text) -> ok

Types

Text = binary()

destroy(This::wxStyledTextCtrl()) -> ok

Destroys this object, do not use object again