enventor - support cut the selected text.

This commit is contained in:
ChunEon Park 2013-09-09 23:17:17 +09:00
parent 95c0ec54c1
commit 7b01ace5e3
2 changed files with 4 additions and 0 deletions

1
README
View File

@ -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

View File

@ -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;