]> git.lyx.org Git - lyx.git/commit
Fix for bug 3650. Made changes to the Paragraph::checkBiblio() routine,
authorRichard Heck <rgheck@comcast.net>
Sat, 19 May 2007 19:29:50 +0000 (19:29 +0000)
committerRichard Heck <rgheck@comcast.net>
Sat, 19 May 2007 19:29:50 +0000 (19:29 +0000)
commitdfd9a1d53de2bbff6a5eb0c40383df92a1eac733
treec149b4b78433e41fcc231ab512f21859e636bd14
parent472902f3c99c869c7d0034aeee474ba4ce2c175f
Fix for bug 3650. Made changes to the Paragraph::checkBiblio() routine,
which now returns 1 if an InsetBibitem was inserted (and the cursor needs
to be incremented) or -POS if an InsetBibitem was deleted at position POS
(and the cursor needs to be decremented if it was past POS). Otherwise, it
returns 0. Made the corresponding changes in TextMetrics.cpp.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18424 a592a061-630c-0410-9148-cb99ea01b6c8
src/Paragraph.cpp
src/Paragraph.h
src/TextMetrics.cpp