diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-21 14:19:58 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-21 14:19:58 +0800 |
commit | 3eed16a6cd5c50cd21e558a677cd329443b1a4b7 (patch) | |
tree | 6eff1e559c641902a95cc5bc018cab54aac5b9d9 | |
parent | 56b15f58e0a3cd3bc8bc4103dcab403b49cda7b1 (diff) | |
download | gsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.tar gsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.tar.gz gsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.tar.bz2 gsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.tar.lz gsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.tar.xz gsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.tar.zst gsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.zip |
Fix a bug with intial vertical scroll.
2000-06-21 Christopher James Lahey <clahey@helixcode.com>
* widgets/e-text/e-text.c: Fix a bug with intial vertical scroll.
svn path=/trunk/; revision=3672
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | widgets/e-text/e-text.c | 1 | ||||
-rw-r--r-- | widgets/text/e-text.c | 1 |
3 files changed, 8 insertions, 2 deletions
@@ -1,12 +1,16 @@ 2000-06-21 Christopher James Lahey <clahey@helixcode.com> - * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed the - "x" and "y" arguments to EText. Added vertical scrolling. + * widgets/e-text/e-text.c: Fix a bug with intial vertical scroll. + +2000-06-21 Christopher James Lahey <clahey@helixcode.com> * notes/e-note.c, widgets/meeting-time-sel/e-meeting-time-sel.c, widgets/shortcut-bar/e-icon-bar.c: Removed the usage of "x" and "y" arguments to EText. + * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed the + "x" and "y" arguments to EText. Added vertical scrolling. + 2000-06-20 Damon Chaplin <damon@helixcode.com> * widgets/meeting-time-sel/e-meeting-time-sel-item.c: diff --git a/widgets/e-text/e-text.c b/widgets/e-text/e-text.c index 70174749f8..614c87af97 100644 --- a/widgets/e-text/e-text.c +++ b/widgets/e-text/e-text.c @@ -2857,6 +2857,7 @@ e_text_command(ETextEventProcessor *tep, ETextEventProcessorCommand *command, gp } } lines --; + i --; x = gdk_text_width(text->font, lines->text, text->selection_end - (lines->text - text->text)); diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 70174749f8..614c87af97 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -2857,6 +2857,7 @@ e_text_command(ETextEventProcessor *tep, ETextEventProcessorCommand *command, gp } } lines --; + i --; x = gdk_text_width(text->font, lines->text, text->selection_end - (lines->text - text->text)); |