|
|
@ -169,7 +169,7 @@ class CodeView : AppCompatMultiAutoCompleteTextView { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private fun highlight(editable: Editable): Editable { |
|
|
|
private fun highlight(editable: Editable): Editable { |
|
|
|
if (editable.isEmpty()) return editable |
|
|
|
if (editable.isEmpty() || editable.length > 1024) return editable |
|
|
|
try { |
|
|
|
try { |
|
|
|
clearSpans(editable) |
|
|
|
clearSpans(editable) |
|
|
|
highlightErrorLines(editable) |
|
|
|
highlightErrorLines(editable) |
|
|
|