summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-05-28 22:20:06 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-05-28 22:20:06 +0000
commitf9ae08a493f31e870bf660edd422929a8843cef8 (patch)
treebb0d230ffa3f799d9b492d01ffd0eaa3510d3772
parent15fb6b491224924bb7aa2ff0c97152164dd023ae (diff)
downloadpango-f9ae08a493f31e870bf660edd422929a8843cef8.tar.gz
Set *trailing properly at end of line.
Mon May 28 18:15:55 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_move_cursor_visually): Set *trailing properly at end of line.
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-1-05
-rw-r--r--ChangeLog.pre-1-105
-rw-r--r--ChangeLog.pre-1-25
-rw-r--r--ChangeLog.pre-1-45
-rw-r--r--ChangeLog.pre-1-65
-rw-r--r--ChangeLog.pre-1-85
-rw-r--r--pango/pango-layout.c1
8 files changed, 36 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a7dddd8..8a0d5b44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon May 28 18:15:55 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (pango_layout_move_cursor_visually):
+ Set *trailing properly at end of line.
+
Mon May 28 11:51:45 2001 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (map_add_engine): Fix problem with
diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0
index 5a7dddd8..8a0d5b44 100644
--- a/ChangeLog.pre-1-0
+++ b/ChangeLog.pre-1-0
@@ -1,3 +1,8 @@
+Mon May 28 18:15:55 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (pango_layout_move_cursor_visually):
+ Set *trailing properly at end of line.
+
Mon May 28 11:51:45 2001 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (map_add_engine): Fix problem with
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 5a7dddd8..8a0d5b44 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,8 @@
+Mon May 28 18:15:55 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (pango_layout_move_cursor_visually):
+ Set *trailing properly at end of line.
+
Mon May 28 11:51:45 2001 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (map_add_engine): Fix problem with
diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2
index 5a7dddd8..8a0d5b44 100644
--- a/ChangeLog.pre-1-2
+++ b/ChangeLog.pre-1-2
@@ -1,3 +1,8 @@
+Mon May 28 18:15:55 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (pango_layout_move_cursor_visually):
+ Set *trailing properly at end of line.
+
Mon May 28 11:51:45 2001 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (map_add_engine): Fix problem with
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index 5a7dddd8..8a0d5b44 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,8 @@
+Mon May 28 18:15:55 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (pango_layout_move_cursor_visually):
+ Set *trailing properly at end of line.
+
Mon May 28 11:51:45 2001 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (map_add_engine): Fix problem with
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index 5a7dddd8..8a0d5b44 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,8 @@
+Mon May 28 18:15:55 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (pango_layout_move_cursor_visually):
+ Set *trailing properly at end of line.
+
Mon May 28 11:51:45 2001 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (map_add_engine): Fix problem with
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index 5a7dddd8..8a0d5b44 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,8 @@
+Mon May 28 18:15:55 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (pango_layout_move_cursor_visually):
+ Set *trailing properly at end of line.
+
Mon May 28 11:51:45 2001 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (map_add_engine): Fix problem with
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index d9350528..6317fa74 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -1311,6 +1311,7 @@ pango_layout_move_cursor_visually (PangoLayout *layout,
{
log_pos--;
*new_index = g_utf8_prev_char (layout->text + *new_index) - layout->text;
+ (*new_trailing)++;
}
while (log_pos > 0 && !layout->log_attrs[start_offset + log_pos].is_cursor_position);
}