Faculty of Information Technology
Software Engineering Group

Opened 7 months ago

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

Download all attachments as: .zip

Change History (4)

Changed 7 months ago by Patrik Svestka

Changed 7 months ago by Patrik Svestka

Attachment: ctrld_mapping_working.png added

comment:1 Changed 7 months ago by Patrik Svestka

Description: modified (diff)

comment:2 Changed 7 months ago by Patrik Svestka

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