]> git.eshelyaron.com Git - emacs.git/commit
Improve Bidi with long lines.
authorGregory Heytings <gregory@heytings.org>
Thu, 4 Aug 2022 09:01:55 +0000 (09:01 +0000)
committerGregory Heytings <gregory@heytings.org>
Thu, 4 Aug 2022 09:07:28 +0000 (11:07 +0200)
commit82b602dc2f52775a4082d24d64380867da051350
treeb18e661a9a0011c25552aa4ff748de731a1790d7
parentc6b5726130e9c3c297747a47c267dad5e8da4f52
Improve Bidi with long lines.

* src/composite.c (composition_compute_stop_pos): Use an 'endpos' that
is not too far away.
(find_automatic_composition): Use a 'head' that is not too far away.
Also make sure that this code path is not taken when long line
optimizations are disabled.

* src/dispextern.h (struct composition_it): Add a field that points
to the parent iterator.

* src/xdisp.c (init_iterator): Set it.
src/composite.c
src/dispextern.h
src/xdisp.c