mirror of https://github.com/M66B/FairEmail.git
DeepL: improved paragraph extending
This commit is contained in:
parent
6b60a2e52c
commit
2473059950
|
@ -1999,6 +1999,10 @@ public class FragmentCompose extends FragmentBase {
|
|||
end = tmp;
|
||||
}
|
||||
|
||||
if (start > 0 &&
|
||||
(start == edit.length() || edit.charAt(start) == '\n'))
|
||||
start--;
|
||||
|
||||
// Trim start
|
||||
while (start < edit.length() - 1 && edit.charAt(start) == '\n')
|
||||
start++;
|
||||
|
|
Loading…
Reference in New Issue