Re: Suggested changes to Delphi editor



Here's two more:

4/ Must undo twice after a paste operation

Select some text, paste it, think for a moment and then say "ooops" and hit Ctrl+Z.

In Delphi nothing (visible) happens. You have to hit Ctrl+Z twice. In every other editor, hitting Ctrl+Z once undoes the paste operation.

HOWEVER, if you are really fast and hit Ctrl+Z before the squiggly red line appears under it, the text is deleted. So the background parser is interfering with the Undo function.

I propose that Undo undoes my last editing change and is not influenced by the parser.

Again, a minor but irritating niggle.


5/ Undo backtracks through cursor clicks (related to 4/)

Click in a few places around your code, and then hit Ctrl+Z a few times. The Undo function undoes the cursor moves, so the insertion point moves around the places you clicked. There is a place for this "backtrack" function, but it is quite separate from an "undo" function.

In other editors, the "undo" function restricts itself to actual changes to the text.

I propose that Undo undoes my last editing change and ignores cursor clicks. Navigating backwards through cursor clicks should be implemented as a separate "backtrack" function, with its own shortcut.



Steve T

.



Relevant Pages

  • Re: [PATCH 4/7][TAKE5] support new modes in fallocate
    ... not undo preallocation if some error is hit. ... and AFAICT glibc leaves them behind ATM. ... of them may have been present before the fallocate() call. ...
    (Linux-Kernel)
  • Re: WORD 2007, Saved over file that I need bad
    ... If the document is still open, use Undo to undo all the actions back to the ... I had this file saved multiple times under Drug Reactions (I'm in ... and hit save as and rename the document. ...
    (microsoft.public.word.docmanagement)
  • RE: Cancel a New Record
    ... user got an error that the undo feature was not available. ... Private Sub cmdDump_Click ... > how do I code to allow the user to dump the record without having to hit ... > delete other records from this database. ...
    (microsoft.public.access.forms)
  • Re: Cancel, Undo and Null
    ... That's a bit naff - The user is going to hit the ... Cancel button and and it's not going to Cancel. ... Undo from the Edit menu in VBA? ... rather than allenbrowne at mvps dot org. ...
    (microsoft.public.access.modulesdaovba)
  • Re: How do I replace a bar that disappeared?
    ... Yeh, if you've already saved the file, you may not be able to undo it. ... Place your cursor in one of the cells and retype the contents ... >> hit Enter. ...
    (microsoft.public.powerpoint)