Edit this page

Text Editing & Management

Easy Scanlate provides a suite of features for refining your OCR results. All text editing is managed through the Results Panel on the right side of the application.

1. The Results Panel

The Results Panel offers two viewing modes, toggleable via the “Advanced Mode” checkbox at the bottom-right of the panel:

Simple Mode (Default)

Simple Mode presents OCR results as a scrollable card-based interface. Each card contains:

Results Panel Simple Mode *(Placeholder: Replace with actual screenshot of Simple Mode)*

Interactions:

Advanced Mode

Advanced Mode displays results in a structured table with sortable columns and bulk selection capabilities.

Results Panel Advanced Mode *(Placeholder: Replace with actual screenshot of Advanced Mode)*

Columns:

Interactions:

2. Editing Text

You can edit text in multiple ways:

  1. Via Simple Mode: Click into any card’s text area and type your changes.
  2. Via Advanced Mode: Double-click a “Text” cell to open the inline editor.
  3. Via the Image: Select a text box directly on the image in the left panel. A text editor appears in the right panel where you can modify the content.

Important Note on Profiles: When you edit text for the first time while the “Original” profile is active, the application automatically creates a new “User Edit 1” profile and switches to it. This preserves your raw OCR data in the “Original” profile. All subsequent edits are saved to the active profile. If you edit again later, the application routes your edits to the existing user edit profile rather than creating a new one. Learn more about Managing Profiles.

3. Combining Rows

If OCR splits a single sentence into multiple text boxes, you can merge them into one logical entry.

  1. In Advanced Mode, select the rows you want to combine. Use Ctrl+Click for non-sequential selection or Shift+Click for a range.
  2. Right-click and select Combine Rows or use the Ctrl+G shortcut.
  3. The system validates your selection:
    • Rows must be from the same image file
    • Rows must be adjacent/contiguous in sequence
    • Cannot combine manually added rows (floating-point row numbers)
  4. If validation passes, the first selected row is updated with the merged text (joined by newlines), and the other source rows are marked as deleted.

Note: Combining rows while in “Original” profile will create or use an existing “User Edit 1” profile, preserving the original OCR data.

4. Deleting Rows

To remove unwanted OCR results (e.g., misdetections or sound effects):

  1. In Simple Mode: Click the red trash icon on any card.
  2. In Advanced Mode: Click the trash icon in the Action column.
  3. A confirmation dialog appears asking if you want to mark the entry for deletion. Check “Remember choice” to skip this warning in the future.
  4. The row is hidden from view and excluded from all exports.

Note: Deleted rows are marked with is_deleted flag and can be preserved in the project file, though they remain hidden from the UI.

5. Selection and Navigation

Easy Scanlate features a centralized selection system that keeps all views synchronized:

6. Find and Replace (Currently Disabled)

Note: The Find/Replace feature is implemented but currently disabled in the UI. The following describes the intended functionality:

The Find/Replace widget allows bulk text editing across the entire project for the active profile.

Access: (Feature disabled - was accessible via Edit > Find/Replace or Ctrl+F)

Features:

Search Behavior:

7. How Edits Are Saved to Profiles

Text edits are stored in the project’s master.json file using a translation system:

Example data structure:

{
  "row_number": 1,
  "text": "Original OCR text",
  "translations": {
    "User Edit 1": "Edited text",
    "Translation": "Translated text"
  }
}