Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Thu Jan 29, 2009 5:24 pm   

[?-3.03a] Two Find commands in the PE
 
The new Editor\Find command shares the same Ctrl+F shortcut (and menu select event handler) with the old View\Find command.
It is hard to figure out quickly that you must click on the tree first in order to call the old Find from both menu items as well as with Ctrl+F
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Jan 29, 2009 6:21 pm   
 
Yep, that is actually done by design. It's just one of those "learning curve" issues. I found that people wanted Ctrl-F to execute the new Find dialog within the script editor. And yet I didn't want to change the Ctrl-F for opening the search toolbar for finding settings.

It is not unusual for shortcuts to be context dependent like this. For another example, look at Copy/Paste (Ctrl-C and Ctrl-V). If you are in a text box, the Copy/Paste will copy or paste the text selected in the text box. But if the Tree View has the keyboard focus, then Copy/Paste will copy and paste entire settings. So it's the same idea. Many operations depend upon the type of "control" that has the keyboard focus.

All Ctrl-F does is execute the menu item associated with it. Same for Copy/Paste. So it's also normal that both the keyboard and menu command are context sensitive.

You actually don't even need to click on the Tree first. If *any* control other than the main Script field has the keyboard focus, then it will execute the old Ctrl-F function. It's only when the script editor field itself has the focus that Ctrl-F changes (along with many other keyboard commands). As another example, think of the Tab key. When the script editor has focus, the Tab key indents the line in the editor. But if some other edit box or button has the keyboard focus, the Tab key moves to the next control on the form.

Just saying that context shortcuts, especially when dealing with an editor box that has a *lot* of it's own keyboard shortcuts, it very common.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net