Questions about StyledTextCtrl
simon kagwe
simonkagwe at yahoo.com
Fri May 4 07:32:20 PDT 2007
Hi,
I would like to create a small command window for my
application that will only accept commands specific to
my program. I want something similar to PyShell. The
lack of docs and tutorials is really frustrating, so I
need your help with a few issues I am having:
1)Is it possible to have the ">>>" and the "..."
showing in the margin instead of line numbers? I've
tried to define a bitmap marker, but it doesn't show.
I thought I could use a marker with STC_MARK_CHARACTER
but I couldn't figure out what it does.
2)If not, is it possible to have the control without
that left margin?
3)I want some text not to be editable eg. intro, error
messages and command output. In PyShell you can't cut
or erase such text. However you can drag and drop text
onto it. You can actually drag and drop text on the
">>>". Is there a way to avoid this?
4)I read in
http://wiki.wxpython.org/index.cgi/StyledTextCtrl_Log_Window_Demo
that stc supports zooming in and out by default. I've
tried it on my computer and it doesn't work. Is the
feature not available in wx2.8.
Please help me out. I am using wxPython 2.8 on WinXP.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the wxpython-users
mailing list