uBlock/src/lib
Raymond Hill 23332400f5
Improve annotations for search operations in CodeMirror editor
Before this commit, CodeMirror's add-on for search occurrences
was limited to find at most 1000 first occurrences, because of
performance considerations.

This commit removes this low limit by having the search
occurrences done in a dedicated worker. The limit is now
time-based, and highly unlikely to ever be hit under normal
condition.

With this change, all search occurrences are gathered,
and as a result:

- All occurrences are reported in the scrollbar instead of
just the 1,000 first

- The total count of all occurrences is now reported, instead
of capping at "1000+".

- The current occurrence rank at the cursor or selection
position is now reported -- this was not possible to report
this before.

The number of occurrences is line-based, it's not useful to
report finer-grained occurences in uBO.
2020-08-02 12:18:01 -04:00
..
codemirror Improve annotations for search operations in CodeMirror editor 2020-08-02 12:18:01 -04:00
diff Avoid returning a value when injected as content script 2020-07-20 17:28:33 -04:00
lz4 Fix Promise chain of WASM module load operations 2019-02-01 08:20:43 -05:00
publicsuffixlist Fix page count computation in publicSuffixList.enableWASM() 2019-04-25 19:40:07 -04:00
punycode.js Update punycode.js 2015-04-16 10:34:03 +02:00