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
order to disable correctly the entries when needed.
* lyxfunc.C (dispatch): update menus and toolbars here
(getStatus): only honor LyXView::hasFocus when command originates
from a menu (bug 2877)
* funcrequest.h: split the UI enum value into TOOLBAR and MENU.
* lyxfunc.C (sendDispatchMessage):
* MenuBackend.C (MenuItem):
* ToolbarBackend.C (add):
* frontends/qt2/Toolbars.C (layoutSelected): adapt to the change above.
* frontends/qt2/QtView.C (hasFocus): return a correct value now (and fix bug 1720).
-This line, and those below, will be ignored--
M src/ChangeLog
M src/lyxfunc.C
M src/frontends/Toolbars.C
M src/frontends/qt2/ChangeLog
M src/frontends/qt2/QtView.C
M src/frontends/ChangeLog
M src/funcrequest.h
M src/MenuBackend.C
M src/ToolbarBackend.C
M status.14x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15768 a592a061-630c-0410-9148-cb99ea01b6c8
* More space on installer dialogs
* Shortened a few texts
* Set default LyX language to English if the OS language is not supported
* Corrected text on viewer download dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15759 a592a061-630c-0410-9148-cb99ea01b6c8
* New dictionary installers on ftp.lyx.org. Arabic is now also supported.
* Added support for FTP downloads to the installer.
* Independent registry settings for all Aspell directories.
* Better backwards compatibility with older Aspell installations.
* Improved multi-user installation of Aspell on Windows 2000/XP.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15683 a592a061-630c-0410-9148-cb99ea01b6c8
* src/lyxfont.C
(LyXFont::lyxWriteChanges): Don't change color "inherit" to
"default", since that cannot be read in.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15655 a592a061-630c-0410-9148-cb99ea01b6c8
(introduced in ui file due to erroneous eol-style);
remove outdated messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15629 a592a061-630c-0410-9148-cb99ea01b6c8
* ui/default-autotoolbars.ui: set eol-style to native
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15628 a592a061-630c-0410-9148-cb99ea01b6c8
(by Georg and me)
* src/lfuns.h
(enum kb_action): New lfun LFUN_MATH_BIGDELIM
* src/LyXAction.C
(init): New lfun LFUN_MATH_BIGDELIM
* src/cursor.C
(macroModeClose): try to intepret the current macro before
it is simply inserted
* src/mathed/math_biginset.[Ch]
(name): implement
(isBigInsetDelim): new, test whether a given token is a valid
MathBigInset delimiter
(infoize2): implement to show name if the cursor is to the right
* src/mathed/math_biginset.C
(size): handle Big, bigg and Bigg
(increase): ditto
(draw): fix deco drawing
(write): don't write space before delimiter but append one if necessary
* src/mathed/math_factory.C
(createMathInset): handle l->inset == "big"
* src/mathed/math_parser.C
(asInput): return a token as input, stolen from tex2lyx
(parse1): create a MathBigInset when needed
* src/mathed/math_nestinset.C
(doDispatch): try to intepret the argument of LFUN_SELFINSERT also
if it is longer than one character
(doDispatch): remove debug message
(doDispatch): remove LFUN_MATH_DELIM test for multiple cells (now
in getStatus)
(doDispatch): handle LFUN_MATH_BIGDELIM
(getStatus): Disable LFUN_MATH_DELIM and LFUN_MATH_BIGDELIM when
the selection spans multiple cells
* src/mathed/math_nestinset.[Ch]
(interpret): new, combine the previous math atom with the new
character to a MathBigInset if possible
* src/mathed/math_support.C
(deco_table): add lbrace and rbrace
* src/frontends/qt2/QDelimiterDialog.[Ch]
(fix_name, QDelimiterDialog, insertClicked, size_selected):
Allow for fixed size delimiters.
* src/frontends/qt2/ui/QDelimiterDialogBase.ui:
Added a combobox for selecting delimiter size.
* src/frontends/xforms/forms/form_maths_delim.fd: ditto
* src/frontends/xforms/FormMathsDelim.h:
Added a private variable to store selected delimiter size
* src/frontends/xforms/FormMathsDelim.C:
Correct entry in delim_rversion[] for matching braces.
(fix_name): new, return correct name for fixed size delimiter
(build, apply, update): allow for fixed size delimiters.
* src/frontends/gtk/GMathDelim.C: Add FIXME comment for fixed
size delimiters
* src/frontends/controllers/ControlMath.[Ch]:
Added dispatchBigDelim() to deal with fixed size delimiters.
* src/ParagraphParameters.C
(findToken): move from here
* src/support/lstrings.[Ch]
(findToken): to here
* src/text3.C
(dispatch): handle LFUN_MATH_BIGDELIM
(getStatus): ditto
* src/ToolbarBackend.C
(getIcon): handle LFUN_MATH_BIGDELIM
* lib/symbols: add MathBigInset symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15570 a592a061-630c-0410-9148-cb99ea01b6c8