[email protected] kirjoitti torstai 17 maaliskuu 2011 11:49:51: > On Thu, 17 Mar 2011, Alexander Klenin wrote: > > I'd vote for Ctrl+Shift+E: > > 1) Delphi compatibility (it is importatnt for me at least, at times I > > have to switch IDE's every 15 minutes) > > 2) IMO F2 is too prominent for this > > It depends on the key mapping. In "classic IDE", F2 means "save file", > as it has been since 198X in the old Turbo Pascal IDEs > > So F2 is not really a good choice.
Ok, the classic theme is not used by default but it can be selected from Options -> Key mappings. I think it is not compatible with recent Delphis either. Note also that I have NOT changed the classic theme. In the default theme F2 was not used for anything. IMO the most logical use is to rename a variable. In file managers it is already a standard, on many platforms. This makes it very intuitive. You are in source editor and want to rename -> press F2. Renaming an identifier is a prominent feature, it deserves a prominent shortcut. Ctrl+Shift+E still works in default theme, too. The key mapping luckily supports alternative shortcuts. The only visible difference is that now F2 shows in the menu item caption because I set F2 as the choice number one. If I reverse the order then menu caption shows Ctrl+Shift+E and nobody will notice a difference unless he actually presses F2. I feel that more default shortcuts should be defined. They don't hurt anybody. And indeed, you can always change the key mapping. Juha -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
