Skip to content

Fix inherited data-handling defects and add line clipboard shortcuts - #13

Merged
itlezy merged 10 commits into
masterfrom
fix/focused-fork-corrections
Nov 9, 2026
Merged

itlezy merged 10 commits into
masterfrom
fix/focused-fork-corrections

Conversation

@itlezy

@itlezy itlezy commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Fix four independently reviewed inherited defects: nonempty untitled save prompting, null MRU slots, compiler source charset, and elevated-launch show-state flags. Each source correction is isolated with donor attribution. Also add the requested selection-aware line copy/cut/paste behavior through existing Scintilla actions and clipboard markers.

Native tests now use Python 3.13, pytest and pywinauto (locked test-only dependencies), replacing the PowerShell UI harness. The full 94-test suite passes locally on Release/Debug x86/x64; the pre-fix binary reproduces nine silent data-loss paths. Actual standard-user UAC interaction remains a manual check.

No tabs, new editor subsystem, runtime dependency, Scintilla upgrade, or theme framework. Line-ending normalization was isolated in the prior release. This PR retains granular commits. Refs #9, #10, #11, #12.

itlezy added 10 commits November 9, 2026 20:38
Adapted from johnwait/notepad2-mod-jrb 54c798a. Fixes #9. Reproduced nine data-loss paths on the pre-fix binary; fixed x64 passes all save-prompt scenarios.
Adapted from antiufo/notepad2-mod 5f47e55. Fixes #10. Production MRU functions tested with empty, partial, duplicate, relative, environment-expanded and full lists on x86/x64.
Narrow adaptation of mercury233/notepad2-mod eed2b24. Fixes #11. Set only the source charset for all four configurations; leave execution charset, resources, source bytes and Scintilla unchanged.
Adapted from johnwait/notepad2-mod-jrb 937b7ff. Refs #12. Preserve explicit hidden/maximized/minimized states; otherwise use SW_SHOWNORMAL. Source-linked show-state contract checks pass; actual standard-user UAC check remains manual.
@itlezy
itlezy merged commit 09ee248 into master Nov 9, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant