I want to define a section in my own language.
The 'block' will begin with the 'begin' command and end with 'end'.
I added both wich work, buth when there is a begin or end string on a line, as normal text, it will also be seen as begin or end of a block.
Could someone tell me how to exclude this problem.
An 'end' of a 'block' will always been followed by a newline.
thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I want to define a section in my own language.
The 'block' will begin with the 'begin' command and end with 'end'.
I added both wich work, buth when there is a begin or end string on a line, as normal text, it will also be seen as begin or end of a block.
Could someone tell me how to exclude this problem.
An 'end' of a 'block' will always been followed by a newline.
thanks in advance
is there nobody who can help me with this irritating problem?
just add a comment with the word end in it
I don't understand your reply.
This example will show my problem:
SFileBegin
name file.ext
begin xxx function
do something
read file from begin to end
end
#@!
I put 'SFileBegin' and 'begin' into the Folder+
and '#@!' and 'end' in Folder-
The problem is in the fifth line, which contains the word end
I hope that this example is clear enough