•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 456,539 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,245 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Python advertiser: Programming Forums
Views: 371 | Replies: 1
![]() |
•
•
Join Date: Oct 2007
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
High....
I am making a multi editor to use in my (some days in a month) job relateed to web building, and i have a problem in my html editor.
I transformed the StyledTextCtrl_2 module from the wxPython Demo, from Python editor to HTML editor. Thats mean that i changed the Lexer, put a keywords list and changed the styles to stc_H_styles. It works fine, (besige the zig-zag underline under text between <script> and </script>, that i can't get rid off).
The major problem is that the Lexer don't fold the text in the window, it doesn't show any marks on the margin. and if i just change the lexer to STC_LEX_PYTHON, then it show the marks and folds and expends fine.
So the question must be - what do i have to change concern to folding, when i change Lexer
I don't want to bother you people with code - I'm not sure i understand how to put it correctly, it is the StyledTextCtrl_2 module from the wxPython Demo.
I am not a programer, i just learnd all that stuff from net in the last year and i'll be happy to find an answer here becouse i have already chacked eny peace of information i got in google (which was not much)...
thanks ..
I am making a multi editor to use in my (some days in a month) job relateed to web building, and i have a problem in my html editor.
I transformed the StyledTextCtrl_2 module from the wxPython Demo, from Python editor to HTML editor. Thats mean that i changed the Lexer, put a keywords list and changed the styles to stc_H_styles. It works fine, (besige the zig-zag underline under text between <script> and </script>, that i can't get rid off).
The major problem is that the Lexer don't fold the text in the window, it doesn't show any marks on the margin. and if i just change the lexer to STC_LEX_PYTHON, then it show the marks and folds and expends fine.
So the question must be - what do i have to change concern to folding, when i change Lexer
I don't want to bother you people with code - I'm not sure i understand how to put it correctly, it is the StyledTextCtrl_2 module from the wxPython Demo.
I am not a programer, i just learnd all that stuff from net in the last year and i'll be happy to find an answer here becouse i have already chacked eny peace of information i got in google (which was not much)...
thanks ..
![]() |
•
•
•
•
•
•
•
•
DaniWeb Python Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Dani's Cookbook (Geeks' Lounge)
- fstream Tutorial (C++)
- svchost.exe !! (Windows NT / 2000 / XP / 2003)
- Tutorials on Debugging (C++)
- www.gthelp.com (Website Reviews)
- www.kidtimebooks.com (Website Reviews)
- Possibly overheating? (Cases, Fans and Power Supplies)
- how to open large files not supported by aol (Windows 9x / Me)
Other Threads in the Python Forum
- Previous Thread: writing a program
- Next Thread: Flaxible Wrapping Lines


Linear Mode