mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fixup ac4bcb12
Cursor at end of paragraph should be treated as if boundary was on.
(cherry picked from commit d01dd54bf1
)
This commit is contained in:
parent
fa4fc6fc4d
commit
9c8e3df86b
@ -3164,7 +3164,8 @@ void BufferView::draw(frontend::Painter & pain, bool paint_caret)
|
||||
// Remember what has just been done for the next draw() step
|
||||
if (paint_caret) {
|
||||
d->caret_slice_ = d->cursor_.top();
|
||||
if (d->cursor_.boundary())
|
||||
if (d->cursor_.boundary()
|
||||
|| d->cursor_.top().pos() == d->cursor_.top().lastpos())
|
||||
--d->caret_slice_.pos();
|
||||
} else
|
||||
d->caret_slice_ = CursorSlice();
|
||||
|
Loading…
Reference in New Issue
Block a user