D21331: Fix: don't reset Highlight when saving some files
Nibaldo González
noreply at phabricator.kde.org
Wed May 22 10:02:23 BST 2019
nibags created this revision.
nibags added reviewers: KTextEditor, cullmann.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
nibags requested review of this revision.
REVISION SUMMARY
BUG: 407763
Fix the regression of patch D20959 <https://phabricator.kde.org/D20959>.
In sftp:// or fish:// files, the current syntax highlighting isn't stored in `$HOME/.config/katemetainfos`.
Therefore, when saving a file, the highlighting is reset.
This only happens when changing the hl from the "Highlighting" menu, not from the "Mode" menu.
Basically, this returns to the state before the patch D20959 <https://phabricator.kde.org/D20959>, but now the highlight will always change if `user` is true.
REPOSITORY
R39 KTextEditor
BRANCH
fix-save-hl
REVISION DETAIL
https://phabricator.kde.org/D21331
AFFECTED FILES
src/document/katedocument.cpp
To: nibags, #ktexteditor, cullmann
Cc: kwrite-devel, kde-frameworks-devel, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190522/cf54084a/attachment-0001.html>
More information about the KWrite-Devel
mailing list