• 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
How to insert not editable text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to insert not editable text


  • Subject: How to insert not editable text
  • From: Ferhat Ayaz <email@hidden>
  • Date: Sat, 14 Jun 2008 11:39:09 +0200

Hello list,

I want to add non editable text parts to an NSTextView. You can add/ drag and delete them within the text view but they should not be editable. This parts will act as placeholders for the actual text. What is the right way to

1. Add this kind of "placeholders" (non editable text)
2. Find them in the hole text

I guess I have to use the NSMutableAttributedString methods but I could not find in the documentation the attribute names to make a text portion non editable.

Thanks,
Ferhat
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to insert not editable text
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: PDFView's NSPrintPanel : Determine if Print / Cancel clicked?
  • Next by Date: Re: looking for a crc code
  • Previous by thread: Re: How hard is it to learn Cocoa - Survey ?
  • Next by thread: Re: How to insert not editable text
  • Index(es):
    • Date
    • Thread