Hi I am trying to make a custom vbs highlighter. I would like to be able to fold IF ... END IF or SUB ... END SUB. How can I add 'end sub' into the closing folder keywords? Currently the 'end' closes but the 'sub' opens a new fold level.
Thank you very much for looking into this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For folding freeform fortran, I too would like that keyword may contain spaces, e.g. for "end if", "select case" and "end select". A few suggestions to implement this are quotes, as I used before, an escape character as backslash, or something like , similar to the use of " for quotes in xml files.
I have seen multiple posts asking for this feature, so there is an interest, and no solution (yet). I would be happy if this feature is implemented.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I could be wrong -- but, as far as I can tell - I think the built in langs, highlight is a more complicated way, than the user defined allows. -- I finnally just gave up on being able to fold the language I use, and just made a highlight scheme for it.
Why do you want to create a custom scheme for VBS? If you just want to change the text color/formats, for the existing groups, you can goto the "Styler Configurator" under the settings menu, and adjust that. (you can also add words "word" group.)
If that's not what you want -- I hate to say it -- but I think the user defined sytax highlighting, just isnt as powerful as the built in stuff.
I have suggested that it atleast be made to work with regex's, but don't know if anyone really read it. :/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am having that exact same problem now. The built in VB language does a much better job than I can, but I can't see where it is defined. What I can find should not worked based on what I have learned using the user defined language dialog.
A response would be nice.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi I am trying to make a custom vbs highlighter. I would like to be able to fold IF ... END IF or SUB ... END SUB. How can I add 'end sub' into the closing folder keywords? Currently the 'end' closes but the 'sub' opens a new fold level.
Thank you very much for looking into this.
For folding freeform fortran, I too would like that keyword may contain spaces, e.g. for "end if", "select case" and "end select". A few suggestions to implement this are quotes, as I used before, an escape character as backslash, or something like , similar to the use of " for quotes in xml files.
I have seen multiple posts asking for this feature, so there is an interest, and no solution (yet). I would be happy if this feature is implemented.
I'm having the same issue - I guess there was never a resolution to this?
I could be wrong -- but, as far as I can tell - I think the built in langs, highlight is a more complicated way, than the user defined allows. -- I finnally just gave up on being able to fold the language I use, and just made a highlight scheme for it.
Why do you want to create a custom scheme for VBS? If you just want to change the text color/formats, for the existing groups, you can goto the "Styler Configurator" under the settings menu, and adjust that. (you can also add words "word" group.)
If that's not what you want -- I hate to say it -- but I think the user defined sytax highlighting, just isnt as powerful as the built in stuff.
I have suggested that it atleast be made to work with regex's, but don't know if anyone really read it. :/
I am having that exact same problem now. The built in VB language does a much better job than I can, but I can't see where it is defined. What I can find should not worked based on what I have learned using the user defined language dialog.
A response would be nice.