Author Topic: Selective Display Bracketing  (Read 282 times)

joecar

  • Senior Community Member
  • Posts: 326
  • Hero Points: 9
  • engineer/gearhead
Selective Display Bracketing
« on: September 21, 2021, 06:54:07 pm »
SlickEdit Pro 2021 (v26.0.0.3 64-bit Qt5)

I see that the selective display bracketing bunches up towards the left;
is there a way to align it directly with its respective statements (hmmm, this is complicated because it requires code to be beautified first)?

( for example, see how Notepad++ aligns its bracketing for if/else )

« Last Edit: September 21, 2021, 06:56:27 pm by joecar »

joecar

  • Senior Community Member
  • Posts: 326
  • Hero Points: 9
  • engineer/gearhead
Re: Selective Display Bracketing
« Reply #1 on: September 21, 2021, 06:58:34 pm »
I saw some other IDE that draws light grey boxes around code blocks... is there a way to do this?

( yeah, yeah, I'm asking too much  ;D )

joecar

  • Senior Community Member
  • Posts: 326
  • Hero Points: 9
  • engineer/gearhead
Re: Selective Display Bracketing
« Reply #2 on: September 29, 2021, 06:29:19 pm »
I saw an IDE where the bracketing draws horizontal lines until it hits the language element (e.g. open/close braces) regardless of indentation (i.e. even if indentation incorrect and/or not beautified).

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3471
  • Hero Points: 466
Re: Selective Display Bracketing
« Reply #3 on: October 05, 2021, 12:27:02 pm »
It works that way at this time mainly for performance, we only need to track the nesting level for each line rather than tracking that plus the indentation amount for each level of indent (for each line).  We do want to make improvements to the bracketing in a future release, at which point we might be able to revise it to line up with the indentation.  We have also considered adding more color coding options for the bracketing so each level would be a different color to make it easier to trace.

joecar

  • Senior Community Member
  • Posts: 326
  • Hero Points: 9
  • engineer/gearhead
Re: Selective Display Bracketing
« Reply #4 on: October 05, 2021, 10:35:55 pm »
Thanks for the explanation  :)