Opened 5 years ago

Last modified 5 years ago

#275 new defect

Mapping + as shorcut does not work as expected

Reported by: patrik.svestka@… Owned by:
Priority: major Milestone:
Component: default Keywords:
Cc: Also affects CVS HEAD (eXept version): no

Description (last modified by patrik.svestka@…)

I want to use + as a shorcut for adding a node into a tree.

I'm using the following code to add + as a shortcut

    | keyboardMapping |

    keyboardMapping := Display keyboardMap.
    keyboardMapping bindValue: #Add to: #+

This does not work properly even when I check the mappings via Display keyboardMap it shows up at #bindings (first from top).


On the other hand, when I do different mappings like:(replacing the last line):
keyboardMapping bindValue: #Add to: #Ctrld

When I press Ctrl+d it works as expected:


Same goes to #- as alias.

Why can't #+ (#-) be used as a shortcut?

Attachments (2)

+_shortcut_mapping_notworking.png (41.0 KB ) - added by patrik.svestka@… 5 years ago.
ctrld_mapping_working.png (82.1 KB ) - added by patrik.svestka@… 5 years ago.

Download all attachments as: .zip

Change History (4)

by patrik.svestka@…, 5 years ago

by patrik.svestka@…, 5 years ago

Attachment: ctrld_mapping_working.png added

comment:1 by patrik.svestka@…, 5 years ago

Description: modified (diff)

comment:2 by patrik.svestka@…, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.