diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/text_editor.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c index 3c9bf7d7bf..3ac8cab3f2 100644 --- a/apps/plugins/text_editor.c +++ b/apps/plugins/text_editor.c | |||
@@ -434,18 +434,12 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
434 | } | 434 | } |
435 | } | 435 | } |
436 | break; | 436 | break; |
437 | #ifdef TEXT_EDITOR_DELETE | 437 | case ACTION_STD_CONTEXT: |
438 | case TEXT_EDITOR_DELETE: | ||
439 | #ifdef TEXT_EDITOR_DELETE_PRE | ||
440 | if (last_button != TEXT_EDITOR_DELETE_PRE) | ||
441 | break; | ||
442 | #endif | ||
443 | if (!line_count) break; | 438 | if (!line_count) break; |
444 | rb->strcpy(copy_buffer,&buffer[do_action(ACTION_GET,0,cur_sel)]); | 439 | rb->strcpy(copy_buffer,&buffer[do_action(ACTION_GET,0,cur_sel)]); |
445 | do_action(ACTION_REMOVE,0,cur_sel); | 440 | do_action(ACTION_REMOVE,0,cur_sel); |
446 | changed = true; | 441 | changed = true; |
447 | break; | 442 | break; |
448 | #endif | ||
449 | case ACTION_STD_MENU: | 443 | case ACTION_STD_MENU: |
450 | { /* do the item menu */ | 444 | { /* do the item menu */ |
451 | switch (do_item_menu(cur_sel, copy_buffer)) | 445 | switch (do_item_menu(cur_sel, copy_buffer)) |