Bug 451764 - Uncomment commented code block doesn't uncomment but instead adds extra comment prefix
Summary: Uncomment commented code block doesn't uncomment but instead adds extra comme...
Status: RESOLVED DUPLICATE of bug 451471
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 21.12.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-21 12:54 UTC by Sander van Grieken
Modified: 2022-03-21 13:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sander van Grieken 2022-03-21 12:54:44 UTC
SUMMARY

Using the comment-selection function (on QML in my case), the code gets commented out using '//'. 
Trying to uncomment the same selection afterwards instead adds another '//' resulting in '////' for each line

STEPS TO REPRODUCE
1. Open QML file
2. Use Ctrl-/ to comment a block of code
3. Use Ctrl-/ again to uncomment that block

OBSERVED RESULT

double comment prefix

EXPECTED RESULT

comment prefix removed

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92
Qt Version: 5.15.2

ADDITIONAL INFORMATION
on wayland
Comment 1 Waqar Ahmed 2022-03-21 13:26:21 UTC
*** This bug has been marked as a duplicate of bug 451471 ***