Correct naming for view-split.
@ -82,6 +82,9 @@ The following LyX functions have been changed:
|
||||
- LFUN_CLOSE_TAB_GROUP_CLOSE ("close-tab-group") was renamed to
|
||||
LFUN_TAB_GROUP_CLOSE ("tab-group-close").
|
||||
|
||||
- LFUN_SPIT_VIEW ("split-view") was renamed to
|
||||
LFUN_VIEW_SPLIT ("view-split").
|
||||
|
||||
The following LyX key bindings have been changed:
|
||||
|
||||
//template, remove this entry later on
|
||||
|
Before Width: | Height: | Size: 657 B After Width: | Height: | Size: 657 B |
Before Width: | Height: | Size: 649 B After Width: | Height: | Size: 649 B |
Before Width: | Height: | Size: 316 B After Width: | Height: | Size: 316 B |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 657 B After Width: | Height: | Size: 657 B |
Before Width: | Height: | Size: 649 B After Width: | Height: | Size: 649 B |
@ -135,7 +135,7 @@ enum FuncCode
|
||||
LFUN_GETBUFNAME,
|
||||
LFUN_SERVER_GET_XY,
|
||||
LFUN_SERVER_SET_XY,
|
||||
LFUN_SPLIT_VIEW,
|
||||
LFUN_VIEW_SPLIT,
|
||||
LFUN_LINEATCURSOR,
|
||||
// 90
|
||||
LFUN_SERVER_GET_LAYOUT,
|
||||
|
@ -2664,16 +2664,16 @@ void LyXAction::init()
|
||||
{ LFUN_WINDOW_CLOSE, "window-close", NoBuffer, Buffer },
|
||||
|
||||
/*!
|
||||
* \var lyx::FuncCode lyx::LFUN_SPLIT_VIEW
|
||||
* \var lyx::FuncCode lyx::LFUN_VIEW_SPLIT
|
||||
* \li Action: Creates another split view of current buffer.
|
||||
* \li Notion: All split views act in the same way independently.
|
||||
* \li Syntax: split-view <vertical|horizontal>
|
||||
* \li Syntax: view-split <vertical|horizontal>
|
||||
* \li Params: horizontal : The work areas are laid out side by side.\n
|
||||
vertical : The work areas laid out vertically.
|
||||
* \li Origin: Abdel, 20 Feb 2008
|
||||
* \endvar
|
||||
*/
|
||||
{ LFUN_SPLIT_VIEW, "split-view", ReadOnly, Buffer },
|
||||
{ LFUN_VIEW_SPLIT, "view-split", ReadOnly, Buffer },
|
||||
|
||||
/*!
|
||||
* \var lyx::FuncCode lyx::LFUN_TAB_GROUP_CLOSE
|
||||
|
@ -1708,7 +1708,7 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
|
||||
enable = theBufferList().last() != theBufferList().first();
|
||||
break;
|
||||
|
||||
case LFUN_SPLIT_VIEW:
|
||||
case LFUN_VIEW_SPLIT:
|
||||
if (cmd.getArg(0) == "vertical")
|
||||
enable = doc_buffer && (d.splitter_->count() == 1 ||
|
||||
d.splitter_->orientation() == Qt::Vertical);
|
||||
@ -3593,7 +3593,7 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
break;
|
||||
}
|
||||
|
||||
case LFUN_SPLIT_VIEW: {
|
||||
case LFUN_VIEW_SPLIT: {
|
||||
LASSERT(doc_buffer, break);
|
||||
string const orientation = cmd.getArg(0);
|
||||
d.splitter_->setOrientation(orientation == "vertical"
|
||||
|