Clean Simple Windows Text Editor
IDE-style typing-tech. without any dependencies. Written in C. includes high performance text engine.
- Optimised for practical editing of text files.
- quick open/save/close cycles
- One source file (
main.c) - Not an IDE/markdown/heavy-code-editor.
- Run
text.exe(Optional: pass a file path as an argument to open it directly.)
Is Windows-only (Due to win32 API).
If nothing is selected:
Ctrl+Ccopies the current line.Ctrl+Xcuts the current line.Ctrl+Vpasting the new here.
Ctrl+Left/Ctrl+Right: move by words.Ctrl+Backspace: delete previous word chunk.Ctrl+Delete: delete next word chunk.
Alt+Shift+Arrow Keysexpands a rectangular selection.- Typing/paste/delete applies across the selected column block.
Alt+Up/Alt+Downswaps the current line with the one above/below.
Ctrl+Fopens find (or uses selected text as the query).Returnfinds next match.
Ctrl++increase font sizeCtrl+-decrease font sizeCtrl+0reset font sizeCtrl+MouseWheelalso adjusts font size
- Line indexing is discovered lazily and doesn't hold up file loading, file measurement is completed afterwards in timed slices for 'instant loading' of large files.
- Text engine implements basic rope string mechanics, allowing near unlimited editing anywhere without UI stalls even in very large files. (internally a unique string backing store is used to implement reference counting and careful pointer offfsets and reindexing avoid work)
Ctrl+O: Open fileCtrl+S: Save fileCtrl+F: FindCtrl+Z: UndoCtrl+YorCtrl+Shift+Z: RedoCtrl+A: Select allCtrl+C: Copy selection (or current line if no selection)Ctrl+X: Cut selection (or current line if no selection)Ctrl+V: PasteAlt+Up/Alt+Down: Move current lineShift+Esc: Immediate exit (no save)Alt+Shift+Arrows: Box selectionEsc: Close find or exit editorCtrl+Shift+Dask codex to run this text file (allowing you to treat text.exe kind of like an IDE for tasks in english).
- Single-document window.
- Windows-only implementation.
- syntax highlighting stripped out and plugins disabled.
- written over ~2 days in ~100 commitsl; temper expectations.