View Single Post
pilger
Senior Member
Join Date: Sep 2010
Old 05-20-2013 , 16:03   Re: [USEFUL] Syntax Highlighting and More for EditPlus (Updated 4/7/08)
Reply With Quote #6

Great work, bl4nk! Thanks!

Is there a way to make the function list (Ctrl+F11) work on SourcePawn as well!? I'm having great difficulty with it, since it doesn't have the work "function" before the actual functions.

I've tried using:
Code:
^(native[ \t]|public[ \t]|static[ \t]|stock[ \t]|forward[ \t])?[ \t]*(.*)[ \t]\(.*\)[\t]{
Which restricts the "header" of the function to have tabs instead of spaces and force me to put spaces on ifs, elses and other control structures.

Does anyone have an idea on how to improve this!? Make a better regexp to match only function headers!?

Thanks in advance!
pilger is offline