HighLight Syntax


#1

Hi there…

I’m a newbie user… (my first post/topic)

well, i want know how i integrate a highlight syntax in my own notepad by Juce…
Thats notepad using syntax c/c++;

if you could post code here, is more be easy to learn…

thanks and apologize me for the language errors…i’m stranger :cry:


#2

Hello and welcome !

You can start by having a look at CodeDocument CodeEditorComponent and CodeTokeniser in the documentation, here : http://www.rawmaterialsoftware.com/juce/api/classes.html
I think there’s a code editor included in the demo. You can look at the code and see how it’s done there. Good luck ! :slight_smile: