• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Artifacts during text selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Respond to Click in TextView
  • Next by Date: Re: NSData dataWithContentsOfMappedFile with huge files?
  • Previous by thread: Re: Re: Respond to Click in TextView
  • Next by thread: Re: Problem with NSWorkspaceDidMountNotification and FSResolveAlias()
  • Index(es):
    • Date
    • Thread