Artifacts during text selection
Artifacts during text selection
- Subject: Artifacts during text selection
- From: "Mike R. Manzano" <email@hidden>
- Date: Sun, 27 Aug 2006 11:37:51 -0700
Hi all,
I have a view that arranges several NSTextViews to display a corpus
as a series of columns. The text views contain text that have these
custom paragraph settings:
[ paragraphStyle setLineSpacing:fontSize*0.24f ] ;
[ paragraphStyle setParagraphSpacing:fontSize*0.22f*4.0f ] ;
[ paragraphStyle setFirstLineHeadIndent:24.0f ] ;
What's interesting is that when I select the text by dragging over it
with the mouse, and then deselect it by clicking outside of the
selection area, there are artifacts left over by the selection. The
artifacts are light horizontal lines along the top border and the
bottom border of the previous selection. When I select over them, the
lines disappear (but upon de-selection new lines appear). Further,
when I resize my view, the lines disappear.
If I do not modify the paragraph style (leave it default), the
artifacts do not appear.
Any ideas?
Thanks,
~ Mike
alephx01 (at) mac (dot) com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden