PyTextEditor
PyTextEditor — a modern, cross‑platform Tkinter text editor focused on safety and productivity. Atomic Save/Save As, BOM‑aware encoding detection with explicit encoding choice, autosave with on‑launch recovery, regex Find & Replace, undo/redo, recent files, light/dark themes, font & autosave preferences, and a CLI/packaging entrypoint.
Install / Use
/learn @SagarBiswas-MultiHAT/PyTextEditorREADME
TkEditor
<div align="right"> </div>TkEditor is a modern, production-ready Tkinter text editor with autosave recovery, encoding support, and configurable UI preferences.
<div align="center">
Features
- 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
Install
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -e .
Run
python -m tkeditor
Development
python -m pip install -e .[dev]
pre-commit install
Tests
python -m pytest
Lint and Type Check
python -m ruff check .
python -m isort --check-only .
python -m black --check .
python -m mypy tkeditor
Build (PyInstaller)
make pyinstaller
Screenshots
- Placeholder: light theme
- Placeholder: dark theme
Configuration
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.
Related Skills
node-connect
335.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
82.5kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
82.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
335.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
