Closed
Bug 80835
Opened 25 years ago
Closed 25 years ago
some spaces in edit box don't get copied
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
mozilla0.9.3
People
(Reporter: dcary, Assigned: mozeditor)
References
()
Details
(Whiteboard: [ws])
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9) Gecko/20010505
BuildID: 2001050515
When I cut several lines of text from the edit box and paste them somewhere
else, they become left-justified. All the nice spaces and tabs at the left edge
are lost.
Reproducible: Always
Steps to Reproduce:
1. Open http://rdrop.com/~cary/html/feedback.html
2. Click the cursor into the big "comments" edit box
3. Type a few spaces, a few letters, ENTER, a few more spaces, a few more
letters, a few spaces, a few more letters, ENTER.
4. Cut some complete lines, and paste them back in ( CTRL+a, CTRL+x, CTRL+v ).
Actual Results: All the letters are pasted back into the box. But most of the
space characters have disappeared.
Each line is now left-justified, i.e., there is no longer any space characters
to the left of each line.
Any gaps of 2 or more space characters between words has suddenly become only 1
space between those words.
Expected Results: Mozilla should have pasted back exactly what was cut out.
If a line started with exactly 9 spaces, then after cutting and pasting that
line elsewhere, it should still start with exactly 9 spaces. (IMHO).
The problem is in the "cut" or "copy" step. Pasting that data into other
applications shows the spaces are already gone.
Cutting lines of text with lots of spaces from other applications
and pasting into Mozilla edit boxes works fine.
Maybe related to bug 76545 ?
Tab characters are also eaten.
This is really annoying at
http://piclist.org/techref/microchip/pages.htm?edit
when trying to edit carefully-indented source code.
Comment 1•25 years ago
|
||
I see this behavior on w98 build 2001051404
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•25 years ago
|
||
reassigning
Assignee: morse → rods
Component: Form Manager → HTML Form Controls
QA Contact: tpreston → vladimire
Comment 3•25 years ago
|
||
sounds like an editor bug...maybe a duplicate
-->jfrancis
Assignee: rods → jfrancis
Component: HTML Form Controls → Editor
Comment 5•25 years ago
|
||
Joe, is this one of those bugs where we need input from layout about significant
whitespace?
Keywords: correctness
Whiteboard: [ws]
Updated•25 years ago
|
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Comment 6•25 years ago
|
||
Dup of "Copy text from a textarea drops starting spaces"
*** This bug has been marked as a duplicate of 69024 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•