Lysa»Forums
Jeremiah Goerdt
208 posts / 1 project
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
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
2559 posts / 2 projects
Jeremiah Goerdt
208 posts / 1 project
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
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!