Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Unexpected behavior of auto-complete with multiple cursors #246

Closed
pidgeon777 opened this issue Dec 17, 2018 · 3 comments
Closed

Unexpected behavior of auto-complete with multiple cursors #246

pidgeon777 opened this issue Dec 17, 2018 · 3 comments
Labels
Milestone

Comments

@pidgeon777
Copy link

pidgeon777 commented Dec 17, 2018

When using a single cursor, the auto-complete function is working as expected. The problem arises when multiple cursors are being used (for example in column mode):

pniiotoxdd

E.g. it seems that when typing a row of characters like this:

e
e
e
e

the auto-complete function scans for words made by at least four "e" (four is equal to the number of active cursors).

Moreover, in case of a big number of multiple cursors, the auto-complete form is subject to a noticeable flickering, as is it was called in a loop for each of the cursors:

wl6r6pzvbp

In my opinion the correct behavior of the auto-completion would be to propose suggestions as if only one cursor was active, even in multi-selection mode. By doing this, flickering would also be avoided in case of a big number of multiple selections.

This is unfortunately a very annoying behavior because auto-completion is almost unusable when recurring to multi-selection, which is used a lot. Do you think this could be classified as bug to be fixed?

Software/OS:

Notepad++ v7.5.9 32bit
3P - Progress Programmers Pal v1.8.3
Windows 10 x64

Thank you

@jcaillon jcaillon added the bug label Dec 19, 2018
@jcaillon
Copy link
Owner

Thank again for the great issue. This is definitely a bug and you are right on the diagnostic! Will fix asap, I will publish a build artifact in this issue so you can get a fix quickly.

@jcaillon
Copy link
Owner

Hello again, you can try the fixed version here:

https://ci.appveyor.com/api/buildjobs/t8uwum8c4qdreso0/artifacts/Releases%2F3P.zip

@pidgeon777
Copy link
Author

Thanks for the prompt reply and fix. Well, I played a bit with your latest release, and so far everything seems to works. I only encountered a couple of crashes in Notepad++ but I would not consider your plugin to be necessarily responsible for that. Moreover, a few times the suggestion box didn't appear or placed the selected item in wrong points (different from the ones originally pointed by my multiple selections), but I will do more tests and keep you updated about any outcome. In the meanwhile, thank you again, I wish you a successful new year.

@jcaillon jcaillon added this to the v1.8.4 milestone Feb 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants