Notepad Multi-Select
Adds Alt+Shift multi-caret, highlighting, auto-indent, auto-pair, and Ctrl+D duplication.
Author: Mohamed Magdy
A professional-grade Windhawk modification that elevates the classic Windows Notepad into a modern, IDE-style text editor. This engine introduces true multi-caret editing, system-native text highlighting, context-aware auto-indentation, automated character pairing, and line duplication, all while strictly preserving the native performance and undo history of the host application.
️ Compatibility: This modification is designed exclusively for the classic Win32 Notepad (notepad.exe without tabs). It does not hook into the modern Windows 11 UWP Notepad application.
Core Features
- Multi-Caret Editing: Spawn multiple concurrent cursors to edit, delete, or navigate across adjacent lines simultaneously.
- Line & Selection Duplication: Press
Ctrl + D in single-caret mode to instantly duplicate the current line or highlighted selection inline.
- System-Native Highlighting: Renders multi-line text selections using standard Windows theme parameters (
COLOR_HIGHLIGHT), ensuring visual consistency.
- Automated Character Pairing & Wrap: Automatically completes structural pairs (
(), [], {}, '', ""). If text is selected, it beautifully wraps the text. Features IDE-standard "step-over" logic.
- Context-Aware Auto-Indentation: Intercepts line breaks (
Enter) to dynamically trace and replicate the exact leading whitespace (spaces or tabs) of the preceding logical line.
- Smart Word Navigation: Enhances
Ctrl + Left/Right and Ctrl + Backspace/Delete logic to evaluate text chunks globally, ignoring arbitrary punctuation breaks for cleaner deletion of contiguous strings.
- Intelligent Tab Management: Standardizes the
Tab key to inject a rigid \t character. Introduces Shift + Tab as a non-destructive un-indent command.
- Native Conflict Insulation: Engineered with strict execution firewalls. When operating in standard single-caret mode, the engine explicitly defers to the native Windows
DefSubclassProc, ensuring zero interference with standard undo stacks.
️ Keybindings & Navigation
| Command |
Action |
Alt + Shift + Up/Down |
Spawn an additional caret on the adjacent line above or below. |
Shift + Left/Right |
Highlight text simultaneously across all active cursors. |
Escape or Mouse Click |
Terminate multi-select mode and revert to standard single-caret editing. |
Ctrl + D |
Duplicate the currently selected text, or the entire current line. |
Enter |
Execute a line break with dynamic replication of previous indentation. |
Shift + Tab |
Execute a non-destructive reverse jump (un-indent) up to 4 spaces. |
Ctrl + Backspace / Delete |
Execute contiguous word block deletion, overriding standard punctuation stops. |