i am trying to create a user defined language file for npp..
i am able to do it but my problem is the following...
my keywords and block words etc are not only one word keywords.. some is a few words that starts a block and end the block and i also want to highlight the text before and after a keyword...not only the keyword.'
ie
i have the following in my file as example
Code block start text : some text
123/alpha test description
123/beta test1 description
123/omega test3 description
Some sentence that ends the block : some text
I want to specify that "Code block start text" must be used as a sentence and not just the various words as my code block start and the same for the code block end text "Some sentence that ends the block".
Then i want to specify "test", "test1", "test3" as my keywords but want npp to hightlight all the text before and after the keyword on the same line....
Is this possible in anyway?
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi there,
i am trying to create a user defined language file for npp..
i am able to do it but my problem is the following...
my keywords and block words etc are not only one word keywords.. some is a few words that starts a block and end the block and i also want to highlight the text before and after a keyword...not only the keyword.'
ie
i have the following in my file as example
Code block start text : some text
123/alpha test description
123/beta test1 description
123/omega test3 description
Some sentence that ends the block : some text
I want to specify that "Code block start text" must be used as a sentence and not just the various words as my code block start and the same for the code block end text "Some sentence that ends the block".
Then i want to specify "test", "test1", "test3" as my keywords but want npp to hightlight all the text before and after the keyword on the same line....
Is this possible in anyway?
Regards