View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-06-2009 , 08:44   Re: AMXX Keywords for Syntax Highlighting
Reply With Quote #4

It took a few days to write the php code with regex to catch everything that had a "regular" format (constants were the hardest ). I had to learn regex at that point (lots of testing).

After I got those scripts to work, I had to weed out any duplicates. And then I had to find the few things that were found as constants but were functions. Then I put them in Notepad++ and went through all the includes to make sure everything that needed highlighting had it. I was always missing the kRender constants . So added them manually.

Anyway, the days that I spent actually working on this probably took me about a week maybe shorter. I did most of the work back in November or December.
__________________
fysiks is offline