Faculty of Information Technology
Software Engineering Group

Opened 4 years ago

Last modified 4 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 4 years ago.
ctrld_mapping_working.png (82.1 KB) - added by Patrik Svestka 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by Patrik Svestka

Changed 4 years ago by Patrik Svestka

Attachment: ctrld_mapping_working.png added

comment:1 Changed 4 years ago by Patrik Svestka

Description: modified (diff)

comment:2 Changed 4 years ago by Patrik Svestka

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