projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compile fix. Seems to work too, at quick glance.
[wxWidgets.git]
/
wxPython
/
demo
/
StyledTextCtrl_1.py
diff --git
a/wxPython/demo/StyledTextCtrl_1.py
b/wxPython/demo/StyledTextCtrl_1.py
index 552aa3950237febc2b9f567d8fb119ef5e9bf7a3..33028c3bbdad9b4141350eb59bf6d7fd092b3208 100644
(file)
--- a/
wxPython/demo/StyledTextCtrl_1.py
+++ b/
wxPython/demo/StyledTextCtrl_1.py
@@
-50,7
+50,7
@@
else:
face1 = 'Helvetica'
face2 = 'Times'
face3 = 'Courier'
face1 = 'Helvetica'
face2 = 'Times'
face3 = 'Courier'
- pb = 1
0
+ pb = 1
2
#----------------------------------------------------------------------
#----------------------------------------------------------------------
@@
-177,6
+177,12
@@
def runTest(frame, nb, log):
#ed.SetUseAntiAliasing(False)
#ed.SetViewEOL(True)
#ed.SetUseAntiAliasing(False)
#ed.SetViewEOL(True)
+ #ed.CmdKeyClear(stc.STC_KEY_BACK,
+ # stc.STC_SCMOD_CTRL)
+ #ed.CmdKeyAssign(stc.STC_KEY_BACK,
+ # stc.STC_SCMOD_CTRL,
+ # stc.STC_CMD_DELWORDLEFT)
+
ed.SetText(demoText)
if wx.USE_UNICODE:
ed.SetText(demoText)
if wx.USE_UNICODE:
@@
-234,8
+240,7
@@
def runTest(frame, nb, log):
# setup some markers
ed.SetMarginType(1, stc.STC_MARGIN_SYMBOL)
ed.MarkerDefine(0, stc.STC_MARK_ROUNDRECT, "#CCFF00", "RED")
# setup some markers
ed.SetMarginType(1, stc.STC_MARGIN_SYMBOL)
ed.MarkerDefine(0, stc.STC_MARK_ROUNDRECT, "#CCFF00", "RED")
- #ed.MarkerDefine(1, stc.STC_MARK_CIRCLE, "FOREST GREEN", "SIENNA")
- ed.MarkerDefineBitmap(1, images.getFolder1Bitmap())
+ ed.MarkerDefine(1, stc.STC_MARK_CIRCLE, "FOREST GREEN", "SIENNA")
ed.MarkerDefine(2, stc.STC_MARK_SHORTARROW, "blue", "blue")
ed.MarkerDefine(3, stc.STC_MARK_ARROW, "#00FF00", "#00FF00")
ed.MarkerDefine(2, stc.STC_MARK_SHORTARROW, "blue", "blue")
ed.MarkerDefine(3, stc.STC_MARK_ARROW, "#00FF00", "#00FF00")