over the cells to apply LFUN_EMPH and friends.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15100 a592a061-630c-0410-9148-cb99ea01b6c8
* src/buffer.C
(Buffer::readFile): Only call updateDocLang if reading the file
succeeded
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15093 a592a061-630c-0410-9148-cb99ea01b6c8
* src/CutAndPaste.C (pasteSelectionHelper): pass Cursor
as argument, remove cursor-dependent arguments,
implement method to reset layout in insets which
forceParagraphsToDefault.
* CutAndPaste.C (pasteParagraphList): adapt call of
pasteSelectionHelper.
* insetert.C (doDispatch):
* insetcharstyle.C (doDispatch): remove ad-hoc-Code to
reset paragraph layout.
This is now done generally in CutAndPaste.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15061 a592a061-630c-0410-9148-cb99ea01b6c8
LyXText at cursor position is the same as LyXText at
cursor.selBegin() position. Fixes a crash (bug 2600).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14935 a592a061-630c-0410-9148-cb99ea01b6c8
* src/frontends/controllers/ControlMath.C
(latex_misc): Add intop and ointop
* lib/images/math/intop.xpm: New
* lib/images/math/ointop.xpm: Ditto
* lib/images/math/int.xpm: Add box to make the difference to intop clear
* lib/images/math/oint.xpm: ditto
* lib/Makefile.am: add new files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14923 a592a061-630c-0410-9148-cb99ea01b6c8
* src/graphics/GraphicsCacheItem.C
(CacheItem::Impl::convertToDisplayFormat): Don't derive the temp
file name from the original file name. This ensures that it is
composed of valid characters only.
* src/graphics/GraphicsConverter.C: remove example script, since it
will get out of date.
(Converter::Impl::Impl): Don't call the default converter directly,
but create a temporary script with build_script() as for the
configured converters. This makes sure that the file name does not
need to be passed on the command line anymore.
(build_script): Copy the original file to a temp file before the
conversion chain starts. This avoids problems with converters that
can't handle ' in filenames.
(build_script): This cannot fail anymore, so change the return type
to void
(build_script): Use build_conversion_command also for the default
converter. This has the advantage that the special code for moving
${outfile}.0, ${outfile}.1 is actually used for ImageMagick's convert.
(build_conversion_command): factored out from build_script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14891 a592a061-630c-0410-9148-cb99ea01b6c8
* src/tex2lyx/text.C
(known_spaces): new, LaTeX names of known spaces
(known_coded_spaces): new, LyX names of known spaces
(parse_text): Recognize all known spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14834 a592a061-630c-0410-9148-cb99ea01b6c8
new methods; invoke signal WorkArea::focusChange (bug 2423).
* src/frontends/WorkArea.h: add signal focusChange.
* src/BufferView_pimpl.C (focusChange): new method; updates the
toolbars (bug 2423)
(Pimpl): connect the WorkArea::focusChange signal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14808 a592a061-630c-0410-9148-cb99ea01b6c8
if the bib file is in a non-readable directory (bug 2782).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14806 a592a061-630c-0410-9148-cb99ea01b6c8
element (like {a'}^{2}).
* src/mathed/math_nestinset.C (script): when creating a script
inset, handle specially previous atom if it is a MathBraceInset
(this is used in interactive input).
* src/mathed/math_parser.C (parse1): when creating a script inset,
handle specially previous atom if it is a MathBraceInset (this is
used in parsing phase).
* src/mathed/math_scriptinset.C (write): put nucleus into braces
if it contains more than one element or is itself a script inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14802 a592a061-630c-0410-9148-cb99ea01b6c8
* math_scriptinset.C (notifyCursorLeaves): call recordUndoInset
before deleting a cell; if the nucleus does not have scripts
anymore, delete it and replace it by its contents at enclosing
level.
(write): output scripts even when they are empty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14794 a592a061-630c-0410-9148-cb99ea01b6c8
* src/frontends/controllers/ControlSpellchecker.C
(nextWord): take a LCursor as parameter; set the selection over
the word that has been found.
(check): adapt to changes above (the length of the word is not
necessarily the length of the selection -- fixes bug 2068).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14710 a592a061-630c-0410-9148-cb99ea01b6c8
LFUN_GOTOERROR.
* src/bufferview_funcs.C (findInset): exit early when at end of
document (and avoid a crash).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14705 a592a061-630c-0410-9148-cb99ea01b6c8
* src/lyx_sty.C
(lyxgreyedout_def): Use \textcolor instead of \color
* status.14x: Not forgotten this time!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14656 a592a061-630c-0410-9148-cb99ea01b6c8
* controllers/ControlErrorList.h (unreadlist_): new member, tells whether the
errorlist has been read by the dialog.
* controllers/ControlErrorList.C (errorList, initialiseParams): update
unreadlist_ as needed.
* qt2/QErrorList.C (update_contents): do nothing if error list has not
been updated (bug 2179).
* xforms/FormErrorList.C (update): do not call updateContents if the
error list has not been updated (bug 2179).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14655 a592a061-630c-0410-9148-cb99ea01b6c8