Issue 12221 - delete-next-word now deletes two words
Summary: delete-next-word now deletes two words
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 644
Hardware: PC Windows 2000
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
: 12837 12932 13005 13514 13519 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-03-11 10:43 UTC by ingenstans
Modified: 2013-08-07 14:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ingenstans 2003-03-11 10:43:15 UTC
IN 644_m4 the command to delete the next word, bound to ctrl-delete, has 
suddenly started deleting two words ahead, not one.


Steps to repeat:


place the cursor at the beginning of a word: press ctrl-delete. Watch as the 
next two words are briefly selected and then disappear.
Comment 1 h.ilter 2003-03-11 12:33:45 UTC
Reproducible also with dummy text.
Comment 2 Oliver Specht 2003-03-17 10:44:08 UTC
With the text:
"He heard quiet ..."
and the cursor in front of 'heard' the breakiterator returns true at
the following code:

bRet = pBreakIt->xBreak->isEndWord(
	pTxtNd->GetTxt(), nPtPos,
	pBreakIt->GetLocale( pTxtNd->GetLang( nPtPos ) ),
	WordType::ANY_WORD /*ANYWORD_IGNOREWHITESPACES*/ );

which is wrong.
Comment 3 thomas.lange 2003-03-18 10:06:27 UTC
I'll take it.
Comment 4 thomas.lange 2003-03-18 11:09:00 UTC
Fixed in CWS so-cwsserv03/os7.

Files changed:
sw:  swcrsr.cxx 1.16.4.7.2.3.48.1

All cursor functions requiring a WordType argument will use 
WordType::ANYWORD_IGNOREWHITESPACES now.


Note: you may also like to check internal bug #106385# again since 
the current problem was probably introduced by the fix of that one.
Comment 5 thomas.lange 2003-04-02 09:49:12 UTC
.
Comment 6 thomas.lange 2003-04-02 09:49:54 UTC
.
Comment 7 thomas.lange 2003-04-02 09:50:10 UTC
TL->MRU: Is Ok in CWS os7. Please check.
Comment 8 thomas.lange 2003-04-02 09:50:25 UTC
.
Comment 9 eric.savary 2003-04-02 21:34:03 UTC
*** Issue 12837 has been marked as a duplicate of this issue. ***
Comment 10 eric.savary 2003-04-02 21:34:21 UTC
closed
Comment 11 lohmaier 2003-04-03 17:10:13 UTC
*** Issue 12932 has been marked as a duplicate of this issue. ***
Comment 12 Oliver Specht 2003-04-04 06:05:41 UTC
*** Issue 13005 has been marked as a duplicate of this issue. ***
Comment 13 lohmaier 2003-04-18 22:29:17 UTC
*** Issue 13514 has been marked as a duplicate of this issue. ***
Comment 14 lohmaier 2003-04-18 22:35:35 UTC
*** Issue 13519 has been marked as a duplicate of this issue. ***
Comment 15 ingenstans 2003-04-28 14:55:56 UTC
This is fixed in 644_m11, if anyone is wondering whether to download 
that.