wxStyledTextCtrl - Dead?

  • Thread starter David Rasmussen
  • Start date
D

David Rasmussen

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
 
D

Dave Mandelin

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.
 
D

David Rasmussen

Dave said:
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
 
P

Peter Hansen

David said:
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
 
F

Franz Steinhaeusler

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top