When adding a note to a measure that already has an accidental in that measure, the editor should assume that the accidental applies to that note, and not the key-signature.
If an accidental has a certain enharmonic spelling, the editor should assume it applies unless explicitly changed.