I have several questions about wxStyledTextCtr l:
1) Is it still being maintained?
2) Where are the docs and tutorials?
3) Is it wxStyledTextCtr l, wx.StyledTextCt rl, StyledTextCtrl, or... ?
4) Is there an alternative?
/David 5 3115
The wxPython Demo
( http://prdownloads.sourceforge.net/w...2.6.3.2.tar.gz)
still contains the wxStyledTextCtr l:
wx.stc.StyledTe xtCtrl
The demo is probably also a good example of how to use
wxStyledTextCtr l.
Basic information can be found on http://www.yellowbrain.com/stc/init_repr.html
Regards.
David Rasmussen schrieb: I have several questions about wxStyledTextCtr l:
1) Is it still being maintained?
2) Where are the docs and tutorials?
3) Is it wxStyledTextCtr l, wx.StyledTextCt rl, StyledTextCtrl, or... ?
4) Is there an alternative?
/David
I don't know the answers to 1 and 2, but from the demo I know that the
answer to 3 is wx.stc.StyledTe xtControl.
As for 4, I guess it depends on what you want to do. StyledTextContr ol
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
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.StyledTe xtControl.
As for 4, I guess it depends on what you want to do. StyledTextContr ol 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
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
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: J.R. |
last post by:
Hi,
I want to use the wxStyledTextCtrl to open a huge ascii file, see almost
10MB.
After I set the wrap mode, i.e. set to wxSTC_WRAP_WORD, the open and resize
of the
wxStyledTextCtrl will be much slow.
Any idea to resolve this issue?
|
by: Christian Tismer |
last post by:
Dear Former Stackless Users,
I have to use this list to announce something really bad to you,
since all the Stackless lists are defunct:
The Stackless project is finally dead, now and forever.
If this doesn't affect you, please don't worry and just
ignore it. I don't take any responsibilities for any
harm brought to you, your family or your descendants
|
by: Paul Robson |
last post by:
I have a wierd thing with a little editor app I'm writing.
I'm using wxStyledTextCtrl ; the wrapper for Scintilla. When I create the
frame in wxPython, I use self.Editor.SetFocus() to put the focus initially
on the editor.
This works fine.
Odd thing is though, switching back and forwards between applications
alternately hides and reappears the caret.
|
by: Cram TeXeD |
last post by:
Hello people !
Just a question : I'm working on LDAP directories, and I would use
DSML, but I have some doubts about it.
Is it dead ?
Last minutes from OASIS committy were around 2002, and except
Microsoft or Novell, there's no more informations or implementation
seen !
Is it really dead and have I to forgot everything about this stuff ?
Where are Oracle, Sun and their promises ?
Somebody uses it ?
|
by: Lyle Fairfield |
last post by:
MSDN Home > MSDN Library > Win32 and COM Development
Data Access
Microsoft offers many data access technologies to suit various
development needs. This section of the MSDN Library contains technical
information about current data access technologies, focusing on the
Microsoft Data Access Components (MDAC): ADO, OLE DB and OLE DB
Providers, and ODBC. Articles on ADO.NET, Microsoft Data Engine (MSDE),
and some XML for Analysis (XMLA)...
| |
by: pierre_py |
last post by:
Hi.
I use wxPy version 2.4.2 for Python 2.3.
Now I wanted to use the wxStyledTextCtrl for viewing (editing) of sql
code.
I have the following:
self.__m_styled_text_ctrl = wxPython.stc.wxStyledTextCtrl(
self, wx.NewId(),
style=wxPython.wx.wxNO_FULL_REPAINT_ON_RESIZE)
|
by: Sloan.Kohler |
last post by:
Is Jython development dead or has it just seemed that way for over a
year?. The jython.org website has a recent new appearance (but no new
content) and there is some message traffic on the developer site at
Sourceforge. However nothing has been released for over a year (i.e.
no support for Python 2.3, 2.4 or 2.5). Is seems that IronPython may
have a better future than Jython.
I know this is a bit of a troll but I'm concerned about...
|
by: OpenPavilion Team |
last post by:
Hello community,
I want to create an editor for a self defined xml markup language. I want to
use wxpython with wxstyledtextctrl and I have looked around at yellowbrain
site, but there are no examples. I also watched the styledtextctrl examples
with wxpython 2.8.4.
What I am looking for is an example of how to do the autocompletion part for
the styledtextctrl based on my self defined XML language.
|
by: bukzor |
last post by:
Does anyone have a pythonic way to check if a process is dead, given
the pid?
This is the function I'm using is quite OS dependent. A good candidate
might be "try: kill(pid)", since it throws an exception if the pid is
dead, but that sends a signal which might interfere with the process.
Thanks.
--Buck
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |