Most standard Windows keyboard shortcuts work as expected in the IDE, but CTRL-O is completely broken and has been for years, producing bizarre effects instead of opening an Open File dialog box.  Is the team ever going to fix this?

Comments

  1. Allen Bauer  Are these multi-key sequences documented anywhere?  And what does "reset the block mode to exclusive" even mean?  My brain tries to parse that and throws an undefined identifier error.

    ReplyDelete
  2. There is an IDE shortcut page in the docwiki describing not only the standard shortcuts but also all the alternatives.
    http://docwiki.embarcadero.com/RADStudio/Seattle/en/Default_Keyboard_Shortcuts

    There is also a list in the Delphi Wiki.
    http://delphi.wikia.com/wiki/Default_IDE_Shortcut_Keys

    ReplyDelete
  3. Mason Wheeler You're right about exclusive block mode... I should have been more clear. I was focusing on the fact that there are key sequences tied to Ctrl-O, and not what those key sequences actually mean.

    There are several "block modes" available when marking blocks of text. There is Inclusive, exclusive, and column. Inclusive means that the character position(s) representing the start and end of the block are included in the block. Exclusive is the opposite of that. Column mode is as it sounds, the start and end represent a rectangular area where the vertical dimension cuts across the lines in a columnar fashion.

    Ctrl-O+C enables column mode. Now whenever you highlight a block (Shift-) you can see how the block is being marked. Ctrl-O+I switches to Inclusive mode, and Ctrl-O+K is exclusive mode. Highlight a block then switch the mode and you'll see it update.

    ReplyDelete

Post a Comment