Skip to content

Commit

Permalink
ConsoleEngineImpl: fixed method isHighlighted()
Browse files Browse the repository at this point in the history
  • Loading branch information
mattirn committed May 18, 2020
1 parent 21cfe92 commit ab29ae2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ private AttributedString highlightMapValue(Map<String, Object> options, String k
}

private boolean isHighlighted(AttributedString value) {
for (int i = 0; i < value.columnLength(); i++) {
for (int i = 0; i < value.length(); i++) {
if (value.styleAt(i).getStyle() != AttributedStyle.DEFAULT.getStyle()) {
return true;
}
Expand Down

0 comments on commit ab29ae2

Please sign in to comment.