Menu

#487 Code formatter and bookmarks

Closed
closed-fixed
5
2026-05-19
2026-05-06
No

When I'm using the gexperts code formatter, the defined bookmarks seem to get lost.
Probably, this has to do something with the new bookmarks.

2 Attachments

Discussion

  • Thomas Mueller

    Thomas Mueller - 2026-05-13

    fixed in revision #5397 please retest and confirm. The formatter should now save and restore up to 100 bookmarks (in Delphi 13.1 (and up) only).

     

    Last edit: Thomas Mueller 2026-05-13
  • Thomas Mueller

    Thomas Mueller - 2026-05-14

    I also added support for more than 19 bookmarks to the GExperts Editor Bookmarks expert in revision #5398. This of course only works in Delphi 13.1 (an possibly future versions)

     
  • Bastian Turcs

    Bastian Turcs - 2026-05-19

    Thank you for your support! I checked out rev5427 and I can confirm that the bookmarks are preserved after code formatting in D13.1. If empty line are removed, bookmarks move too (of course!). I personally don't use any bookmarks at all (but my coworker is), so I'm unsure what should be the desired behavior. Example (before/after):

     

Log in to post a comment.

Auth0 Logo