Only open documents that are already open (during save)

The “find in folder” will create documents, set their content, and potentially save them.

If a document is not open, it should save it without going through the content examination for file type and similar, which is part of opening a non-open document.
BOM scanning now store size in optional out parameter

We generally wish to skip the BOM, so knowing the size is useful.
Replace after a folder search now use the decoded content

This wasn’t a problem before, as we didn’t decode the content prior to doing a folder search.
Use byte range for replacement API
Avoid multiple carets after a “replace all”

If using folder search and replacements were done in an open document, then a caret would previously appear after each replacement.