Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit cursor moves one character to right after undoing Replace in "Open files" #3920

Open
mjross opened this issue Feb 9, 2021 · 1 comment

Comments

@mjross
Copy link

mjross commented Feb 9, 2021

Summary

Replacing text in all open files and then undoing that action, causes the edit cursor to move one character to the right.

Steps to Reproduce

Help > Troubleshooting > Restart in Safe-Mode.
Open two or more text files containing at least some characters that can be changed with an "Open files" replacement operation.
Verify that the edit cursor in each file is located at the beginning of the file (first column on first line).
Edit > Replace > set Where = Open files, click Replace All.
Edit > Undo.

Expected Results

I expected that the Undo operation would restore the changed text to its original values, which it does, but not change the location of the edit cursor in each file.

Actual Results

The changed text is restored to its original values, but in every file the edit cursor is moved one character to the right. Admittedly, this isn't a big problem, but rather annoying when I don't notice the unexpected change and start typing, thinking that I'm at the very beginning of the file.

Platform Information

Komodo IDE 11.1.1 build 91089 (on Windows Home 10.0.19041.746)

Attachments

Two text files for testing. Screenshots.
test file 1.txt
test file 2.txt
Clipboard01
Clipboard02
Clipboard03
Clipboard04
Clipboard05
Clipboard06

@th3coop
Copy link
Member

th3coop commented Feb 10, 2021

@thanks for reporting @mjross

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants