D16370: KTextEditor : syntax definition priority UI usability
René J.V. Bertin
noreply at phabricator.kde.org
Mon Oct 22 12:45:22 BST 2018
rjvbb created this revision.
rjvbb added a reviewer: KTextEditor.
rjvbb added a project: KTextEditor.
Herald added projects: Kate, Frameworks.
Herald added a subscriber: kwrite-devel.
rjvbb requested review of this revision.
REVISION SUMMARY
This implements 2 ideas I evoked in a blog post comment, concerning the usability of the syntax definition priority GUI:
- provide contextual help in a tooltip. I had never discovered the "what's this" property is set on the priority spinbox because that is something not made evident by the UI. Some usage feedback is useful here IMHO because the effect of a higher priority value isn't necessarily apparent directly.
- allow negative priority values. This requires no other changes (in the syntax-highhlighting FW) and makes it possible to "filter out" individual definitions (file types) that aren't (won't ever be) relevant and that can conflict with multiple other types. Think of a file type that uses a very common extension used by a number of other types that are more relevant. Decreasing the priority of a single type is less cumbersome than increasing the priority of a possibly unknown number of other types.
REPOSITORY
R39 KTextEditor
REVISION DETAIL
https://phabricator.kde.org/D16370
AFFECTED FILES
src/mode/katemodeconfigpage.cpp
To: rjvbb, #ktexteditor
Cc: kde-frameworks-devel, kwrite-devel, michaelh, ngraham, bruns, demsking, head7, cullmann, kfunk, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20181022/646d8350/attachment.html>
More information about the KWrite-Devel
mailing list