Hello, @coises and All,
Many thanks, @coises, for your new release. Sorry for the late reply — every Friday, since the beginning of fall, I’ve been going on hikes with a group of seniors !
You said :
Correct failure to find a zero-length match at the end of a file, selection or span of marked text when the previous match included last character of the file, selection or span of marked text.
I did verify, for example, that the regexes ^(?-s)((?!test).)*\R|\z, (?-s)^((?!test).)*$\R? and (?-s)^((?!test).)*(\R|\z) correctly detect the last empty line 10. Nice !
You said :
Condense Tools | Synchronize sub-menu.
To this purpose, here is a little test, using my example text, below, pasted in a new tab :
bla
blah
this is the test to do
bla
blah
test
bla
blah
Preamble :
Uncheck, if necessary, the Bookmark lines when marking text (Shift: Configure) option in the Tools menu
Uncheck, if necessary, the Default commands search within selections option in the Settings dialog
Uncheck, if necessary, the Default commands search within marked text option in the Settings dialog
Uncheck, if necessary, the Always unmark all text before Mark command. (Otherwise add to existing marked text). option in the Settings dialog
Now :
1 Mark every test word
2 Mark every blah word
3 Then, manually, bookmark the lines 4 and 7 containing the word test
4 Choose the Synchronize marks and bookmarks option
5 Finally, hit the Shift key and click on the Mark all text in bookmarked lines (Shift:clear first)
=> All the existing marked test is cleared first, then all text, in the two bookmarked lines, is marked, as shown below :
[image: 1792245552765-59f2b21f-6c1e-4681-a740-34a1bee6c7f8-image.jpeg]
6 Now, use the Remove marks from active document document to clear all the marked text and click on the two blue bookmarks to clear them, as well
7 Redo the steps from 1 to 4
8 Finally, simply click on the Mark all text in bookmarked lines (Shift:clear first)
=> All the existing marked text is preserved, then all text, in the two bookmarked lines, is marked, as shown below :
[image: 1792245583295-64d10cec-acda-4f8b-870f-eba6af5b26d1-image.jpeg]
You said :
Implement Tools | Expand visible configure tool window.
Bravo for your new configurable dialog via the Expand visible 1:1 (Shift:configure) option, in the Tools menu. Every click, possibly repeated, on buttons Expand before, Expand after and Expand act as expected !
[image: 1792245636740-56bcd802-4314-4681-93c2-dd8a24afcc25-image.jpeg]
The button Reset clears all these context lines and I suppose that the save button ( not tested ) can remember special settings like : show me, by default 3 lines before and two lines after !
You said :
Hidden lines now show unhide margin markers. Hidden lines stay hidden after leaving and returning to a tab (except for the first and last line,…
As an example, I chose to hide all lines containing the the property string, with this exact case, in the ICU.txt file : I had the bottom message Showing 13 matches and, indeed, only 13 lines were visible. However :
I did not see any unhide margin markers ???
While switching to another tab then switching back to the ICU.txt did show me all the property strings but all the lines were visible and not the 13 lines containing the the property string only ???
Best Regards,
guy038
Oh… I have not read your very last post yet. You said :
Show only lines with shown text, and the Reset button in the Expand visible dialog, do not restore hidden line markers correctly.
Personally, I did not notice this bug, even when clicking on the Reset button during my test with the ICU.txt file, described above ?