diff options
| author | Kenichi Handa | 2008-09-09 11:09:31 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-09-09 11:09:31 +0000 |
| commit | 6450412dcf180276752b5f03058d3d0c7fa4ddc7 (patch) | |
| tree | 90650fd59a94a7d41bb60df8400e4981c1c382c5 /src | |
| parent | 3ffdafce60e9aa286241c9a564ea6a8870714883 (diff) | |
| download | emacs-6450412dcf180276752b5f03058d3d0c7fa4ddc7.tar.gz emacs-6450412dcf180276752b5f03058d3d0c7fa4ddc7.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/dispextern.h | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a4fbe0de2a1..6edb7419eb8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -5,6 +5,10 @@ | |||
| 5 | 5 | ||
| 6 | * composite.c (FORWARD_CHAR): Fix calculation | 6 | * composite.c (FORWARD_CHAR): Fix calculation |
| 7 | of (POSITION).pos_byte. | 7 | of (POSITION).pos_byte. |
| 8 | (composition_compute_stop_pos): Limit the search of composition to | ||
| 9 | at most 500 characters ahead. If we reach the limit or find a | ||
| 10 | newline, set cmp_it->ch to -2 and return 0. | ||
| 11 | (composition_reseat_it): Handle the case that cmp_it->ch is -2. | ||
| 8 | 12 | ||
| 9 | 2008-09-08 Kenichi Handa <handa@m17n.org> | 13 | 2008-09-08 Kenichi Handa <handa@m17n.org> |
| 10 | 14 | ||
diff --git a/src/dispextern.h b/src/dispextern.h index 02b9df08eb5..9b6b6a9de3b 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1867,7 +1867,9 @@ struct composition_it | |||
| 1867 | int id; | 1867 | int id; |
| 1868 | /* If non-negative, character that triggers the automatic | 1868 | /* If non-negative, character that triggers the automatic |
| 1869 | composition at `stop_pos', and this is an automatic compositoin. | 1869 | composition at `stop_pos', and this is an automatic compositoin. |
| 1870 | If negative, this is a static composition.. */ | 1870 | If negative, this is a static composition. This is set to -2 |
| 1871 | temporarily if searching of composition reach a limit or a | ||
| 1872 | newline. */ | ||
| 1871 | int ch; | 1873 | int ch; |
| 1872 | /* If this an automatic composition, how many charaters to look back | 1874 | /* If this an automatic composition, how many charaters to look back |
| 1873 | from the position where a character triggering the composition | 1875 | from the position where a character triggering the composition |