D17693: DocumentPrivate: Treat angle bracket < and backtick ` also as "auto bracket" when we have a selection
noreply at phabricator.kde.org
Wed Dec 19 16:58:37 GMT 2018
loh.tar created this revision.
loh.tar added a reviewer: KTextEditor.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
loh.tar requested review of this revision.
The first attempt was to add these chars to the auto bracket code but that caused
surprising odd behavour in the normal edit flow, so it's done in a special way which
hopefully caused no trouble.
- Improve readability of auto bracket code
- Change arguments as reference
- Remove unneeded code
To: loh.tar, #ktexteditor
Cc: kwrite-devel, kde-frameworks-devel, #ktexteditor, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel