Revert r37801 and r37870. They are superseded by r37894.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37895 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2011-03-10 04:10:21 +00:00
parent 732212f233
commit 32ea651007

View File

@ -172,13 +172,6 @@ bool GuiErrorList::goTo(int item)
return false; return false;
} }
// Don't try to highlight the content of info and ert insets
while (dit.inset().lyxCode() == INFO_CODE
|| dit.inset().lyxCode() == ERT_CODE) {
dit.pos() = dit.lastpos();
dit.forwardPos();
}
// If this paragraph is empty, highlight the previous one // If this paragraph is empty, highlight the previous one
while (dit.paragraph().empty()) while (dit.paragraph().empty())
dit.backwardPos(); dit.backwardPos();