View Single Post
Old 11-14-2022, 09:02 AM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,008
Karma: 6361444
Join Date: Nov 2009
Device: many
Not a bug. That is just how search in Sigil is designed.

Cursors determine search start points but a search can end up someplace else resetting the cursor. For example: If you search the current file and found what you were searching for later in the same file, the cursor position would change to where you found it.

If you tell it to search all xhtml files, it will cycle through each file starting at the top of each file (or bottom if direction is set to up) ignoring the current cursor if one exists as the starting point. That includes the top of the current file (before your cursor) if it is an xhtml file.

You can set a bookmark before any search (see the find replace menu) if you want to quickly return to where you started, by using the back button.

If you search in the current file up or down and nothing is found, the cursor remains unchanged.

Last edited by KevinH; 11-14-2022 at 12:26 PM.
KevinH is offline   Reply With Quote