wxErlang

Reference Manual

Version 1.8.6

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

Types

Equivalent to new(Parent, []).

Types

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

Types

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

Types

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

Types

Types

Pos = integer()

Types

Types

Types

Types

Pos = integer()

Types

Types

Types

Pos = integer()

Types

Types

CollectUndo = boolean()

Types

Types

Types

StartPos = integer()
EndPos = integer()

Types

Types

Handle = integer()

Types

Handle = integer()

Types

Types

Types

ViewWS = integer()

Types

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

Types

X = integer()
Y = integer()

Types

Line = integer()

Types

Pos = integer()

Types

PosAnchor = integer()

Types

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

Types

Types

EolMode = integer()

Types

Types

EolMode = integer()

Types

Pos = integer()
Mask = integer()

Types

Length = integer()
Style = integer()

Types

Types

Buffered = boolean()

Types

TabWidth = integer()

Types

Types

CodePage = integer()

Types

MarkerNumber = integer()
MarkerSymbol = integer()

Types

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

Types

MarkerNumber = integer()

Types

MarkerNumber = integer()

Types

Line = integer()
MarkerNumber = integer()

Types

Line = integer()
MarkerNumber = integer()

Types

MarkerNumber = integer()

Types

Line = integer()

Types

LineStart = integer()
MarkerMask = integer()

Types

LineStart = integer()
MarkerMask = integer()

Types

MarkerNumber = integer()

Types

Line = integer()
Set = integer()

Types

MarkerNumber = integer()
Alpha = integer()

Types

Margin = integer()
MarginType = integer()

Types

Margin = integer()

Types

Margin = integer()
PixelWidth = integer()

Types

Margin = integer()

Types

Margin = integer()
Mask = integer()

Types

Margin = integer()

Types

Margin = integer()
Sensitive = boolean()

Types

Margin = integer()

Types

Types

Style = integer()

Types

Style = integer()

Types

Style = integer()
Bold = boolean()

Types

Style = integer()
Italic = boolean()

Types

Style = integer()
SizePoints = integer()

Types

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

Types

Style = integer()
Filled = boolean()

Types

Types

Style = integer()
Underline = boolean()

Types

Style = integer()
CaseForce = integer()

Types

Style = integer()
Hotspot = boolean()

Types

UseSetting = boolean()

Types

UseSetting = boolean()

Types

Types

Alpha = integer()

Types

Types

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

Types

Key = integer()
Modifiers = integer()

Types

Types

Length = integer()

Types

Style = integer()
Visible = boolean()

Types

Types

PeriodMilliseconds = integer()

Types

Characters = unicode:chardata()

Types

Types

Types

Indic = integer()
Style = integer()

Types

Indic = integer()

Types

Indic = integer()

Types

Indic = integer()

Types

UseSetting = boolean()

Types

UseSetting = boolean()

Types

Types

Line = integer()
State = integer()

Types

Line = integer()

Types

Types

Types

Show = boolean()

Types

Types

Types

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

Types

Types

Types

Types

Types

CharacterSet = unicode:chardata()

Types

SeparatorCharacter = integer()

Types

Types

Cancel = boolean()

Types

Types

CharacterSet = unicode:chardata()

Types

ChooseSingle = boolean()

Types

Types

IgnoreCase = boolean()

Types

Types

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

Types

AutoHide = boolean()

Types

Types

DropRestOfWord = boolean()

Types

Types

Type = integer()

Types

Types

Types

SeparatorCharacter = integer()

Types

CharacterCount = integer()

Types

Types

RowCount = integer()

Types

Types

IndentSize = integer()

Types

Types

UseTabs = boolean()

Types

Types

Line = integer()
IndentSize = integer()

Types

Line = integer()

Types

Line = integer()

Types

Pos = integer()

Types

Show = boolean()

Types

Types

Show = boolean()

Types

Types

Column = integer()

Types

Types

Line = integer()

Types

Types

Types

Types

Pos = integer()

Types

Pos = integer()

Types

Types

Pos = integer()

Types

Types

Magnification = integer()

Types

Types

Mode = integer()

Types

Types

MinPos = integer()
MaxPos = integer()

Types

MinPos = integer()
MaxPos = integer()
Option = {flags, 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()}

Types

Types

Line = integer()

Types

Types

PixelWidth = integer()

Types

Types

PixelWidth = integer()

