Excellent, works perfectly!
Thanks a lot,
Bernard.
ps. for future reference, there is just a tiny typo: currentContent should read
currentContext...
On 23 Jul 2010, at 15:50, Steve Christensen wrote:
> On Jul 23, 2010, at 3:53 AM, Bernard Knaepen wrote:
>
>> I nee
Hello,
I need to draw an NSAttributedString over an image. The characters of the
string might have different sizes, fonts and colors.
I am currently using the drawAtPoint method but I would like to specify a
global opacity (transparency) to draw the string. Is there a way to do this or
should
if so, this is expected, and
> you’d need to do some subclassing.
>
> otherwise, just make sure the textview richtext support is off (assuming that
> is consistent with your application’s needs)
>
>
> On Jun 23, 2010, at 2:49 AM, Bernard Knaepen wrote:
>
>> Hi al
Hi all,
I have a window created in IB containing a NSScrollView embedding a NSTextView.
In the same window I have a NSColorWell which is supposed to store the color
preference for a given object not related to the NSTextView.
I would like to be able to change the color of the NSColorWell withou
On 21 Jun 2010, at 21:35, Michael Babin wrote:
> On Jun 20, 2010, at 8:11 AM, Bernard Knaepen wrote:
>
>> The trouble I have is to access the attributed string within my code to
>> later draw in a custom view. I am trying something like this:
>>
>> NSManagedO
Hello,
I have started playing with core data and I am having trouble to get the
attributed string from an NSTextView into my program.
In the project, the .xcdatamodel contains an Entity called 'signatures' which
has a property named 'sigText'. I have set the type of sigText to Binary Data.
In