aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--widgets/e-text/e-text.c1
-rw-r--r--widgets/text/e-text.c1
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2aeef9ad86..dd96e6fc65 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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));