rangy
rangy copied to clipboard
findText: searching for text that does not exist within long text freezes the browser
var searchTerm = search.inputSearch.value
while (search.range.findText(searchTerm, optionsFindText)) {
window.Spruce.store('searchStore').matches++
search.searchResultApplier.applyToRange(search.range)
search.range.collapse(false)
}
Hey @mccarlosen have you found a fix for this?
Hi @abrehamgezahegn sorry, I haven't found any solution...
I have found other things: When there is a long text, rangy consumes a lot of memory.
Hey Carlos,
Can you please let me know what other solution / library you started using? @mccarlosen
Thank you for getting back to me. Much appreciated.
@timdown anything we can do to fix his issue?