Add TextEdit option to prevent copying without a selection
This commit is contained in:
parent
74de05a01c
commit
504e0656bb
9 changed files with 112 additions and 0 deletions
|
|
@ -831,6 +831,9 @@ void CodeEdit::_cut_internal(int p_caret) {
|
|||
delete_selection(p_caret);
|
||||
return;
|
||||
}
|
||||
if (!is_empty_selection_clipboard_enabled()) {
|
||||
return;
|
||||
}
|
||||
if (p_caret == -1) {
|
||||
delete_lines();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue