| image | The source image shown in the preview pane. |
| isRescanning | True while the host is re-running OCR; drives the screen’s re-scan indicator. |
| languageSummary | The language summary shown in the toolbar (e.g. “eng, deu”). |
| result | The finished result the editor renders. Replace it (with a fresh image) after a re-scan to swap the editor’s text + preview. |
| scanProgress | Re-scan progress, 0…100. Setting isRescanning shows the determinate indicator. |
| seedText | Optional pre-edited attributed text to seed the editor with, INSTEAD of rebuilding the coloured text from result. Adopters that let the user edit, dismiss, and re-open pass the previously-edited attributed text (the one the editor reported on dismiss) here so BOTH the edit and the confidence colours survive — the editor must not re-derive from result (whose per-word ranges no longer match an edited string). When nil, the editor builds coloured text from result as usual. result is still used for tap-to-highlight geometry in both cases. |