Commit 95e1afc6 authored by Eli Zaretskii's avatar Eli Zaretskii

Update commentary on bidi.c.

parent 7a2f5f30
......@@ -35,11 +35,16 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
details about its algorithm that finds the next visual-order
character by resolving their levels on the fly.
The two other entry points are bidi_paragraph_init and
Two other entry points are bidi_paragraph_init and
bidi_mirror_char. The first determines the base direction of a
paragraph, while the second returns the mirrored version of its
argument character.
A few auxiliary entry points are used to initialize the bidi
iterator for iterating an object (buffer or string), push and pop
the bidi iterator state, and save and restore the state of the bidi
cache.
If you want to understand the code, you will have to read it
together with the relevant portions of UAX#9. The comments include
references to UAX#9 rules, for that very reason.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment