Quote:
Originally Posted by meme
Replace All does not use the direction setting. It replaces everything in the file 'downwards' one after the other.
|
It replaces everything in the file, both above and below the current position. Which could be both desirable and undesirable. There are situations where one would like to replace all occurrances of something below the current position, but not above.
E.g. when I create a book from an OCRed html file from Abbyy or Omnipage. I start from the top to manually format the book and works my way towards the end. When I find an error and want to replace all occurrences of it, I don't want the search to mess with the parts that I allready have formated and are happy with. I would like to replace all occurrences below my current position, so that I know that the only parts of the file that's affected are the parts I have not yet proofread (I often do proofreading and formating at the same time) and that the operation has not made it neccessary to re-proof the entire file in case I messed up somewhere.
Edit: I use Notepad++ a lot for manually editing of HTML files, and notepad++ honours the direction for replace all. It has three directions: "Up", "Down" and "Continuous" where the latter searches untill there are no occurrences left. WOuld it be possible to make something similar in Sigil?