fixed shift+del code cutting
@@ -1529,6 +1529,12 @@ static void processKeyboard(Code* code)
default: usedClipboard = false; break;
}
+ if(usedClipboard)
+ {
+ updateEditor(code);
+ return;
+ }
+
bool shift = tic_api_key(tic, tic_key_shift);
bool ctrl = tic_api_key(tic, tic_key_ctrl);
bool alt = tic_api_key(tic, tic_key_alt);
@@ -1628,7 +1634,7 @@ static void processKeyboard(Code* code)
}
}
- if(usedClipboard || changedSelection || usedKeybinding) updateEditor(code);
+ if(changedSelection || usedKeybinding) updateEditor(code);
}
static void processMouse(Code* code)
