D17693: DocumentPrivate: Treat angle bracket < and backtick ` also as "auto bracket" when we have a selection
loh tar
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.
REVISION SUMMARY
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
REPOSITORY
R39 KTextEditor
REVISION DETAIL
https://phabricator.kde.org/D17693
AFFECTED FILES
src/document/katedocument.cpp
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...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181219/99755e83/attachment.html>
More information about the Kde-frameworks-devel
mailing list