cac-t-u-s / om-sharp-users

A public forum for support / issues / suggestions about OM#
3 stars 0 forks source link

some hotkeys only functions when caps lock is off #42

Open jlquispec opened 3 years ago

jlquispec commented 3 years ago

Windows 10:

when I press r, reactive mode functions, not with R

when I press b, locked mode functions, not with B

when I press m, views modes are changed, not with M

when I press shit + e/shit+u, encapsultate/unencapsulate works, not with shift + E/shit + U

when I press p/n/c, external abstraction/new object/comment works, not with P/N/C

when I press v, evaluation work, not with V

j-bresson commented 3 years ago

Hi — this is normal, all these "one-key" shorcuts are case-sensitive. A recap' is here: https://cac-t-u-s.github.io/pages/basic-commands

jlquispec commented 3 years ago

Hi Jean.

About this shorcuts. I think that while editing it can be a bit confusing to switch between upper and lower case while working with windows from other programs.

maybe capital letters are reserved for future functions? If this that case menu captions with uppercase can be a bit confusing.

image

j-bresson commented 3 years ago

I see what you mean. An explanation is that not all shortcuts are in this menu. So for instance:

a internalizes an _a_bstraction A _a_ligns the boxes

s _s_tops the player on selected boxes S consolidates appearance

l sets _l_ambda mode L creates a _l_ist with the selection

i _i_nitializes the size I _i_nitializes the contents

I'm not saying this is ideal; it is sometimes a trade-off between finding a relevant key so the shorcut can be easily remembered, and the availability of keys (note that "standard" menu shortcuts also frequently do that!). Some other time for historical reason (because the shortcut was like this in OM). Some other times for no specific reason :)

I could be a good idea to rethink all the shortcuts at some point (although some users would probably be unhappy about it:)