<table><tr><td style="">rjvbb created this revision.<br />rjvbb added a reviewer: KTextEditor.<br />rjvbb added a project: KTextEditor.<br />Herald added projects: Kate, Frameworks.<br />Herald added a subscriber: kwrite-devel.<br />rjvbb requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16370">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This implements 2 ideas I evoked in a blog post comment, concerning the usability of the syntax definition priority GUI:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">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.</li>
<li class="remarkup-list-item">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.</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16370">https://phabricator.kde.org/D16370</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/mode/katemodeconfigpage.cpp</div></div></div><br /><div><strong>To: </strong>rjvbb, KTextEditor<br /><strong>Cc: </strong>kde-frameworks-devel, kwrite-devel, michaelh, ngraham, bruns, demsking, head7, cullmann, kfunk, sars, dhaumann<br /></div>