Author Topic: Minimize custom structures  (Read 631 times)

Marcel.Kummer

  • Community Member
  • Posts: 18
  • Hero Points: 0
Minimize custom structures
« on: November 25, 2024, 10:56:26 AM »
Hello
I'm using SlickEdit Pro 2023 (v28.0.0.6 64-bit Qt5)

I'm programming g-code and setup my own custom language and file extension to suit my needs.
However i did not find a way to enable minimizing structures (knots) in my code.
In xml for example this works fine (see Screenshot).

The g-code has it's own set of keywords, for example
Code: [Select]
IF (R1 == 1)
   //Code to be minimized
ENDIF
Code: [Select]
REPEAT
   //Code to be minimized
UNTIL (R1 == 1)
Note that there is no other character needed here as {} or so...
How may I enable SlickEdit to both minimize and maximize the code between these keyword-pairs?

Thank you for your help
Marcel

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6996
  • Hero Points: 533
Re: Minimize custom structures
« Reply #1 on: November 25, 2024, 03:06:00 PM »
Did you configure the Outline options?

Tools>Options>Languages>User Defined Languages>[language]>View>Outline

Post a picture of your View dialog which will show your outline settings.

Marcel.Kummer

  • Community Member
  • Posts: 18
  • Hero Points: 0
Re: Minimize custom structures
« Reply #2 on: November 26, 2024, 05:37:07 AM »
'Outline' was off. I was on a wrong path there.
It did the trick to switch it on chooosing 'Indent'.
Thank you very much.