On Dec 23, 2009, at 4:09 AM, Matthias Ettrich wrote: > On Tuesday 22 December 2009 07:41:54 ext Christian Dähn wrote: >> Anybody suggesting me to use Ctrl+F should consider that the search >> doesn't work with just one keystroke - you have to select the word, >> then press Ctrl+F, then Enter to start the search and then you have >> to use (Shift+)F3 to go forward/backward. > > Nope, you must not preselect the word, creator will automatically select the > word under the cursor. > > Currently there are three shortcuts for jumping to the next word under the > cursor provided there is no text selection: > > 1. Ctrl+F Enter Esc > 2. Ctrl+F F3 Esc > 3. Ctrl+F Esc F3 > > By Emacs and VI standards those are pretty short shortcuts :-) They all also > have the nice side effect of highlighting all occurences of the word in > question. Hitting Esc one more time removes the highlighting. > > Adding additional methods that you can bind keys to would be quite trivial. I > would suggest doing it on the basetexteditor level. > > What other IDEs or Editors do have specialised methods for that, and what are > the default keybindings? >
Visual Studio uses Ctrl-F3 to find the next occurrence of the word under the cursor, and F3 to find the next after that. John
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
