Small improvement

pull/212/head
M66B 2 years ago
parent 539a784793
commit d57258888e

@ -1344,6 +1344,7 @@ public class StyleHelper {
List<String> lines = new ArrayList<>(Arrays.asList(edit.subSequence(start, end).toString().split("\n"))); List<String> lines = new ArrayList<>(Arrays.asList(edit.subSequence(start, end).toString().split("\n")));
Collections.reverse(lines); Collections.reverse(lines);
edit.replace(start, end, TextUtils.join("\n", lines)); edit.replace(start, end, TextUtils.join("\n", lines));
etBody.setSelection(start, end);
return true; return true;
} }

Loading…
Cancel
Save