When I write a C++-style comment in KDevelop and the sentence includes "don't", it adds two single quotes. This use case can be fixed e.g. by disabled autoquotes when there is a letter to the left of the cursor location.
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
I can't reproduce this with KDevelop 5.9.220803 (22.08.3). Closing as WFM. If you can still repro, change the status back.
> When I write a C++-style comment in KDevelop and the sentence includes "don't", it adds two single quotes. This use case can be fixed e.g. by disabled autoquotes when there is a letter to the left of the cursor location. A letter to the left of a single quote does not guarantee that it is not a character literal. See https://en.cppreference.com/w/cpp/language/character_literal and https://en.cppreference.com/w/c/language/character_constant. Might be fixed in this simple way for letters other than [uUL] and digits other than 8 (assuming thousand separators). Or inside comments. > I can't reproduce this with KDevelop 5.9.220803 (22.08.3). Closing as WFM. If you can still repro, change the status back. I can reproduce this with current KDevelop master and KTextEditor 5.99.0. Reopening. As far as I know, the adding of the matching quote is KTextEditor's doing. Works the same way in Kate and KWrite (versions 22.08.2) in C++ mode.