Verified Commit 581225cd authored by Camil Staps's avatar Camil Staps 🙂

Add error catch-all in _append

parent f550e9ca
......@@ -3,6 +3,10 @@
font-style: italic;
}
.error {
outline: 1px solid red;
}
.funcname {
color: #5998c2;
font-weight: bold;
......
......@@ -115,7 +115,8 @@ function highlightClean(func, callback, start) {
_append: [
[/([^\n\S]+)/, ['whitespace']],
[/(\n(?=\S))/, ['whitespace'], 'reset:start'],
[/(\n)/, ['whitespace']]
[/(\n)/, ['whitespace']],
[/(.+)/, ['error']]
],
start: [
[/(generic)(\s)/,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment