diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-05-28 22:20:06 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-05-28 22:20:06 +0000 |
commit | f9ae08a493f31e870bf660edd422929a8843cef8 (patch) | |
tree | bb0d230ffa3f799d9b492d01ffd0eaa3510d3772 | |
parent | 15fb6b491224924bb7aa2ff0c97152164dd023ae (diff) | |
download | pango-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-0 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-2 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 5 | ||||
-rw-r--r-- | pango/pango-layout.c | 1 |
8 files changed, 36 insertions, 0 deletions
@@ -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); } |