diff options
Diffstat (limited to 'src')
| -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/>. */ | |||
| 35 | details about its algorithm that finds the next visual-order | 35 | details about its algorithm that finds the next visual-order |
| 36 | character by resolving their levels on the fly. | 36 | character by resolving their levels on the fly. |
| 37 | 37 | ||
| 38 | The two other entry points are bidi_paragraph_init and | 38 | Two other entry points are bidi_paragraph_init and |
| 39 | bidi_mirror_char. The first determines the base direction of a | 39 | bidi_mirror_char. The first determines the base direction of a |
| 40 | paragraph, while the second returns the mirrored version of its | 40 | paragraph, while the second returns the mirrored version of its |
| 41 | argument character. | 41 | argument character. |
| 42 | 42 | ||
| 43 | A few auxiliary entry points are used to initialize the bidi | ||
| 44 | iterator for iterating an object (buffer or string), push and pop | ||
| 45 | the bidi iterator state, and save and restore the state of the bidi | ||
| 46 | cache. | ||
| 47 | |||
| 43 | If you want to understand the code, you will have to read it | 48 | If you want to understand the code, you will have to read it |
| 44 | together with the relevant portions of UAX#9. The comments include | 49 | together with the relevant portions of UAX#9. The comments include |
| 45 | references to UAX#9 rules, for that very reason. | 50 | references to UAX#9 rules, for that very reason. |