Closed Bug 167058 Opened 22 years ago Closed 17 years ago

Strange Ctrl+Left/Right behaviour after cut and paste

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: neil, Unassigned)

Details

Using Build ID: 2002090504 (Windows) 2002040813 (Linux)
Steps to reproduce problem:
1. Open a new editor window
2. Type "Can you calculate 2^(3*(4+5))?"
3. Select "2^(3*(4+5))?", cut and paste it back.
4. Press Ctrl+Left 10 times (!)

Expected results: 2 Ctrl+Left to navigate to end of text.

Actual results: Ctrl+Left stops at punctuation.

Additional information: There are some cases in which the problem doesn't
appear, such as when you cut and paste a whole paragraph, or when you paste from
a text field. There is also a temporary workaround of select all, cut, paste
which appears to fix the problem but in fact the problem then comes back if you
format or cut and paste any word. Sometimes the cut converts the preceeding
space to an &nsbp; but I haven't figured out how to reproduce that.
--> mjudge (selection/caret navigation)
Assignee: jkeiser → mjudge
Component: Editor: Core → Selection
Behaves same for me after typing and after paste.  close?
andrew, do you agree WFM?
Assignee: mjudge → nobody
Component: Selection → Editor
QA Contact: sujay
QA Contact: editor
=> WFM
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.