Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 185324 Details for
Bug 261431
konsole-4.4.1 and earlier doesn't honour "Word characters for double-click selection" option.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mandriva konsole character selction patch
kdebase-revert-4.2.0-behavior.patch (text/plain), 1.13 KB, created by
Jeremy Sermersheim
on 2009-03-17 15:53:28 UTC
(
hide
)
Description:
mandriva konsole character selction patch
Filename:
MIME Type:
Creator:
Jeremy Sermersheim
Created:
2009-03-17 15:53:28 UTC
Size:
1.13 KB
patch
obsolete
>--- apps/konsole/src/TerminalDisplay.cpp 2009-02-26 11:16:35.000000000 -0300 >+++ apps/konsole/src/TerminalDisplay.cpp.new 2009-03-04 09:14:54.000000000 -0300 >@@ -2155,11 +2155,12 @@ > _wordSelectionMode = true; > > // find word boundaries... >+ QChar selClass = charClass(_image[i].character); > { > // find the start of the word > int x = bgnSel.x(); > while ( ((x>0) || (bgnSel.y()>0 && (_lineProperties[bgnSel.y()-1] & LINE_WRAPPED) )) >- && !isCharBoundary(_image[i-1].character) ) >+ && charClass(_image[i-1].character) == selClass ) > { > i--; > if (x>0) >@@ -2177,8 +2178,8 @@ > // find the end of the word > i = loc( endSel.x(), endSel.y() ); > x = endSel.x(); >- while( ((x<_usedColumns-1) || (endSel.y()<_usedLines-1 && (_lineProperties[endSel.y()] & LINE_WRAPPED) )) >- && !isCharBoundary(_image[i+1].character) ) >+ while( ((x<_usedColumns-1) || (endSel.y()<_usedLines-1 && (_lineProperties[endSel.y()] & LINE_WRAPPED) )) >+ && charClass(_image[i+1].character) == selClass ) > { > i++; > if (x<_usedColumns-1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261431
:
185322
| 185324 |
189740
|
189741