mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Consider rows without trailing blank
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10237 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3f54e51eb3
commit
f0492e4ba3
@ -1,19 +1,22 @@
|
||||
2005-07-16 Juergen Vigna <jug@lyx.org>
|
||||
|
||||
* text2.C (getColumnNearX): Consider rows without trailing blank.
|
||||
|
||||
2005-07-16 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* lyxfont.h: Change order of declarations to give the compiler
|
||||
a better chance to inline things
|
||||
a better chance to inline things
|
||||
|
||||
* lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
|
||||
questions on unsaved docs for better scritability
|
||||
* lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
|
||||
questions on unsaved docs for better scritability
|
||||
|
||||
2005-07-16 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* paragraph.h (getChar): remove asserts as the same kind of security
|
||||
can be achieved by using a suitable standard library implementation
|
||||
and the function was in the critical path (25.9% in profiler)
|
||||
can be achieved by using a suitable standard library implementation
|
||||
and the function was in the critical path (25.9% in profiler)
|
||||
|
||||
2005-07-16 Juergen Vigna <jug@lyx.org>
|
||||
2005-07-16 Juergen Vigna <jug@lyx.org>
|
||||
|
||||
* cursor.C (bruteFind2):
|
||||
* bufferview_funcs.C (coordOffset):
|
||||
@ -51,17 +54,17 @@
|
||||
2005-07-14 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* undo.C (recordUndoFullBuffer): implement undo for
|
||||
textclass switches
|
||||
textclass switches
|
||||
|
||||
2005-07-14 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* cursor.C (setSelection): open insets when selection is set there
|
||||
to avoid crashs with cold coord cache
|
||||
to avoid crashs with cold coord cache
|
||||
|
||||
2005-07-14 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* trans_mgr.C (insert): move cursor to the right after inserting
|
||||
a char.
|
||||
a char.
|
||||
|
||||
2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
|
@ -859,6 +859,11 @@ pos_type LyXText::getColumnNearX(pit_type const pit,
|
||||
if (end == par.size())
|
||||
return c - row.pos();
|
||||
|
||||
if (c && !par.isSeparator(c-1)) {
|
||||
boundary = true;
|
||||
return c - row.pos();
|
||||
}
|
||||
|
||||
return min(c - row.pos(), end - 1 - row.pos());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user