ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pythoncard
pythoncard
[Pythoncard-users] added style editor to codeEditor and shell
by Kevin Altis other posts by this author
May 7 2002 12:25AM messages near this date
RE: [Pythoncard-users] Bug? My "Position & Size" window has gone AWOL | [Pythoncard-users] codeEditor sample
Riaan Booysen (author of the Boa IDE) for wxPython
http://sourceforge.net/projects/boa-constructor
wrote a nice STCStyleEditor.py for wxSTC controls last year. It is included
in the wxPython\samples\StyleEditor directory. Since both the shell and
codeEditor are using wxSTC controls it seemed like we should just be able to
use Riaan's editor as is. He even included a config file with a variety of
default style setups, including the classic IDLE look. I added a style that
is pretty close to what Pythonwin does by default as well as a 'mystyles'
style.

I'm very happy to report that the style editor works like a champ. So, I
went ahead and copied the file into the PythonCardPrototype framework
directory. I would have rather just imported it from wxPython, but that
isn't possible given that samples is organized as part of the wxPython
package.

The shell automatically uses the same style as the codeEditor program.

If you're updating from cvs, you should make a copy of 'stc-styles.rc.cfg'
and rename the copy 'stc-styles.user.rc.cfg'. PythonCard will then use the
'stc-styles.user.rc.cfg' file for your styles which you can edit however you
want without impacting anyone else.

ka


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@[...].net
_______________________________________________
Pythoncard-users mailing list
Pythoncard-users@[...].net
https://lists.sourceforge.net/lists/listinfo/pythoncard-users

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved