prefix.dcl 538 Bytes
Newer Older
Diederik van Arkel's avatar
Diederik van Arkel committed
1 2
definition module prefix

3 4
from StdPSt		import :: PSt
from IdeState	import :: General
Diederik van Arkel's avatar
Diederik van Arkel committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

add_prefix_selection	:: !*(PSt General) -> *PSt General
// add prefix to each line of selection

rem_prefix_selection	:: !*(PSt General) -> *PSt General
// remove prefix from each line of selection

change_prefix_dlog		:: !*(PSt General) -> *PSt General
// dialogue to change prefix for above operations

shift_selection_right	:: !*(PSt General) -> *PSt General
// block indent

shift_selection_left	:: !*(PSt General) -> *PSt General
// block outdent