Next: rcs.sc Up: SmacLib Previous: mode-ext.sc

# mouse.sc

This file contains some useful functions bound to mouse buttons with modifier keys.

- void left_button_control(int pos); defines Ctrl-Left to delete clicked-on char.
- void right_button_control(int pos); defines Ctrl-Right to delete from clicked-on character to end of line.
- void left_button_shift(int pos); defines Shift-Left to transpose clicked-on form and preceding form.
- void middle_button_shift(int pos); defines Shit-Middle to insert clicked-on form at current position.
- void right_button_shift(int pos); defines Shift-Right to delete clicked-on form.