Search found 4 matches

by jmp0x2a
28.08.2018 15:00
Forum: Lexers
Topic: if .. elif .. end if
Replies: 13
Views: 6864

no, not the "create function" to "end function" part, but the IF .. ELIF .. ELSE .. END IF part i want to fold. Looks like the current lexer can not do this :(
by jmp0x2a
24.08.2018 13:27
Forum: Lexers
Topic: if .. elif .. end if
Replies: 13
Views: 6864

folding of middle parts - is unusual take for example a simple shell script if [ $this ]; then pwd elif [ $that ]; then date else ls -la fi Cuda folds from if to fi N++ in default does nothing... but with a user defined language there is a middle folding option so i can config it to work fine VC ca...
by jmp0x2a
23.08.2018 12:57
Forum: Lexers
Topic: if .. elif .. end if
Replies: 13
Views: 6864

tried to implement this the hard (?) way creating rules for every possible combination and ordering them in the correct way, it somehow works now, but when i close a block, it makes closing of the next impossible, is there a way to exclude that line? (since i can not upload zip/inf/lcf, here is the ...
by jmp0x2a
23.08.2018 12:09
Forum: Lexers
Topic: if .. elif .. end if
Replies: 13
Views: 6864

if .. elif .. end if

Hi, tried to implement if .. [elif ..] end if in lexer in a way i can independently close the blocks like this

Code: Select all

+ if
| ...
+ elif
| ...
- end if
is there a way to achieve this?