Fix crash in brutefind2() when the inset was not in the coordcache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16831 a592a061-630c-0410-9148-cb99ea01b6c8
in the ToC.
* output_plaintext.C (asciiParagraph): output things in the right
order when there is an inset and runparams.linelen == 0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16764 a592a061-630c-0410-9148-cb99ea01b6c8
ends in .ui, try the .inc version too (support for user ui files)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16763 a592a061-630c-0410-9148-cb99ea01b6c8
NewLine insets when change tracking is on (bug 2865).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16732 a592a061-630c-0410-9148-cb99ea01b6c8
- record undo on LFUN_BREAKLINE (bug 3111).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16731 a592a061-630c-0410-9148-cb99ea01b6c8
script inset and the new position is in the nucleus of the inset,
notifyCursorLeaves will kill the script inset itself. So we check
all the elements of the cursor to make sure that they are correct
(bug 2933).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16728 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
- writeout \begin and \end alignment tags on their own lines (bug 3010).
(patch from Gregor Gorjanc and me).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16163 a592a061-630c-0410-9148-cb99ea01b6c8