469,286 Members | 2,442 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,286 developers. It's quick & easy.

wxStyledTextCtrl - Dead?

I have several questions about wxStyledTextCtrl:

1) Is it still being maintained?

2) Where are the docs and tutorials?

3) Is it wxStyledTextCtrl, wx.StyledTextCtrl, StyledTextCtrl, or... ?

4) Is there an alternative?

/David
Apr 9 '06 #1
5 2954
The wxPython Demo
(http://prdownloads.sourceforge.net/w...2.6.3.2.tar.gz)
still contains the wxStyledTextCtrl:

wx.stc.StyledTextCtrl

The demo is probably also a good example of how to use
wxStyledTextCtrl.

Basic information can be found on
http://www.yellowbrain.com/stc/init_repr.html

Regards.
David Rasmussen schrieb:
I have several questions about wxStyledTextCtrl:

1) Is it still being maintained?

2) Where are the docs and tutorials?

3) Is it wxStyledTextCtrl, wx.StyledTextCtrl, StyledTextCtrl, or... ?

4) Is there an alternative?

/David


Apr 9 '06 #2
I don't know the answers to 1 and 2, but from the demo I know that the
answer to 3 is wx.stc.StyledTextControl.

As for 4, I guess it depends on what you want to do. StyledTextControl
looked pretty scary to me, and for my application I mainly needed to
display styled text, not edit it, so I embedded a web browser window
and used HTML+CSS (and even a little JavaScript now). That worked quite
nicely.

If you need to edit the text as well, then I don't know. The rich edit
control (TextCtrl with style wx.TE_RICH2) is one option, but it is not
particularly nice to use.

--
Want to play tabletop RPGs over the internet?
Check out RPZen: http://koboldsoft.com

Apr 10 '06 #3
Dave Mandelin wrote:
I don't know the answers to 1 and 2, but from the demo I know that the
answer to 3 is wx.stc.StyledTextControl.

As for 4, I guess it depends on what you want to do. StyledTextControl
looked pretty scary to me, and for my application I mainly needed to
display styled text, not edit it, so I embedded a web browser window
and used HTML+CSS (and even a little JavaScript now). That worked quite
nicely.

If you need to edit the text as well, then I don't know. The rich edit
control (TextCtrl with style wx.TE_RICH2) is one option, but it is not
particularly nice to use.


I am trying to make a programmer's editor (and later a full IDE), and I
want things like syntax highlighting etc. I could of course roll my own
fancy editing control, but if STC could solve my problem and is flexible
enough, then I'll use that for now :)

/David
Apr 11 '06 #4
David Rasmussen wrote:
I am trying to make a programmer's editor (and later a full IDE), and I
want things like syntax highlighting etc. I could of course roll my own
fancy editing control, but if STC could solve my problem and is flexible
enough, then I'll use that for now :)


There are at least two (that I know of) editors written in Python and
based on the STC. Going from memory, PyPE is one, and the other is ...
um... well, it's too early in the morning to recall but I'm sure it
wouldn't be hard to find. Full source is available for either and while
rolling your own anything is fun and educational, I think both of these
are simple enough that you'd probably prefer to stand on their authors'
shoulders, or at least learn from the code first.

-Peter

Apr 11 '06 #5
On Tue, 11 Apr 2006 06:58:28 -0400, Peter Hansen <pe***@engcorp.com>
wrote:
David Rasmussen wrote:
I am trying to make a programmer's editor (and later a full IDE), and I
want things like syntax highlighting etc. I could of course roll my own
fancy editing control, but if STC could solve my problem and is flexible
enough, then I'll use that for now :)


There are at least two (that I know of) editors written in Python and
based on the STC. Going from memory, PyPE is one, and the other is ...
um... well, it's too early in the morning to recall but I'm sure it
wouldn't be hard to find.


No, it's not hard. :)
for example: Boa Constructor, DrPython, spe and newedit.
Apr 11 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Christian Tismer | last post: by
5 posts views Thread by Paul Robson | last post: by
reply views Thread by Cram TeXeD | last post: by
19 posts views Thread by Lyle Fairfield | last post: by
2 posts views Thread by pierre_py | last post: by
3 posts views Thread by Sloan.Kohler | last post: by
4 posts views Thread by OpenPavilion Team | last post: by
4 posts views Thread by bukzor | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.