Types

Types

Types

Start = integer()
End = integer()

Types

Types

StartPos = integer()
EndPos = integer()

Types

Normal = boolean()

Types

Pos = integer()

Types

Line = integer()

Types

Columns = integer()
Lines = integer()

Types

Types

ReadOnly = boolean()

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

PixelWidth = integer()

Types

Types

Pos = integer()

Types

Types

Pos = integer()

Types

Types

Flags = integer()

Types

Types

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

Types

Types

Types

Types

Start = integer()
End = integer()

Types

Types

Types

Types

TabSize = integer()

Types

Line = integer()

Types

LineDisplay = integer()

Types

Line = integer()

Types

Line = integer()
Level = integer()

Types

Line = integer()

Types

Line = integer()
Level = integer()

Types

Line = integer()

Types

LineStart = integer()
LineEnd = integer()

Types

LineStart = integer()
LineEnd = integer()

Types

Line = integer()

Types

Line = integer()
Expanded = boolean()

Types

Line = integer()

Types

Line = integer()

Types

Line = integer()

Types

Flags = integer()

Types

Line = integer()

Types

TabIndents = boolean()

Types

Types

BsUnIndents = boolean()

Types

Types

PeriodMilliseconds = integer()

Types

Types

Pos = integer()
OnlyWordCharacters = boolean()

Types

Pos = integer()
OnlyWordCharacters = boolean()

Types

Mode = integer()

Types

Types

WrapVisualFlags = integer()

Types

Types

WrapVisualFlagsLocation = integer()

Types

Types

Indent = integer()

Types

Types

Mode = integer()

Types

Types

PixelWidth = integer()

Types

Types

Style = integer()

Types

Types

Line = integer()

Types

Show = boolean()

Types

Types

Types

TwoPhase = boolean()

Types

Types

Types

PixelWidth = integer()

Types

UseSetting = boolean()

Types

UseSetting = boolean()

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Line = integer()

Types

Pos1 = integer()
Pos2 = integer()

Types

Pos = integer()

Types

Pos = integer()

Types

Types

Visible = boolean()

Types

Mask = integer()

Types

Types

Column = integer()

Types

Mode = integer()

Types

Types

Types

EdgeColour = wx:wx_colour()

Types

Types

Flags = integer()

Types

Flags = integer()

Types

Types

AllowPopUp = boolean()

Types

Types

Zoom = integer()

Types

Types

Types

Focus = boolean()

Types

Types

StatusCode = integer()

Types

Types

Captures = boolean()

Types

Types

CursorType = integer()

Types

Types

Symbol = integer()

Types

Types

Types

Types

Types

Types

VisiblePolicy = integer()
VisibleSlop = integer()

Types

Types

Types

Types

Types

CaretPolicy = integer()
CaretSlop = integer()

Types

CaretPolicy = integer()
CaretSlop = integer()

Types

Types

UseSetting = boolean()

Types

UseSetting = boolean()

Types

Underline = boolean()

Types

SingleLine = boolean()

Types

Types

Types

Types

Pos = integer()

Types

Pos = integer()

Types

Start = integer()
End = integer()

Types

Length = integer()

Types

Mode = integer()

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Types

Characters = unicode:chardata()

Types

Types

Types

Bytes = integer()

Types

Line = integer()
Column = integer()

Types

Types

UseCaretStickyBehaviour = boolean()

Types

Types

Convert = boolean()

Types

Types

Types

Alpha = integer()

Types

Types

Types

Types

Lexer = integer()

Types

Types

Start = integer()
End = integer()

Types

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

Types

Language = unicode:chardata()

Types

Types

Types

StyleNum = integer()

Types

StyleNum = integer()

Types

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

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

Types

Style = integer()
CharacterSet = integer()

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

Types

Cmd = integer()

Types

Left = integer()
Right = integer()

Types

Types

Pos = integer()

Types

Line = integer()

Types

Column = integer()

Types

Types

Val = boolean()

Types

Filename = unicode:chardata()

Types

Filename = unicode:chardata()

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

Types

X = integer()
Y = integer()

Types

Types

Text = binary()

Types

Pos = integer()
Text = binary()

Types

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

Types

Line = integer()

Types

Types

StartPos = integer()
EndPos = integer()

Types

Text = binary()

Types

Types

Text = binary()

Destroys this object, do not use object again