No announcement yet.

Alignment of commented-out struct

  • Time
  • Show
Clear All
new posts

  • Alignment of commented-out struct

    Howdy, long-time listener, very infrequent caller...

    Noticed something today that I thought could maybe use a tweak.

    Say I have a C file with three structs in it and the middle struct gets commented out. Comparing the current version with the last, instead of lining up the commented out struct with the uncommented version of itself, it tries to line it up with the third struct (see 1.png, attached). If I manually line up the first lines of the second struct, the remainder falls into place (see 2.png, attached) but it would be nice if I didn't have to do that, you know?

    Maybe there's a good reason, just thought I'd offer it up.

    Thanks for the great tool!

  • #2
    Thanks for the sample screenshots. I'll add them to our wishlist entry on improving alignment. We're always looking for test cases to compare against.

    You might also want to try altering the Settings in the Session menu -> Session Settings, Alignment tab to see if those can improve the results. Adding a line weight on the function name in the Tools menu -> File Formats might also help.

    If you'd like to email specific example files, please email us at [email protected] and include a link back to this forum thread.
    Aaron P Scooter Software