wxErlang

Reference Manual

Version 1.9.1

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.

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

Pos = integer()

Types

Pos = integer()

Types

Pos = integer()

Types

CollectUndo = boolean()

Types

StartPos = integer()
EndPos = integer()

Types

Handle = integer()

Types

Handle = integer()

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

EolMode = integer()

Types

EolMode = integer()

Types

Pos = integer()
Mask = integer()

Types

Length = integer()
Style = integer()

Types

Buffered = boolean()

Types

TabWidth = integer()

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

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

Style = integer()
Underline = boolean()

Types

Style = integer()
CaseForce = integer()

Types

Style = integer()
Hotspot = boolean()

Types

UseSetting = boolean()

Types

UseSetting = boolean()

Types

Alpha = integer()

Types

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

Types

Key = integer()
Modifiers = integer()

Types

Length = integer()

Types

Style = integer()
Visible = boolean()

Types

PeriodMilliseconds = integer()

Types

Indic = integer()
Style = integer()

Types

Indic = integer()

Types

Indic = integer()

Types

Indic = integer()

Types

UseSetting = boolean()

Types

UseSetting = boolean()

Types

Line = integer()
State = integer()

Types

Line = integer()

Types

Show = boolean()

Types

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

Types

SeparatorCharacter = integer()

Types

Cancel = boolean()

Types

ChooseSingle = boolean()

Types

IgnoreCase = boolean()

Types

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

Types

AutoHide = boolean()

Types

DropRestOfWord = boolean()

Types

Type = integer()

Types

SeparatorCharacter = integer()

Types

CharacterCount = integer()

Types

RowCount = integer()

Types

IndentSize = integer()

Types

UseTabs = boolean()

Types

Line = integer()
IndentSize = integer()

Types

Line = integer()

Types

Line = integer()

Types

Pos = integer()

Types

Show = boolean()

Types

Show = boolean()

Types

Column = integer()

Types

Line = integer()

Types

Pos = integer()

Types

Pos = integer()

Types

Pos = integer()

Types

Magnification = integer()

Types

Mode = integer()

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

Line = integer()

Types

PixelWidth = integer()

Types

PixelWidth = integer()

Types

Start = integer()
End = integer()

Types

StartPos = integer()
EndPos = integer()

Types

Normal = boolean()

Types

Pos = integer()

Types

Line = integer()

Types

Columns = integer()
Lines = integer()

Types

ReadOnly = boolean()

Types

PixelWidth = integer()

Types

Pos = integer()

Types

Pos = integer()

Types

Flags = integer()

Types

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

Types

Start = integer()
End = integer()

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

BsUnIndents = boolean()

Types

PeriodMilliseconds = integer()

Types

Pos = integer()
OnlyWordCharacters = boolean()

Types

Pos = integer()
OnlyWordCharacters = boolean()

Types

Mode = integer()

Types

WrapVisualFlags = integer()

Types

WrapVisualFlagsLocation = integer()

Types

Indent = integer()

Types

Mode = integer()

Types

PixelWidth = integer()

Types

Style = integer()

Types

Line = integer()

Types

Show = boolean()

Types

TwoPhase = boolean()

Types

PixelWidth = integer()

Types

UseSetting = boolean()

Types

UseSetting = boolean()

Types

Line = integer()

Types

Pos1 = integer()
Pos2 = integer()

Types

Pos = integer()

Types

Pos = integer()

Types

Visible = boolean()

Types

Mask = integer()

Types

Column = integer()

Types

Mode = integer()

Types

Flags = integer()

Types

Flags = integer()

Types

AllowPopUp = boolean()

Types

Zoom = integer()

Types

Focus = boolean()

Types

StatusCode = integer()

Types

Captures = boolean()

Types

CursorType = integer()

Types

Symbol = integer()

Types

VisiblePolicy = integer()
VisibleSlop = integer()

Types

CaretPolicy = integer()
CaretSlop = integer()

Types

CaretPolicy = integer()
CaretSlop = integer()

Types

UseSetting = boolean()

Types

UseSetting = boolean()

Types

Underline = boolean()

Types

SingleLine = boolean()

Types

Pos = integer()

Types

Pos = integer()

Types

Start = integer()
End = integer()

Types

Length = integer()

Types

Mode = integer()

Types

Bytes = integer()

Types

Line = integer()
Column = integer()

Types

UseCaretStickyBehaviour = boolean()

Types

Convert = boolean()

Types

Alpha = integer()

Types

Lexer = integer()

Types

Start = integer()
End = integer()

Types

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

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

Pos = integer()

Types

Line = integer()

Types

Column = integer()

Types

Val = boolean()

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

Text = binary()

Types

Pos = integer()
Text = binary()

Types

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

Types

Line = integer()

Types

StartPos = integer()
EndPos = integer()

Types

Text = binary()

Types

Text = binary()

Destroys this object, do not use object again