* 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
if we have selected some cells (bug 2715).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16073 a592a061-630c-0410-9148-cb99ea01b6c8
mode, make the cursor jump over it; avoid crash in setCursorIntern
by using the right LyXText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16002 a592a061-630c-0410-9148-cb99ea01b6c8
* src/CutAndPaste.C
(pasteParagraphList): Don't record undo info here...
(pasteSelection): ... but here ...
* src/BufferView_pimpl.C
(BufferView::Pimpl::menuInsertLyXFile): ... and here instead
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15962 a592a061-630c-0410-9148-cb99ea01b6c8
* src/text3.C
(LyXText::dispatch): An empty argument of LFUN_LAYOUT is now allowd
and means the default layout of the text class
* lib/images/layout.xpm: New image for default layout
* lib/Makefile.am: Add new file
* development/scons/scons_manifest.py: ditto
* lib/ui/stdtoolbars.ui: Add "Deafult" layout button to the extra toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15953 a592a061-630c-0410-9148-cb99ea01b6c8
* lib/configure.py:
Add compatibility code for booleans and use True and False
instead of 'true' and 'false'
* lib/scripts/lyxpreview_tools.py:
* lib/scripts/fig_copy.py:
* lib/scripts/TeXFiles.py:
Fix typo and make code compatible also with python versions
greater than 2.2.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15947 a592a061-630c-0410-9148-cb99ea01b6c8
* src/mathed/math_hullinset.C
(MathHullInset::doDispatch): move code for ref insert to MathNestInset
(MathHullInset::getStatus): move code for ref insert to MathNestInset
* src/mathed/math_nestinset.C
(MathNestInset::doDispatch): move code from MathHullInset here
(MathNestInset::getStatus): move code from MathHullInset here
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15901 a592a061-630c-0410-9148-cb99ea01b6c8
* src/mathed/math_scriptinset.C
(MathScriptInset::write): Do not add braces to the nucleus
* src/mathed/math_parser.C
(Parser::parse1): Do not remove brace insets from the nucleus of
script insets
* src/mathed/math_nestinset.C
(MathNestInset::script): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15861 a592a061-630c-0410-9148-cb99ea01b6c8
* New Console plug-in with support for restricted users
* Warning message if no PDF viewer is installed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15772 a592a061-630c-0410-9148-cb99ea01b6c8