Find again
I was brushing up on some of the keystrokes and came to Find/Find again. In the web version of Drummer, the Find again function seemed to leap over strings I expected it to find, so I went back to look at it more systematically.
I used by blog outline for this test since it repeats the word September every day. I placed the cursor at the start of the outline, then called for Drummer to Find September, then Find it again and again and again.
When I used the Find/Find again straight from the Outliner drop-down menu, it appeared to find every case of the string September, day by day, and even one time in August where I had used the word. So, all good there.
On my Mac, I repeated the process with keystrokes. Cursor at the top, keystroke Find and then Find again, Command-F and Command-G. The software not only skipped some days, it skipped the same days every time. It found September 29, September 17, and September 5, and then it found August 25, the day I mentioned Auden's great poem about the first day of World War II, September 1, 1939. Repeated two more times, it found exactly the same occurrences and overlooked the others.
So the keystroke approach seems to behave not only differently than the drop-down menu approach, but differently in exactly the same way each time.
that's very weird. i haven't looked at the code yet, but i can't imagine how that could be, but of course i will look into it. thanks.
@akaKenSmith -- a voicemail about this bug report.
http://scripting.com/2021/09/29/kensmithvoicemail.m4a
@akaKenSmith -- I am able to reproduce this. I'll pick it up first thing in the morning. thanks.
@akaKenSmith -- this should now be fixed. see the change note.
I am still seeing the keystroke Find again skipping strings it should find--I'd describe it just the same as yesterday except now I can see that it's skipping over two appearances of the string and landing on a third appearance.
Find seems to be working exactly as expected.
That skip-count part's easy to spot because I'm asking it to Find again the name of the month in the September part of the blog outline. Yesterday I think it was skipping over four or five...
@akaKenSmith -- that's a good experiment. I just did it on my machine and it worked perfectly. I cmd-G'd through the whole month of september, one day at a time.
It's working here.
Let's rule out a problem reloading the page.
I just changed the version number to 2.0.8.
Is that what you see?
I hit the Drummer logo and reloaded, now I see 2.0.8. Working on the web version.
The keystroke Find again is still skipping two instances and finding the third here. Both Chrome and Safari.
@akaKenSmith -- Before going further I want to be absolutely sure this is not a loading issue.
Here's a checklist to be sure you're doing this to reload.
-
In Chrome, open Developer tools.
-
Hold the mouse button down over the reload icon in the browser until a popup menu appears.
-
Choose Hard Reload from the menu.
-
Repeat the Cmd-G experiment.
If that still doesn't work, there are more things to try.