Code collapse on linAXEpad using {} not working

120ThingsIn20Years

Senior Member
LinAXEpad 1.3.0

I having trouble with getting collapse code to work when using {}

to picaxe help.jpg

Is there some trick to it or is it a known bug?

I get code collapse with for i = 1 to 50 loops

and I see the little marks in the margin, but when I use

{
}

I see the little mark only in the end } and the code wont collapse


Can anyone shed any light on what I might be doing wrong
 
Last edited:

hippy

Technical Support
Staff member
Code collapsing in AXEpad does not work in exactly the same way as Programming Editor and curly braces are not currently used for code collapsing.

With View -> Options -> Editor -> Enable collapsing blocks ticked, block structured commands will have little down and arrows shown in the left margin. Clicking on those arrows will collapse the code blocks. This seems to be working for FOR-NEXT and should work for others also but is not currently supported for { } blocks.

I've made a note of the this and will ask if { } can be treated as a block command in future versions of AXEpad.
 
Top