Author Topic: RC4, Win64, C: Word wrap not done in comments on selection delete  (Read 1402 times)

jorick

  • Senior Community Member
  • Posts: 341
  • Hero Points: 15
I have word wrap turned on in my comments, and they're automatically formatted when I type.

If I select a block of text in my comment and delete it (either backspace or delete), it won't reformat like it does when I use backspace instead. so given the following comment:
           
// If the OK button was pressed, the outer controls are updated and
// the main screen is entered.

If I delete the first part of the sentence with the delete key, I come up with:
           
// the outer controls are updated and
// the main screen is entered.

instead of when I use backspace:
           
// the outer controls are updated and the main screen is entered.

This happens with either /* */ or // comments.