Announcement

Collapse
No announcement yet.

Collapsing (If - Else If - Endif) Blocks?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Collapsing (If - Else If - Endif) Blocks?

    Hello!

    I searched the forum and saw that there are already some discussions on additional collapsing features in the IDE, but I saw no discussion on the IF-ELSE-ENDIF blocks. Is there any chance of the implementation of such a feature?

    Sorry if I've missed something that answers this question!


  • #2
    That's a bit hard to do.

    Remember the syntax highlighter is a bit 'dumb' compared to the compiler.

    Thus you can only enable collapsing of blocks for things that are definitely blocks.

    So because the language has a 'feature' such as the single line if, that doesn't have an endif, you cannot create a block, because the syntax highlighter will get completely confused.
    Mark

    Comment


    • #3
      Oh right! That's something I hadn't thought about.

      Thanks for the reply and keep up the great work

      Comment

      Working...
      X