A StyledTextCrl that monitors the size of its internal text and
resizes the parent accordingly.
|
__init__(self,
parent,
id,
pos=wx.DefaultPosition,
size=wx.DefaultSize,
style=0,
data=None) |
source code
|
|
|
|
|
|
|
ReplaceText(self,
start,
end,
text,
style=None) |
source code
|
|
|
|
|
|
|
|
|
AttachMatcher(self,
matcher)
Attaches a gmMatchProvider to the STC,this will be used to drive
auto-completion |
source code
|
|
|
SetData(self,
data)
Configures the data associated with this STC @param data The
associated data @type data Any object |
source code
|
|
|
GetData(self)
Retrieves the data associated with this STC |
source code
|
|
|
replace_text(self,
start=None,
end=None,
text=None,
style=None)
Oddly, the otherwise very rich wx.STC API does not provide an easy
way to replace text, so we provide it here. |
source code
|
|
|
replace_keyword_with_expansion(self,
keyword=None,
position=None) |
source code
|
|
|
MakePopup(self,
text,
data,
parent,
cursor_position)
An overrideable method, called whenever a match is made in this STC
Designed for producing popups, but the overrider can in fact, do
whatever they please. |
source code
|
|