<table><tr><td style="">loh.tar updated this revision to Diff 49452.<br />loh.tar retitled this revision from "DocumentPrivate: Treat angle bracket < and backtick ` also as "auto bracket" when we have a selection" to "DocumentPrivate: Treat some chars also as "auto bracket" only when we have a selection".<br />loh.tar edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-bmg5m4vizksa7q6/">(Show Details)</a><br />loh.tar added a comment.
</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/D17693">View Revision</a></tr></table><br /><div><div><ul class="remarkup-list">
<li class="remarkup-list-item">Add chars ยด ` _ . : | # @ ~ * ! ? $ % / \ = to special handling</li>
<li class="remarkup-list-item">Avoid chars[0]</li>
</ul></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">The</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">My</span> first attempt was<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> only</span> to add <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">these chars</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">angle brackets</span> to the auto bracket code but <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>that caused<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"><br />
</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> </span>surprising odd behav<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">our</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">ior</span> in the normal edit flow,<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> so it needs to be <br />
done in a special way which obviously cause no trouble. <br />
<br />
Once done this way, I had the idea to add much more char to this special <br />
handling.</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">so it's done in a special way which<br />
hopefully caused no trouble</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Some of these may handy when write Markdown, some perhaps elsewhere</span>.<div style="padding: 8px 0;">...</div>- Remove unneeded code<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- Avoid chars[0] </span></div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D17693?vs=47857&id=49452">https://phabricator.kde.org/D17693?vs=47857&id=49452</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17693">https://phabricator.kde.org/D17693</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/document/katedocument.cpp</div></div></div><br /><div><strong>To: </strong>loh.tar, KTextEditor<br /><strong>Cc: </strong>cullmann, sars, kwrite-devel, kde-frameworks-devel, KTextEditor, hase, michaelh, ngraham, bruns, demsking, dhaumann<br /></div>