mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
many small issues found by intellij analysis
This commit is contained in:
@@ -69,8 +69,8 @@ export default class FindInCode {
|
||||
let curChar = 0;
|
||||
let curMatch = null;
|
||||
findResult = [];
|
||||
// All those markText take several seconds on eg this ~500-line
|
||||
// script, batch them inside an operation so they become
|
||||
// All those markText take several seconds on e.g. this ~500-line
|
||||
// script, batch them inside an operation, so they become
|
||||
// unnoticeable. Alternatively, an overlay could be used, see
|
||||
// https://codemirror.net/addon/search/match-highlighter.js ?
|
||||
codeEditor.operation(() => {
|
||||
|
||||
Reference in New Issue
Block a user