Menu

Syntax Folding Assistance Request

TodWulff
2007-12-23
2012-11-13
  • TodWulff

    TodWulff - 2007-12-23

    I am having a bit of a struggle with getting Syntax Folding to work in my environment.

    Specifically, my development environment is ARMbasic.  ARMbasic makes use of FUNCTION and SUB for function and subs.

    The terminating statement can either be END FUNCTION, ENDFUNCTION, END SUB, ENDSUB.

    The issue is with the first and third Folder Close Keywords.  I am finding that if the Folder Close Keyword contains the Folder Open Keyword, then the folding functionality gets confused.

    Is there a work around, as the developer has chosen to use the END[space]... syntax, in all of the library files.

    Please review and advise, as I REALLY don't want to go changing the developers libraries just to make the editor function as I desire.

    Thanks, in advance.  Happy Holidays!

    -t

     
    • TodWulff

      TodWulff - 2007-12-28

      To further the dialoge on this, and to shamelessly bump it back to the top of the Help forum, I have another comment/thought...

      Is it feasible to make use of the regexp syntax in creating rules for the Folder Open Keywords and Folder Close Keywords?  This would greatly serve to make my struggles go away.

      Please review and advise.  Thanks!

      -t