diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-07-09 17:36:58 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-07-09 17:36:58 +0300 |
commit | 95e1afc692e2f999fa23daa3ecaa439db5830cc5 (patch) | |
tree | 062b3faeb8b4b5fadb432cb3c917368f5b7d9caa | |
parent | 7a2f5f30951a84d9d1a89e3a4928b47cf2684124 (diff) | |
download | emacs-95e1afc692e2f999fa23daa3ecaa439db5830cc5.tar.gz |
Update commentary on bidi.c.
-rw-r--r-- | src/bidi.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bidi.c b/src/bidi.c index 962afef435f..5b26ecf0854 100644 --- a/src/bidi.c +++ b/src/bidi.c @@ -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. |