]> git.lyx.org Git - features.git/commit
Do not forget last word of paragraph in completion
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 16 May 2014 13:17:10 +0000 (15:17 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 16 May 2014 13:22:51 +0000 (15:22 +0200)
commitee7c4db72a9dd392d7e1e34463c3ae11fce670ee
tree780aaa1eb697e42b76b77f7412ab1f4366007ff5
parent15e1f5eb39951351cc50beec9e1db21b74535e13
Do not forget last word of paragraph in completion

With the old code, the last word of a paragraph would not be added in
the completion list. The key difference is to pass `from' instead of `pos'
to FontList::fontiterator.

Slight cleanup of the code.
src/Paragraph.cpp