From: Pavel Sanda Date: Tue, 3 Jun 2008 13:21:19 +0000 (+0000) Subject: LFUN: delete-back/forward -> char-delete-back/forward X-Git-Tag: 1.6.10~4538 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f47f4c64a5bba657c8c288be278f429619d62853;p=features.git LFUN: delete-back/forward -> char-delete-back/forward http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg140977.html git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25099 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/bind/emacs.bind b/lib/bind/emacs.bind index f738872a84..9d2b518b9b 100644 --- a/lib/bind/emacs.bind +++ b/lib/bind/emacs.bind @@ -29,7 +29,7 @@ \bind "C-a" "line-begin" \bind "C-b" "char-backward" #bind "C-c" "------" // used as users prefix -\bind "C-d" "delete-forward" +\bind "C-d" "char-delete-forward" \bind "C-e" "line-end" \bind "C-f" "char-forward" \bind "C-g" "cancel" diff --git a/lib/bind/site.bind b/lib/bind/site.bind index 81d376b2e5..4aa3375ecb 100644 --- a/lib/bind/site.bind +++ b/lib/bind/site.bind @@ -36,8 +36,8 @@ \bind "Prior" "screen-up" \bind "Next" "screen-down" \bind "Return" "break-paragraph" -\bind "Delete" "delete-forward" -\bind "BackSpace" "delete-backward" +\bind "Delete" "char-delete-forward" +\bind "BackSpace" "char-delete-backward" \bind "KP_Enter" "break-paragraph" \bind "KP_Right" "char-right" diff --git a/lib/bind/xemacs.bind b/lib/bind/xemacs.bind index 2ace4cbefb..8d94dd4dfc 100644 --- a/lib/bind/xemacs.bind +++ b/lib/bind/xemacs.bind @@ -31,7 +31,7 @@ \bind "C-a" "line-begin" \bind "C-b" "char-backward" #bind "C-c" "------" # see end of file -\bind "C-d" "delete-forward" +\bind "C-d" "char-delete-forward" \bind "C-e" "line-end" \bind "C-f" "char-forward" \bind "C-g" "cancel" diff --git a/lib/doc/Reference.lyx b/lib/doc/Reference.lyx index 5c3b0287bb..cb9d81b8b8 100644 --- a/lib/doc/Reference.lyx +++ b/lib/doc/Reference.lyx @@ -8972,7 +8972,7 @@ copy; paste. \end_layout \begin_layout Subsection -delete-backward +char-delete-backward \end_layout \begin_layout Description @@ -9041,12 +9041,12 @@ See Also: \end_layout \begin_layout Standard -delete-forward; word-delete-forward; word-delete-backward; line-delete-forward; +char-delete-forward; word-delete-forward; word-delete-backward; line-delete-forward; line-delete-backward. \end_layout \begin_layout Subsection -delete-forward +char-delete-forward \end_layout \begin_layout Description @@ -9128,7 +9128,7 @@ See Also: \end_layout \begin_layout Standard -delete-backward; word-delete-forward; word-delete-backward; line-delete-forward; +char-delete-backward; word-delete-forward; word-delete-backward; line-delete-forward; line-delete-backward. \end_layout diff --git a/lib/doc/de/Customization.lyx b/lib/doc/de/Customization.lyx index 91e98cb371..434f7c389d 100644 --- a/lib/doc/de/Customization.lyx +++ b/lib/doc/de/Customization.lyx @@ -15036,7 +15036,7 @@ Strg+D \family default \family typewriter -delete-forward +char-delete-forward \end_layout \begin_layout Labeling diff --git a/lib/doc/eu/Customization.lyx b/lib/doc/eu/Customization.lyx index 3bc5ae31b9..bd9f81449b 100644 --- a/lib/doc/eu/Customization.lyx +++ b/lib/doc/eu/Customization.lyx @@ -10488,7 +10488,7 @@ C-d \family default \family typewriter -delete-forward +char-delete-forward \end_layout \begin_layout Labeling diff --git a/lib/doc/fr/Customization.lyx b/lib/doc/fr/Customization.lyx index 9478a2d0c3..53169ee43d 100644 --- a/lib/doc/fr/Customization.lyx +++ b/lib/doc/fr/Customization.lyx @@ -11320,7 +11320,7 @@ C-d \family default \family typewriter -delete-forward +char-delete-forward \end_layout \begin_layout List diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 5fa423f242..2ca531086b 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -563,18 +563,18 @@ void LyXAction::init() { LFUN_CHAR_BACKWARD_SELECT, "char-backward-select", ReadOnly | SingleParUpdate, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_CHAR_DELETE_BACKWARD - * \li Action: Deletes one character in the backward direction. + * \li Action: Deletes one character in the backward direction (usually the "BackSpace" key). * \li Syntax: delete-backward * \endvar */ - { LFUN_CHAR_DELETE_BACKWARD, "delete-backward", SingleParUpdate, Edit }, + { LFUN_CHAR_DELETE_BACKWARD, "char-delete-backward", SingleParUpdate, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_CHAR_DELETE_FORWARD - * \li Action: Deletes one character in the backward direction. + * \li Action: Deletes one character in the backward direction (usually the "Delete" key). * \li Syntax: delete-forward * \endvar */ - { LFUN_CHAR_DELETE_FORWARD, "delete-forward", SingleParUpdate, Edit }, + { LFUN_CHAR_DELETE_FORWARD, "char-delete-forward", SingleParUpdate, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_CHAR_FORWARD * \li Action: Moves the cursor one position logically forward.