mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fixed bug on toggling selection inside InsetText. (fix #???)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3862 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0afa5607b7
commit
0cdd30b8f8
@ -4,6 +4,8 @@
|
||||
|
||||
2002-03-28 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* screen.C (toggleToggle): fix for insettexts y_offset on drawing.
|
||||
|
||||
* tabular.C (OldFormatRead): fix ert compatibility read inside cells.
|
||||
|
||||
2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
@ -523,10 +523,10 @@ void LyXScreen::toggleToggle(LyXText * text, BufferView * bv,
|
||||
+ text->toggle_end_cursor.row()->height();
|
||||
|
||||
int const bottom = min(max(bottom_tmp, text->first_y),
|
||||
static_cast<int>(text->first_y + owner.height()));
|
||||
static_cast<int>(text->first_y + owner.height()))-y_offset;
|
||||
int const top = min(max(top_tmp, text->first_y),
|
||||
static_cast<int>(text->first_y + owner.height()));
|
||||
|
||||
static_cast<int>(text->first_y + owner.height()))-y_offset;
|
||||
|
||||
drawFromTo(text, bv, top - text->first_y,
|
||||
bottom - text->first_y, y_offset,
|
||||
x_offset);
|
||||
|
Loading…
Reference in New Issue
Block a user