https://bugs.kde.org/show_bug.cgi?id=517626
Bug ID: 517626
Summary: "Enclosing characters" is customizable, "Brackets" is
not
Classification: Frameworks and Libraries
Product: frameworks-ktexteditor
Version First unspecified
Reported In:
Platform: Ubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
General editing settings for the "Enclosing characters" behavior (which
surrounds selected text with quotes or brackets when they are typed, instead of
replacing that block of text) includes a customizable list of enclosing
characters that activate this behavior. (Probable bug: editing the list of
surrounding characters in this setting does not seem to affect editor behavior)
Right above this setting is the extremely similar "Brackets" setting, which
inserts closing brackets & quotes after the cursor when they are typed
normally. However, this behavior is *not* customizable, and is not controlled
by the list of "enclosing characters" for the other setting.
I would very much like to be able to control which characters are auto-closed
this way, as some of them are very annoying in different languages (for
example, single quotes in rust).
STEPS TO REPRODUCE
1. open Settings > Configure Kate > Editing > General
2. ensure that the "Brackets" setting is enabled
3. change the list of characters in "Enclosing characters" to remove the single
quote ' from the list, save and apply
4. type in a document and note that when typing a single quote ' a second one
is inserted
3. select a word in a document and note that typing a single quote ' also still
surrounds it with single quotes
OBSERVED RESULT
Neither the auto-brackets setting (which doesn't seem to have its own
customization) nor the enclosing characters setting (which does) seem to be
affected by edits to the text field that specifies the list of enclosing
characters.
EXPECTED RESULT
Removing characters from the "enclosing characters" list should make them no
longer act as enclosing characters, and it should be possible to customize
characters with auto-brackets behavior as well.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ubuntu + gnome shell
KDE Plasma Version: n/a
KDE Frameworks Version: 6.24.0
Qt Version: 6.9.2
ADDITIONAL INFORMATION
kate version 26.03.70 (built at commit
7798269288489096459b2e1febac211eb1fa01c5)
--
You are receiving this mail because:
You are watching all bug changes.