Allow to change the Mode, after changing the Highlighting

Authored by nibags on May 2 2019, 11:17 AM.

Description

Allow to change the Mode, after changing the Highlighting

Summary:
Currently, when selecting a language in the "Highlighting" menu, the "Mode" menu stops working.
This happens because, the Modes don't apply if m_hlSetByUser is true (if the user has chosen a Highlight in the menu).
This is swelling and I think it's better to change it.
Now when selecting a Mode, the "Highlighting" menu is also updated (but, when choosing an item in the Highlighting menu, the "Mode" menus don't change).

Reviewers: KTextEditor, Kate, cullmann

Reviewed By: KTextEditor, Kate, cullmann

Subscribers: cullmann, kwrite-devel, kde-frameworks-devel

Tags: Kate, Frameworks

Differential Revision: https://phabricator.kde.org/D20959

Details

Committed
nibagsMay 3 2019, 12:04 PM
Reviewer
KTextEditor
Differential Revision
D20959: Allow to change the Mode, after changing the Highlighting
Parents
R39:d572d3276358: Code cosmetic
Branches
Unknown
Tags
Unknown