* src/mathed/math_extern.C
(pipeThroughOctave): take into account that the output from octave
may contain ansi control sequences.
* src/mathed/math_rootinset.[Ch]
(MathRootInset::mathematica): new virtual method to output n-th
roots in mathematica syntax.
* src/mathed/math_rootinset.C
(MathRootInset::octave): octave has not a root command.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16612 a592a061-630c-0410-9148-cb99ea01b6c8
the role kLSRolesAll for both editor and viewer, since it is what
the finder does.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16605 a592a061-630c-0410-9148-cb99ea01b6c8
- do not focus filename widget for already existing insets (bug 1663).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16603 a592a061-630c-0410-9148-cb99ea01b6c8
* src/insets/insetgraphics.C
(findTargetFormat): return pdf for vector graphics
* src/format.h
(Flags): new enum describing format flags
(flags_): new member variable for format flags
(vectorFormat): new, tell whether a format can contain vector graphics
* src/format.C: adjust to flags changes
* src/frontends/qt2QPrefsDialog.C
(QPrefsDialog::QPrefsDialog): handle new vector flag
(QPrefsDialog::switch_format): ditto
(QPrefsDialog::updateFormatsButtons): ditto
(QPrefsDialog::new_format): ditto
(QPrefsDialog::modify_format): ditto
* src/frontends/qt2/ui/QPrefFileformatsModule.ui
(vectorCB): new checkbox for vector flag
* src/lyxrc.C
(LyXRC::read): read vector flag
(LyXRC::write): write vector flag
* lib/doc/Customization.lyx: document format flags
* lib/configure.py
(checkFormatEntries): Add vector flag to some formats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16432 a592a061-630c-0410-9148-cb99ea01b6c8
notifyCursorLeaves may have killed the inset and put its contents
at lower level (bug 2908)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16431 a592a061-630c-0410-9148-cb99ea01b6c8
false by default.
(metrics): do not set to openinlined if
hasFixedWidth is true.
* insetbox.C (hasFixedWidth): returns true if the box has a fixed
width.
(metrics): use hasFixedWidth.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16425 a592a061-630c-0410-9148-cb99ea01b6c8
* src/text.C
(LyXText::dissolveInset): Reset language to buffer language if the
dissolved inset is an ERT inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16412 a592a061-630c-0410-9148-cb99ea01b6c8
* src/paragraph.C
(Paragraph::changeLanguage): Don't forget the dummy font change at
the end of the paragraph when changing the language. This does not
affect the other place where this code is used:
Buffer::changeLanguage.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16409 a592a061-630c-0410-9148-cb99ea01b6c8
* rowpainter.C (paintPar): do not use wide insets when the
paragraph is centered or right-justified.
* paragraph.C (getAlign): take in account LYX_ALIGN_LAYOUT if
needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16321 a592a061-630c-0410-9148-cb99ea01b6c8
(parse_text): Don't output a newline in front of an InsetLatexAccent
(because InsetLatexAccent::write does does it neither)
(parse_text): Don't create invalid code for \i{} and \j{}
(parse_text): Handle \l{} and \L{}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16255 a592a061-630c-0410-9148-cb99ea01b6c8
than the workarea.
* src/text3.C
(cursorPrevious): use cur.dispatch(FuncRequest(LFUN_UP)) instead of
cursorUp(cur).
(cursorNext): ditto for cur.dispatch(FuncRequest(LFUN_DOWN)) vs
cursorDown(cur).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16225 a592a061-630c-0410-9148-cb99ea01b6c8
really expensive on some platforms.
* src/frontends/qt2/qfont_loader.[Ch]
(QLFontInfo::width): rename WidthCache as MetricsCache.
(QLFontInfo::ascent,QLFontInfo::descent): new, return (possibly cached)
ascent/descent values.
* src/frontends/qt2/qfont_loader.h:
implement cache for ascent/descent values in the QLFontInfo class.
* src/frontends/qt2/qfont_metrics.C
(ascent, descent): use the corresponding methods in QLFontInfo class.
Remove support for obsolete Qt/Win 3.2.1nc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16224 a592a061-630c-0410-9148-cb99ea01b6c8
(known_quotes): Fix typo (found by Charles de Miramon)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16204 a592a061-630c-0410-9148-cb99ea01b6c8