TkEditor is a modern, production-ready Tkinter text editor with autosave recovery, encoding support, and configurable UI preferences.
- New, Open, Save, Save As with atomic writes
- Unsaved-change detection with clear prompts
- Undo/Redo, Cut/Copy/Paste, Select All
- Find & Replace with regex support and highlighting
- Live line/column status
- Cross-platform shortcuts (Ctrl/Cmd)
- UTF-8 default with BOM detection; encoding selection on Save As
- Encoding save dialog now presents a dropdown of common encodings and validates the choice
- All windows/dialogs start centered on the current monitor
- Autosave with recovery on next launch
- Light/Dark theme and font customization, persisted settings
- Recent files list
- Rotating file logging for debug mode
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -e .python -m tkeditorpython -m pip install -e .[dev]
pre-commit installpython -m pytestpython -m ruff check .
python -m isort --check-only .
python -m black --check .
python -m mypy tkeditormake pyinstaller- Placeholder: light theme
- Placeholder: dark theme
Settings are stored in a JSON file under the OS-specific user config directory.
You can override the location by setting the TKEDITOR_CONFIG_DIR environment variable.
