diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-04-24 03:37:20 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-04-24 03:37:20 +0000 |
commit | 744df757571eb00e6766b450d941ccfe9b70b68f (patch) | |
tree | 423924e5c2b4819421451e725bf8e1a05e1bdbd8 /ChangeLog.pre-1-6 | |
parent | 3f3fc34bed071b73bd43bcec98edad6b81fcdf90 (diff) | |
download | pango-744df757571eb00e6766b450d941ccfe9b70b68f.tar.gz |
New function for visual (left-right, not forward-back) cursor navigation
Sun Apr 23 23:33:10 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_move_cursor_visually): New
function for visual (left-right, not forward-back) cursor
navigation within a layout.
Thu Apr 20 22:16:39 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_line_x_to_index): As a hack,
for x-positions at the edge of a line, fudge the position to be
one before the line end (which is, for programs that don't properly
handle the trailing flag), instead of at the end of the line.
This works fine for whitespace-broken languages, but won't work
right for languages that don't use whitespace to break lines.
(GtkText* needs to keep track of whether a cursor is trailing
or not)
* pango/pango-layout.c (pango_layout_check_lines): Prohibit breaking
a line at a non-whitespace -> space transition. (So that we
never put wrap single character of whitespace at the beginning of
a line)
* pango/break.c (pango_break): Always allow a break before
the first char.
* pango/pango-layout.c (pango_layout_line_x_to_index): Remove the return
value from the function, make it return the appropriate index
depending on the base direction of the layoutt.
Diffstat (limited to 'ChangeLog.pre-1-6')
-rw-r--r-- | ChangeLog.pre-1-6 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 73a5ec3a..202d013b 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,32 @@ +Sun Apr 23 23:33:10 2000 Owen Taylor <otaylor@redhat.com> + + * pango/pango-layout.c (pango_layout_move_cursor_visually): New + function for visual (left-right, not forward-back) cursor + navigation within a layout. + +Thu Apr 20 22:16:39 2000 Owen Taylor <otaylor@redhat.com> + + * pango/pango-layout.c (pango_layout_line_x_to_index): As a hack, + for x-positions at the edge of a line, fudge the position to be + one before the line end (which is, for programs that don't properly + handle the trailing flag), instead of at the end of the line. + This works fine for whitespace-broken languages, but won't work + right for languages that don't use whitespace to break lines. + (GtkText* needs to keep track of whether a cursor is trailing + or not) + + * pango/pango-layout.c (pango_layout_check_lines): Prohibit breaking + a line at a non-whitespace -> space transition. (So that we + never put wrap single character of whitespace at the beginning of + a line) + + * pango/break.c (pango_break): Always allow a break before + the first char. + + * pango/pango-layout.c (pango_layout_line_x_to_index): Remove the return + value from the function, make it return the appropriate index + depending on the base direction of the layoutt. + Fri Apr 7 03:08:09 2000 Owen Taylor <otaylor@redhat.com> * configure.in (UNICODE_LIBS): Add back in flockfile |