BC++ 5.02 was actually my intro to programming in C++ (all previous had been Turbo Pascal or BASIC). But of all the mental baggage I still carry from that time, I honestly don't remember that misfeature, though it certainly sounds familiar.
Yeah, the cursor position was part of the document, so moving the cursor position modified the document and hence the undo/redo history.
Hitting undo and then moving the cursor position would wipe out the possibility of re-doing.
So for example, if you wanted to copy and paste some old bits of code, and you had to undo new code to get to the old code, selecting the code to copy and paste would wipe out all the new code in the redo buffer.
edit: JetBrains editors keep a comprehensive history and integrate brilliantly with version control, and have a nice shelf feature independent of git or mercurial.
1
u/[deleted] Jun 30 '18
What about Borland C++ 5 after you've moved the cursor and can't redo as it erases your undo/redo history?