Original Post
Well, it''s been a while since I''ve posted a question on the boards but hey, I''m busy with school. Now, here''s the situation. Being busy at school leaves me almost no time to work on my game and I''m working on a little project that I can carry with me to school and work on in my spare time( my game would be too big to carry with me ). Now, I''m working on a small text editor an I want it to use syntax highlighting if specified by the user, the part I''m having problems is the syntax highlight. I''ve tried parsing the text from the RichTextEdit letter by letter and also, word by word, I''ve tried everything I could think of but never managed to get what I was looking for. I was wondering if anybody here ever coded Syntax Highlighting for an editor and no, I don''t want to use a Library, the point of this project is to get my brains working on the problem so I plan on writing the parser myself but I need help as everything I''ve tried failed. I don''t really need the code itself but rather the main idea on how to implement it, algorithms or any input that I could use as a base to work on. Oh and I''ve also searched in most search engines for tuts on the topic but only fond stuff about how to set the syntax highlighting for most Editors and IDE that support that option.
"And that''s the bottom line cause I said so!"
Cyberdrek
Headhunter Soft
A division of DLC Multimedia
Resist Windows XP''s Invasive Production Activation Technology! "gitty up" -- Kramer
Resist Windows XP''s Invasive Production Activation Technology! "gitty up" -- Kramer