Skip to content

P1-08: Printing via macOS print system #48

@hybridmachine

Description

@hybridmachine

Description

Print document content via macOS native print system.

Implementation

  • File menu: Print (Cmd+P)
  • Create NSPrintOperation from Scintilla content
  • Option 1: Extract text and render via NSTextView for printing
  • Option 2: Use Scintilla's SCI_FORMATRANGE if available on macOS
  • Include line numbers option
  • Header with filename, date, page numbers
  • Print preview via standard macOS print dialog

Key Files

  • macos/platform/main_phase7.mm
  • macos/platform/scintilla_bridge.h

Sprint

Sprint 8 - Content & Views

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions