Changeset 435d6b2 for commands.c
- Timestamp:
- Jul 17, 2009, 10:42:58 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- b4ef908
- Parents:
- 2f2a643
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r2fc8397 r435d6b2 916 916 "", ""), 917 917 918 OWLCMD_VOID_CTX("edit multi:move-up-line", owl_editwin_key_up,918 OWLCMD_VOID_CTX("edit:move-up-line", owl_editwin_key_up, 919 919 OWL_CTX_EDITMULTI, 920 920 "moves the cursor up one line", 921 921 "", ""), 922 922 923 OWLCMD_VOID_CTX("edit multi:move-down-line", owl_editwin_key_down,923 OWLCMD_VOID_CTX("edit:move-down-line", owl_editwin_key_down, 924 924 OWL_CTX_EDITMULTI, 925 925 "moves the cursor down one line", 926 926 "", ""), 927 927 928 OWLCMD_VOID_CTX("edit multi:done", owl_command_editmulti_done,928 OWLCMD_VOID_CTX("edit:done", owl_command_edit_done, 929 929 OWL_CTX_EDITMULTI, 930 930 "completes the command (eg, sends message being composed)", 931 931 "", ""), 932 932 933 OWLCMD_VOID_CTX("edit multi:done-or-delete", owl_command_editmulti_done_or_delete,933 OWLCMD_VOID_CTX("edit:done-or-delete", owl_command_edit_done_or_delete, 934 934 OWL_CTX_EDITMULTI, 935 935 "completes the command, but only if at end of message", 936 936 "", 937 937 "If only whitespace is to the right of the cursor,\n" 938 "runs 'edit multi:done'.\n"\938 "runs 'edit:done'.\n"\ 939 939 "Otherwise runs 'edit:delete-next-char'\n"), 940 940 941 OWLCMD_VOID_CTX("edit multi:forward-paragraph", owl_editwin_forward_paragraph,941 OWLCMD_VOID_CTX("edit:forward-paragraph", owl_editwin_forward_paragraph, 942 942 OWL_CTX_EDITMULTI, 943 943 "Move forward to end of paragraph.", … … 945 945 "Move the point to the end of the current paragraph"), 946 946 947 OWLCMD_VOID_CTX("edit multi:backward-paragraph", owl_editwin_backward_paragraph,947 OWLCMD_VOID_CTX("edit:backward-paragraph", owl_editwin_backward_paragraph, 948 948 OWL_CTX_EDITMULTI, 949 949 "Move backward to the start of paragraph.", … … 2791 2791 2792 2792 2793 void owl_command_edit multi_done(owl_editwin *e)2793 void owl_command_edit_done(owl_editwin *e) 2794 2794 { 2795 2795 owl_history *hist=owl_editwin_get_history(e); … … 2806 2806 } 2807 2807 2808 void owl_command_edit multi_done_or_delete(owl_editwin *e)2808 void owl_command_edit_done_or_delete(owl_editwin *e) 2809 2809 { 2810 2810 if (owl_editwin_is_at_end(e)) { 2811 owl_command_edit multi_done(e);2811 owl_command_edit_done(e); 2812 2812 } else { 2813 2813 owl_editwin_delete_char(e);
Note: See TracChangeset
for help on using the changeset viewer.