Update MarkdownUtil.java

This commit is contained in:
Jimmy-7664 2021-05-10 21:00:33 +08:00 committed by Niedermann IT-Dienstleistungen
parent faf2bf338e
commit f6672c8778

View file

@ -279,7 +279,7 @@ public class MarkdownUtil {
final String editableString = editable.toString();
final String nonBlankPattern="\\S+";
final Pattern pattern = Pattern.compile(nonBlankPattern);
Matcher blankMatcher = pattern.matcher(editableString);
final Matcher blankMatcher = pattern.matcher(editableString);
if (!blankMatcher.find()){
return selectionEnd;
}