summaryrefslogtreecommitdiff
path: root/gtk/gtktextbtree.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-03-01 16:07:45 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-03-01 16:07:45 +0000
commit8130a8a227f891d0d3aab433c7b19ccaf51e5fa7 (patch)
tree48c76c69ac87b41ab48ff08a64b970a40f90d44f /gtk/gtktextbtree.h
parentf0d22047c3126ab2c420dc084b4caaa82a0bd324 (diff)
downloadgtk+-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.h3
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 */
};