Bugzilla – Attachment 130586 Details for
Bug 63259
It should be possible to use shift + F3 case change (cycle case), when cursor is at the beginning or end of a word and not only in the middle
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ShiftF3_startEnd.diff1: patch enabling ShiftF3 to work at the beginning and end of a word
ShiftF3_startEnd.diff1 (text/plain), 1.21 KB, created by
Justin L
on 2017-01-20 18:31:26 UTC
(
hide
)
Description:
ShiftF3_startEnd.diff1: patch enabling ShiftF3 to work at the beginning and end of a word
Filename:
MIME Type:
Creator:
Justin L
Created:
2017-01-20 18:31:26 UTC
Size:
1.21 KB
patch
obsolete
>diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx >index 9bc74d0..6c4b675 100644 >--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx >+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx >@@ -2561,10 +2561,11 @@ void DocumentContentOperationsManager::TransliterateText( > aBndry = g_pBreakIt->GetBreakIter()->getWordBoundary( > pTNd->GetText(), nSttCnt, > g_pBreakIt->GetLocale( pTNd->GetLang( nSttCnt ) ), >- WordType::ANY_WORD /*ANYWORD_IGNOREWHITESPACES*/, >+ WordType::/*ANY_WORD*/ANYWORD_IGNOREWHITESPACES, //IGNOREWHITESPACES required for end-of-word position to work. > true ); >+SAL_WARN("DEBUG"," Start["<<aBndry.startPos<<"] stIdx["<<nSttCnt<<"] endIdx["<<nEndCnt<<"] End["<<aBndry.endPos<<"] ["<<pTNd->GetText()<<"] startNode["<<nSttNd<<"] EndNode["<<nEndNd<<"] PaM["<<rPaM<<"]"); > >- if( aBndry.startPos < nSttCnt && nSttCnt < aBndry.endPos ) >+ if( aBndry.startPos <= nSttCnt && nEndCnt <= aBndry.endPos ) > { > nSttCnt = aBndry.startPos; > nEndCnt = aBndry.endPos; >
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 Raw
Actions:
View
Attachments on
bug 63259
: 130586 |
130713
|
131528