diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-03-01 16:07:45 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-03-01 16:07:45 +0000 |
commit | 8130a8a227f891d0d3aab433c7b19ccaf51e5fa7 (patch) | |
tree | 48c76c69ac87b41ab48ff08a64b970a40f90d44f /gtk/gtktextbtree.h | |
parent | f0d22047c3126ab2c420dc084b4caaa82a0bd324 (diff) | |
download | gtk+-8130a8a227f891d0d3aab433c7b19ccaf51e5fa7.tar.gz |
Patch from Dov Grobgeld to implement auto-bidi-direction for GtkTextView
Mon Mar 1 10:41:27 2004 Owen Taylor <otaylor@redhat.com>
Patch from Dov Grobgeld to implement auto-bidi-direction
for GtkTextView (#118543)
* gtk/gtktextbtree.[ch]: Resolve bidi base direction
for each line by propagating backwards/forwards as
necessary.
* gtk/gtktextlayout.[ch] gtk/gtktextview.c: Set the
bidi base direction for the ;ine with the cursor from
the keyboard direction. Add gtk_text_layout_set_keyboard_direction().
Mon Mar 1 10:31:11 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.[ch]: Implement auto-bidi-direction,
based on a patch from Dov Grobgeld. (#118540)
Diffstat (limited to 'gtk/gtktextbtree.h')
-rw-r--r-- | gtk/gtktextbtree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktextbtree.h b/gtk/gtktextbtree.h index 28fe390f0c..59ef11408a 100644 --- a/gtk/gtktextbtree.h +++ b/gtk/gtktextbtree.h @@ -216,6 +216,9 @@ struct _GtkTextLine { GtkTextLineSegment *segments; /* First in ordered list of segments * that make up the line. */ GtkTextLineData *views; /* data stored here by views */ + guchar dir_strong; /* BiDi algo dir of line */ + guchar dir_propagated_back; /* BiDi algo dir of next line */ + guchar dir_propagated_forward; /* BiDi algo dir of prev line */ }; |