mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 17:43:18 +02:00
DeepL: improved paragraph extending
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user