Menu

#622 TCoolEdit: Enter fails at last line in overwrite mode

8
pending
CoolPrj (49)
1
2025-07-29
2025-07-29
No

In debug build mode, if you switch to overwrite mode (press Insert), and then press Enter at the last line of the text, TCoolEdit will generate an assertion failure message. In release build mode, there is no assertion failure, and the cursor will just jump to the start of the last line.

Note that in overwrite mode, Enter just moves the cursor to the beginning of the next line (when there is a next line). This is unconventional and pointless. The Enter key should work the same in insert mode and overwrite mode, i.e. simply insert a line break (same as e.g. Visual Studio and WordPad).

Discussion

  • Vidar Hasfjord

    Vidar Hasfjord - 2025-07-29
    • status: open --> pending
     
  • Vidar Hasfjord

    Vidar Hasfjord - 2025-07-29

    This issue has now been fixed as suggested [r8134], i.e. Enter now behaves the same in overwrite mode as in insert mode. The fix has been merged into branches/7-coolprj-dev [r8135].

     

    Related

    Commit: [r8134]
    Commit: [r8135]


Log in to post a comment.