Simple ScintillaEditBase edit
A minimal QMainWindow with a ScintillaEditBase central widget,
demonstrating:
- a toolbar button that shows/hides the line-number margin
- block (rectangular) selection — hold Alt and drag, or use Alt+Shift+arrow keys
- block (multi-line) editing — typing while a rectangular/multiple selection is active edits every selected line at once
Running
From the repo root, after uv sync:
uv run python examples/simple_scintilla_base_edit/main.py
Source
examples/simple_scintilla_base_edit/
Screenshots
