]> git.lyx.org Git - features.git/commit
Each line of the exported latex code is associated to a particular par.id()
authorEnrico Forestieri <forenr@lyx.org>
Mon, 7 Mar 2011 20:15:04 +0000 (20:15 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Mon, 7 Mar 2011 20:15:04 +0000 (20:15 +0000)
commitd5f56e67e05687ec42fc5fa1b82f13c25abfdeb9
treef4a92b74d3e35e8a250b9650cb800522d906bac2
parentc0437db8e9c02bb8a0e14d1fbc569b7c966db32b
Each line of the exported latex code is associated to a particular par.id()
of a lyx document. What par.id() is associated to the line depends on the
last call of TexRow::start() before a newline is actually issued.
If the par.id() of an ert is the one associated to the exported line,
when an error occurs, that ert is always returned by Buffer::getParFromID()
(and thus would be highlighted) whether the error actually occurred there
or elsewhere in the same paragraph.
So, better highlighting the whole paragraph when the error seems to have
occurred in ert.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37870 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiErrorList.cpp