Posted 20 years ago
by Tim Davis
I'm thinking that scope is what I need to use but I'm not sure.
The language file I'm writing has to be able to colorize a script. There are sections to this script, I want to be able to colorize all the sections but one a certain way and the last section to be a completely different way.
For Example:With the way I have it set up now, it will highlight both the 'value' in SETUP and the 'value' in CODE. I need to only highlight the value in SETUP. The CODE section of the script will be using different rules.
Is this possible? Point me in the right direction and I should be able to figure it out <IMG SRC="smile.gif" border="0">
The language file I'm writing has to be able to colorize a script. There are sections to this script, I want to be able to colorize all the sections but one a certain way and the last section to be a completely different way.
For Example:
{Setup}
Value=blah
Value1=blah
{Code}
function test():
var
value: String;
begin
//DO SOMETHING
end;
Is this possible? Point me in the right direction and I should be able to figure it out <IMG SRC="smile.gif" border="0">