forked from enlightenment/enventor
enventor - support cut the selected text.
This commit is contained in:
parent
95c0ec54c1
commit
7b01ace5e3
1
README
1
README
|
@ -47,6 +47,7 @@ Ctrl+A = Select Text All
|
|||
Ctrl+Double Click = Select a word
|
||||
Ctrl+C = Copy Selected Text
|
||||
Ctrl+V = Paste Copied Text
|
||||
Ctrl+X = Cut Selected Text
|
||||
Ctrl+I = On/Off Auto Indentation
|
||||
Ctrl+Home = Go to the Top line
|
||||
Ctrl+End = Go to the Bottom line
|
||||
|
|
|
@ -258,6 +258,9 @@ ctrl_func(app_data *ad, const char *keyname)
|
|||
//Paste
|
||||
if (!strcmp(keyname, "v") || !strcmp(keyname, "V"))
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
//Cut
|
||||
if (!strcmp(keyname, "x") || !strcmp(keyname, "X"))
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
//Select All
|
||||
if (!strcmp(keyname, "a") || !strcmp(keyname, "A"))
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
|
|
Loading…
Reference in New Issue