mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
732212f233
commit
32ea651007
@ -172,13 +172,6 @@ bool GuiErrorList::goTo(int item)
|
||||
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
|
||||
while (dit.paragraph().empty())
|
||||
dit.backwardPos();
|
||||
|
Loading…
Reference in New Issue
Block a user