LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR -> LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23605 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-03-09 21:23:37 +00:00
parent 4c5f5c6633
commit 63e712c8a4
4 changed files with 9 additions and 5 deletions

View File

@ -43,6 +43,10 @@ Some of the LyX functions have changed names:
LFUN_FLEX_INSERT, "flex-insert". It now handles beside charstyles, also
custom insets and XML short element insets.
- The function LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR, "toggle-cursor-follows-scrollbar"
has been renamed to LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE,
"cursor-follows-scrollbar-toggle".
The following new LyX functions have been introduced:
- LFUN_SPECIALCHAR_INSERT, "specialchar-insert" (see above).

View File

@ -1527,14 +1527,14 @@ void LyXAction::init()
*/
{ LFUN_LYXRC_APPLY, "lyxrc-apply", NoBuffer, System },
/*!
* \var lyx::kb_action lyx::LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR
* \var lyx::kb_action lyx::LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE
* \li Action: Determine whether keep cursor inside the editing window regardless
the scrollbar movement.
* \li Syntax: toggle-cursor-follows-scrollbar
* \li Origin: ARRae, 2 Dec 1997
* \endvar
*/
{ LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR, "toggle-cursor-follows-scrollbar", ReadOnly, System },
{ LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE, "cursor-follows-scrollbar-toggle", ReadOnly, System },
/*!
* \var lyx::kb_action lyx::LFUN_SET_COLOR
* \li Action: Set the given LyX color to the color defined by the X11 name given.

View File

@ -607,7 +607,7 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const
case LFUN_DIALOG_DISCONNECT_INSET:
case LFUN_BUFFER_CHILD_OPEN:
case LFUN_UI_TOGGLE:
case LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR:
case LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE:
case LFUN_KEYMAP_OFF:
case LFUN_KEYMAP_PRIMARY:
case LFUN_KEYMAP_SECONDARY:
@ -1324,7 +1324,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
break;
}
case LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR:
case LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE:
BOOST_ASSERT(lyx_view_);
lyxrc.cursor_follows_scrollbar = !lyxrc.cursor_follows_scrollbar;
break;

View File

@ -231,7 +231,7 @@ enum kb_action {
LFUN_BUFFER_EXPORT, // Lgb 97-07-29
// 165
LFUN_LABEL_GOTO, // Ale 970806
LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR, // ARRae 971202
LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE, // ARRae 971202
LFUN_BUFFER_CHKTEX, // Asger 971030
LFUN_HYPERLINK_INSERT, // CFO-G 971121
LFUN_WORD_FIND_FORWARD, // Etienne 980216