Bug 408564 - Autocompletion only completes the current word using block selection with several lines
Summary: Autocompletion only completes the current word using block selection with sev...
Status: RESOLVED DUPLICATE of bug 359763
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: multicursor (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Sven Brauch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-11 13:02 UTC by Raphaël Jakse
Modified: 2019-06-17 16:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
A video of the bug (350.20 KB, video/ogg)
2019-06-11 13:02 UTC, Raphaël Jakse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphaël Jakse 2019-06-11 13:02:14 UTC
Created attachment 120784 [details]
A video of the bug

SUMMARY

When trying to use autocompletion while editing several lines at once, only the current line is autocompleted.

STEPS TO REPRODUCE
1. In Kate, type hello
2. Hit enter three times
3. enable block selection (Ctrl+Shift+B)
4. select the three empty lines (2×Shift+Up)
5. type "hel"
6. "hello" should be suggested in the autocompletion popup. If not, ctrl+space
7. Arrow down to the "hello", and then hit Enter


OBSERVED RESULT
Line 2 is autocompleted

EXPECTED RESULT
Line 2, 3 and 4 are autocompleted


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: On openSUSE Tumbleweed, Debian, Ubuntu…
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.13.3
Comment 1 Ahmad Samir 2019-06-17 16:27:33 UTC

*** This bug has been marked as a duplicate of bug 359763 ***