Fixed indent span cursor position

This commit is contained in:
M66B
2021-07-08 22:20:15 +02:00
parent 42fe14909a
commit e94a8e1130
2 changed files with 2 additions and 2 deletions

View File

@@ -559,7 +559,7 @@ public class StyleHelper {
edit.removeSpan(indents[0]);
} else {
IndentSpan is = new IndentSpan(intentSize);
edit.setSpan(is, prev, next, Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
edit.setSpan(is, prev, next, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
}
next++;