Highlighting now works with the web worker

This commit is contained in:
n1474335 committed 2017-09-19 23:34:03 +01:00
1 parent 8c960f0661
commit 13f07abb8a
10 files changed
+200 -95

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ const Hexdump = {
const w = (width - 13) / 4;
// w should be the specified width of the hexdump and therefore a round number
if (Math.floor(w) !== w || input.indexOf("\r") !== -1 || output.indexOf(13) !== -1) {
if (self) self.setOption("attemptHighlight", false);
//TODO if (self) self.setOption("attemptHighlight", false);
}
return output;
},