Re: Problems with searching using regular expressions

Neil Hodgson <[email protected]> Mon, 4 Mar 2024 23:05:20 -0800 (PST)
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
Yury:

3. Affects any version of Scite, problem with "Bookmark All" using one of 
the expressions above. Scite does not bookmark all the required lines. See 
attached screenshots 2 and 3. (My intention was to bookmark all empty lines 
using ^$ in the attached file.) The behaviour is strange. For example, when 
we scroll to the bottom of an attached file and call "bookmark all" with 
^$, the top lines will not be marked. The number of lines with bookmarks 
depends on the scroll position when calling “Bookmark All”. (It is possible 
to bookmark all the lines. We need to scroll through the file and use the 
command again and again. But this requires a lot of attention.)


This is caused by the lack of progress with an empty result at the end of a 
batch of lines. It loops around infinitely retrying the end of the batch 
until a 250ms timer goes off and it gives up. Might be fixable with some 
better handling of the end condition but it's messy as an empty result is 
valid for this search and you don't want a match missing at the end of the 
batch.

Neil

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/3325f5da-dd0b-488f-8876-40fe96578878n%40googlegroups.com.