Highlighting now works with the web worker
This commit is contained in:
1 parent
8c960f0661
commit
13f07abb8a
10 files changed
+200
-95
No files matched your search
@@ -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;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user