Closed
Bug 34353
Opened 24 years ago
Closed 24 years ago
editorShell.wrapColumn busted now
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
VERIFIED
INVALID
M15
People
(Reporter: pete, Assigned: akkzilla)
Details
I had this code working the beginning of last week. From what i understand it is just an attribute that you can simply change the value of. function setWrap(){ dump("Setting Wrap\n\n"); dump("Old Wrap = "+editorShell.wrapColumn+"\n\n"); editorShell.wrapColumn = 1000; }
Assignee | ||
Comment 1•24 years ago
|
||
What is it doing now? I.e. how do you test that it is not working?
Status: NEW → ASSIGNED
Reporter | ||
Comment 2•24 years ago
|
||
Easy, the function i posted is called right before i call InsertText('some really long string') Last week, i would get scrollbars on the bottom of the edit field to accomodate that large column number. 1000 is *pretty* big. Also if you run the code, the dump of the existing column size doesn't work att all. I will put a test in composer and see what happens. pete
Assignee | ||
Comment 3•24 years ago
|
||
This is in a plaintext editor, I assume? Wrapping is meaningless in an html editor since html doesn't have hard wrapping. Is this in the regular plaintext editor window? Why are you setting wrap column to 1000? Why not just set it to -1 (no wrap) instead?
Assignee | ||
Comment 4•24 years ago
|
||
Seems to work for me in the plaintext editor.
Comment 5•24 years ago
|
||
Ah . . . I don't beleive it. I am real sorry. Mark this invalid. I changed over from plaintext to html a few days ago. Well, i guess i have successfully just wasted your time. pete
Assignee | ||
Comment 6•24 years ago
|
||
No problem -- I didn't spend much time on it since I suspected that might be the problem. :-)
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Comment 8•24 years ago
|
||
setting to an approximate milestone so it can be off of the no TFV list
Target Milestone: --- → M15
You need to log in
before you can comment on or make changes to this bug.
Description
•