Syntax Highlighting? Topic is solved
-
- Earned a small fee
- Posts: 17
- Joined: Thu Jul 14, 2005 5:51 am
- Contact:
Syntax Highlighting?
I wonder how did you guys add the "wxwidgets" syntax highlighting to the code tags...
Is it some sort of mod for phpBB or a template?
Thanks
Is it some sort of mod for phpBB or a template?
Thanks
It is something UpCase fixed. He reworked the geshi mod (general code highlighting) to also incorporate wxWidgets links and special object recognition). So out code tag always shows "wxWidgets" now
- Jorgen
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
-
- Earned some good credits
- Posts: 120
- Joined: Sun Sep 21, 2008 7:23 am
- Location: Somwhere nearby...
- Contact:
by the way , how to achieve syntax highlighting in a wx application? can sb help ?
Add-on Components (90)
Applications (183)
Development Tools (27)
Icons and Resources (1)
Sample Code and Project Templates (10)
Utilities (4)
wxWidgets (10)
http://www.wxcommunity.com/
Applications (183)
Development Tools (27)
Icons and Resources (1)
Sample Code and Project Templates (10)
Utilities (4)
wxWidgets (10)
http://www.wxcommunity.com/
Hi!
Although is not the right forum for that kind of question, I'll give two hints:
1. The docs for 2.9.0 have a wxStyledTextCtrl listed, it's a Scintilla based control.
2. For older releases, check wxCode and search for STC or Scintilla.
Although is not the right forum for that kind of question, I'll give two hints:
1. The docs for 2.9.0 have a wxStyledTextCtrl listed, it's a Scintilla based control.
2. For older releases, check wxCode and search for STC or Scintilla.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
Hi upCase,
Wonder if it's possible to "backport" this wxWidgets highlighting feature to GeSHi, since I just saw GeSHi supports "C++ (with QT)"...A little "envy"...
Regards,
Utensil
Wonder if it's possible to "backport" this wxWidgets highlighting feature to GeSHi, since I just saw GeSHi supports "C++ (with QT)"...A little "envy"...
Regards,
Utensil
In fascination of creating worlds by words, and in pursuit of words behind the world.
On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
Hi!
I don't know if I understand this "backport" correctly. In fact the highlighting here uses geshi as a phpbb addon
I don't know if I understand this "backport" correctly. In fact the highlighting here uses geshi as a phpbb addon
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
Hi~
"uses geshi as a phpbb addon" still isn't quite clear to me...I guess you must have modified geshi's code to support wxWidgets class names, didn't you? so I was wondering if it's possible to add wxWidgets highlighting feature back to geshi based on your modification, so that geshi itself will be able to support wxWidgets highlighting directly while it already supports Qt highlighting...
Just a free imagination...
-Utensil
"uses geshi as a phpbb addon" still isn't quite clear to me...I guess you must have modified geshi's code to support wxWidgets class names, didn't you? so I was wondering if it's possible to add wxWidgets highlighting feature back to geshi based on your modification, so that geshi itself will be able to support wxWidgets highlighting directly while it already supports Qt highlighting...
Just a free imagination...
-Utensil
In fascination of creating worlds by words, and in pursuit of words behind the world.
On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
Aaah, okUtensil wrote:I guess you must have modified geshi's code to support wxWidgets class names, didn't you?
Sometimes my mind is a bit slow these days...
Yes, but I didn't really modify the code, but added a new language definition file. I'm not sure whether this is compatible with newer versions, but in theory this would be possible to do.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda