aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorEli Zaretskii2010-01-01 06:27:51 -0500
committerEli Zaretskii2010-01-01 06:27:51 -0500
commitc143c213258b4dc980dab0629e571ff0c227fc34 (patch)
tree01977cfa7bda8a1b3e9cc260da29c7eda511ab84 /src/buffer.h
parentb44d9321f299626113e7b2e15371b20f7ad38892 (diff)
downloademacs-c143c213258b4dc980dab0629e571ff0c227fc34.tar.gz
emacs-c143c213258b4dc980dab0629e571ff0c227fc34.zip
Retrospective commit from 2009-10-08.
Finish up working on paragraph's base direction. Start working on display of right-to-left glyph rows. Rewrite set_cursor_from_row to support bidi. xdisp.c (string_buffer_position_lim): New function. (string_buffer_position): Most of code moved to string_buffer_position_lim. Last argument and return value are now EMACS_INT; all callers changed. (set_cursor_from_row): Rewritten to support bidirectional text and reversed glyph rows. dispextern.h <string_buffer_position>: Update prototype. bidi.c (bidi_paragraph_init): Fix initialization of POS. dispextern.h (struct glyph_row): New member reversed_p. buffer.c (syms_of_buffer): Remove DEFVAR_LISP_NOPRO for default-direction-reversed, default-bidi-display-reordering, and default-paragraph-direction.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 205bf865879..b3f131a46c1 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -664,9 +664,9 @@ struct buffer
664 /* Non-nil means set beginning of lines at the right edge of 664 /* Non-nil means set beginning of lines at the right edge of
665 windows. */ 665 windows. */
666 Lisp_Object direction_reversed; 666 Lisp_Object direction_reversed;
667 /* If non-nil, specifies which direction of text to force in each 667 /* If non-nil, specifies which direction of text to force in all the
668 paragraph. Nil means determine paragraph direction dynamically 668 paragraphs of the buffer. Nil means determine paragraph
669 for each paragraph. */ 669 direction dynamically for each paragraph. */
670 Lisp_Object paragraph_direction; 670 Lisp_Object paragraph_direction;
671 /* Non-nil means do selective display; 671 /* Non-nil means do selective display;
672 see doc string in syms_of_buffer (buffer.c) for details. */ 672 see doc string in syms_of_buffer (buffer.c) for details. */