Lysa»Forums
Jeremiah Goerdt
209 posts / 2 projects
Programmer, Linux apologist, and not-so-wiseman.
Syntax Highlighting
Any Qt ninjas out there have a C and C++ highlighter class they've built for Qt? After a quick Google search, I didn't see any good prospects.

I've started my own simple highlighter, but it seems like it will really shine after lots of time tweaking and fiddling. If someone else has already done the work, that would be great. Otherwise, I'll get it done in time.
Mārtiņš Možeiko
2281 posts / 2 projects
Jeremiah Goerdt
209 posts / 2 projects
Programmer, Linux apologist, and not-so-wiseman.
Syntax Highlighting
mmozeiko
Similar theme to default Visual Studio:
https://github.com/mmozeiko/CxxPr...r/CxxProfiler/SyntaxHighlighter.h
https://github.com/mmozeiko/CxxPr...CxxProfiler/SyntaxHighlighter.cpp

Usage:
https://github.com/mmozeiko/CxxPr.../CxxProfiler/SourceWidget.cpp#L51

Screenshot (bottom part):
https://raw.githubusercontent.com...zeiko/CxxProfiler/screenshot2.png


I'm working on a dark theme, but this will come in handy for reference and some regex. Thanks!