mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[PR #143] [MERGED] Editor overwrite mode fixes #185
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#185
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/143
Author: @ped7g
Created: 2/1/2023
Status: ✅ Merged
Merged: 2/5/2023
Merged by: @mirek-fidler
Base:
master← Head:editor_overwrite📝 Commits (2)
d9efed9uppsrc: enable (fix) overwrite also in non CLogic editors (txt, python, ...)cf6657cuppsrc: use count in CSyntax IndentInsert0 regular char insert📊 Changes
5 files changed (+5 additions, -5 deletions)
View changed files
📝
uppsrc/CodeEditor/CLogic.cpp(+1 -1)📝
uppsrc/CodeEditor/CodeEditor.cpp(+1 -1)📝
uppsrc/CodeEditor/PythonSyntax.cpp(+1 -1)📝
uppsrc/CodeEditor/Syntax.cpp(+1 -1)📝
uppsrc/CodeEditor/TagSyntax.cpp(+1 -1)📄 Description
Overwrite worked only in CSyntax files, failed in txt, etc..
second commit: seems to me there was ignored
countargument in CSyntax::IndentInsert0 - I'm not sure how test this and wherecount > 1can emerge, but seems to me like bug.Please review, I don't understand all possible code paths how these can be triggered, and why the
canoverwriteargument even was added in the first place (as InsertChar itself does ignore overwrite for certain characters like newline), so I tried my best guess where the canoverwrite change should be harmless, but I have no deep understanding.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.