- Posted by
- Thank you very much Mofi, for the regex, and for the great explanation too. It cleared up a whole bunch of stuff and now I know a way to search across multiple lines with perl too.Posted in Syntax Highlighting
-   Topics
-   Views
- Nommy
Sep 10, 2010
- Thanks Mofi! When I tried that on one of the real files I found there were a few functions which it didn't match however. I should have just posted the source at the start I think. The 1st case was when there was no params section e.g. function AI_Orders_Ships returns boolean vars minister_controlle...Posted in Syntax Highlighting
-   Topics
-   Views
- Nommy
Sep 10, 2010
- I'm having some trouble working out a function string that only finds the actual function definitions, and not the forward declarations as well. E.g the scripts are like this // Forward declarations function Minister_Attack_Bases returns boolean params ship_id: long end function Minister_Attack_Ship...Posted in Syntax Highlighting
-   Topics
-   Views
- Nommy
Sep 09, 2010