mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 00:36:16 -04:00
Reviewed Highlighter and Options waiters
This commit is contained in:
parent
934efcc5a0
commit
fa21768931
3 changed files with 16 additions and 27 deletions
|
@ -72,7 +72,6 @@ class HighlighterWaiter {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Displays highlight offsets sent back from the Chef.
|
||||
*
|
||||
|
@ -89,7 +88,6 @@ class HighlighterWaiter {
|
|||
this.highlight(io, pos);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sends selection updates to the relevant EditorView.
|
||||
*
|
||||
|
@ -129,9 +127,8 @@ class HighlighterWaiter {
|
|||
} catch (err) {
|
||||
// Ignore Range Errors
|
||||
if (!err.toString().startsWith("RangeError")) {
|
||||
console.error(err);
|
||||
log.error(err);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue