Closed
Bug 4145
Opened 26 years ago
Closed 26 years ago
Higlighting text causes problem.
Categories
(Core :: Layout, defect, P2)
Tracking
()
VERIFIED
FIXED
M4
People
(Reporter: cknoll, Assigned: mjudge)
References
()
Details
On sample 2, there is a preformatted paragraph with an animated background.
Highlighting it (multiple lines) with the mouse on WinNT causes the entire
length of the screen to be highlighted, and the inverse text is not showing up
properly. Not only that, the highlight outside the paragraph text seems to be
showing garbage (because the display may be going into an adjacent buffer in
memory?), this garbage redraws itself every so often (you will have to try it
out to see for yourself).
-Chris
Updated•26 years ago
|
Priority: P3 → P2
Target Milestone: M4
Comment 1•26 years ago
|
||
P2. This causes crashes.
Mike, this is the same thing I've talked to you about, when hilighting text on
sample 2 and seeing asserts and garbage drawing.
Basically, we're using bad offsets in the ip[] array (I'm looking at TextFrame::
PaintAsciiText()). There seems to be 2 problems:
1. Sometimes, PrepareUnicodeText() returns a text length which is less than
mContentLength, and it only fills elements in ip for the length that it
returns. So we're accessing uninitialized members of the ip array.
2. Your hack to fill in ip[mContentLength] for the selection +1 stuff also
plays a part sometimes, because again it can cause you to measure text
width for length+1 chars, which does bad things.
Comment 2•26 years ago
|
||
Similar problems are occurring in GetPointFromOffset, which is called
from the caret, and is also causing crashes.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
As of 3/30/99 build, this bug is fixed. Keep up the good work!
-Chris
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•26 years ago
|
||
Fixed in April 5th Build.
You need to log in
before you can comment on or make changes to this bug.
Description
•