<table><tr><td style="">hindenburg edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-dcehblljv4vzsga/">(Show Details)</a><br />hindenburg edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-u7r2tes4x7hadt3/">(Show Details)</a>
</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/D16578">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">Currently, colons are considered to be part of words for the purpose <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">of </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">of<br />
</span>double-click selection. This allows, for example, URLs to be selected<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>with a double click. This is good.<br />
<br />
However, including colons works less well for paths that end with a colon<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>and whitespace--such as `grep` output. Removing the colon from the list<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>of word characters isn't a great solutionsince then URLs can no longer <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">be </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">be<br />
</span>selected by double-clicking.<br />
<br />
This patch resolves that particular issue by always omitting a colon from<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>double-click selection when it's immediately followed by whitespace.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>Then double-click on one of the paths in the output. The trailing colon<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>is not included in the selection.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>BRANCH</strong><div><div>trailing-colon-isnt-part-of-a-word (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16578">https://phabricator.kde.org/D16578</a></div></div><br /><div><strong>To: </strong>ngraham, Konsole, hindenburg<br /><strong>Cc: </strong>konsole-devel, ngraham, maximilianocuria, hindenburg<br /></div>