CaptainKraft
Jeremiah Goerdt
215 posts
/ 2 projects
Stay-at-home Dad, Programmer, and Linux apologist. |
#13679
Syntax Highlighting 1 year, 2 months ago
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. Build a man a fire, he'll be warm for a day. Set a man on fire, he'll be warm for the rest of his life. |
mmozeiko
Mārtiņš Možeiko
1880 posts
/ 1 project
|
#13681
Syntax Highlighting 1 year, 2 months ago Edited by Mārtiņš Možeiko on Dec. 4, 2017, 3 a.m.
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 |
CaptainKraft
Jeremiah Goerdt
215 posts
/ 2 projects
Stay-at-home Dad, Programmer, and Linux apologist. |
#13682
Syntax Highlighting 1 year, 2 months ago mmozeiko I'm working on a dark theme, but this will come in handy for reference and some regex. Thanks! Build a man a fire, he'll be warm for a day. Set a man on fire, he'll be warm for the rest of his life. |