Mercurial > pidgin
comparison plugins/spellchk.c @ 11534:379490cbe014
[gaim-migrate @ 13783]
Treat \ as an inside-word character.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Mon, 12 Sep 2005 20:12:32 +0000 |
| parents | 744b70723801 |
| children | 4b7fb30b8926 |
comparison
equal
deleted
inserted
replaced
| 11533:c9b815aeddc1 | 11534:379490cbe014 |
|---|---|
| 292 /* Hack because otherwise typing things like U.S. gets difficult | 292 /* Hack because otherwise typing things like U.S. gets difficult |
| 293 * if you have 'u' -> 'you' set as a correction... | 293 * if you have 'u' -> 'you' set as a correction... |
| 294 * | 294 * |
| 295 * Part 1 of 2: This marks . as being an inside-word character. */ | 295 * Part 1 of 2: This marks . as being an inside-word character. */ |
| 296 if (c == '.') | 296 if (c == '.') |
| 297 return TRUE; | |
| 298 | |
| 299 /* Avoid problems with \r, for example (SF #1289031). */ | |
| 300 if (c == '\\') | |
| 297 return TRUE; | 301 return TRUE; |
| 298 | 302 |
| 299 if (gtk_text_iter_inside_word (iter) == TRUE) | 303 if (gtk_text_iter_inside_word (iter) == TRUE) |
| 300 return TRUE; | 304 return TRUE; |
| 301 | 305 |
