mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-22 07:42:52 +00:00
Let (semi) colon end sentences
This commit is contained in:
parent
35ec9857e5
commit
c6ad264b66
1 changed files with 2 additions and 2 deletions
|
@ -2793,13 +2793,13 @@ public class Helper {
|
||||||
}
|
}
|
||||||
|
|
||||||
static boolean isEndChar(char c) {
|
static boolean isEndChar(char c) {
|
||||||
return (isSentenceChar(c) ||
|
return (isSentenceChar(c) || c == ',');
|
||||||
c == ',' || c == ':' || c == ';');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static boolean isSentenceChar(char c) {
|
static boolean isSentenceChar(char c) {
|
||||||
return (c == '.' /* Latin */ ||
|
return (c == '.' /* Latin */ ||
|
||||||
c == '。' /* Chinese */ ||
|
c == '。' /* Chinese */ ||
|
||||||
|
c == ':' || c == ';' ||
|
||||||
c == '?' || c == '!');
|
c == '?' || c == '!');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue