- LFUN_TABULAR_FEATURE ("tabular-feature"): use "inset-modify" instead.
+- LFUN_LINE_INSERT ("line-insert"): use "inset-insert line" instead.
+
The following LyX functions have been changed:
Item "Interword Space|w" "space-insert normal"
Item "Thin Space|T" "space-insert thin"
Item "Horizontal Space...|o" "dialog-show-new-inset space"
- Item "Horizontal Line|L" "line-insert"
+ Item "Horizontal Line...|L" "dialog-show-new-inset line"
Item "Vertical Space...|V" "dialog-show-new-inset vspace"
Submenu "Phantom" "insert_phantom"
Separator
case LFUN_FONT_STATE:
case LFUN_LABEL_INSERT:
- case LFUN_LINE_INSERT:
case LFUN_INFO_INSERT:
case LFUN_PARAGRAPH_GOTO:
case LFUN_NOTE_NEXT:
LFUN_INSET_EDIT, // JSpitzm 20080427
LFUN_BRANCH_INSERT,
LFUN_BOX_INSERT,
- LFUN_LINE_INSERT,
+ LFUN_BUFFER_TOGGLE_OUTPUT_SYNC,
// 235
LFUN_NEWPAGE_INSERT, // uwestoehr, 20071124
LFUN_REPEAT,
LFUN_PREVIEW_INSERT, // vfr, 20100328
LFUN_FORWARD_SEARCH,
LFUN_INSET_COPY_AS, // vfr, 20100419
- LFUN_BUFFER_TOGGLE_OUTPUT_SYNC,
LFUN_LASTACTION // end of the table
};
* \endvar
*/
{ LFUN_ARGUMENT_INSERT, "argument-insert", Noop, Edit },
-/*!
- * \var lyx::FuncCode lyx::LFUN_LINE_INSERT
- * \li Action: Inserts a horizontal line.
- * \li Syntax: line-insert
- * \li Origin: Andre, Oct 27 2003
- * \endvar
- */
- { LFUN_LINE_INSERT, "line-insert", Noop, Edit },
/*!
* \var lyx::FuncCode lyx::LFUN_NEWPAGE_INSERT
* \li Action: Inserts a new page.
* \li Action: Insert new inset (type given by the parameters).
* \li Syntax: inset-insert <INSET> <ARGS>
* \li Params: <INSET>: <bibitem|bibtex|cite|ert|listings|external|graphics|tabular
- hyperlink|include|index|label|nomencl|vspace|ref|toc>\n
+ hyperlink|include|index|label|nomencl|line|vspace|ref|toc>\n
<ARGS>: depends on the given inset. Use "lyx -dbg action" to explore.
* \li Sample: inset-insert ref LatexCommand <Format> reference "<label name>"\end_inset \n
where <label name> is the name of the referenced label and
break;
}
- case LFUN_LINE_INSERT: {
- InsetCommandParams p(LINE_CODE);
- p["offset"] = from_ascii(".5ex");
- p["width"] = from_ascii("100col%");
- p["height"] = from_ascii("1pt");
- string const data = InsetCommand::params2string("line", p);
-
- if (cmd.argument().empty()) {
- bv->showDialog("line", data);
- } else {
- FuncRequest fr(LFUN_INSET_INSERT, data);
- dispatch(cur, fr);
- }
- break;
- }
-
case LFUN_INFO_INSERT: {
Inset * inset;
if (cmd.argument().empty() && cur.selection()) {
case LFUN_LABEL_INSERT:
code = LABEL_CODE;
break;
- case LFUN_LINE_INSERT:
- code = LINE_CODE;
- break;
case LFUN_INFO_INSERT:
code = INFO_CODE;
break;