I have a an NSAttributedString into which I would like to insert images. The
images need to be inserted after specific line endings (I know which line
endings in advance - they've been previously calculated).
I have written a function which returns an array of all line ending locations
(or
Oh bloody hell. I must be tired. That's so obvious - and I'm desperately
embarrassed for not taking care of this.
Thank you so much.
On 5 May 2014, at 17:47, Uli Kusterer witness.of.teacht...@gmx.net wrote:
On 05 May 2014, at 18:27, Pax 45rpmli...@googlemail.com wrote:
When I use this
On 5/5/14, 6:27 PM, Pax wrote:
I believe that this should cause IMAGE HERE to be inserted at specific line
endings. However, it often inserts into the middle of a paragraph instead -
usually, but not always, close to where it should put the text. Furthermore,
the positioning is usually at, or
To add an example:
Original\nString\nGoes\nHere
^8 ^15 ^20 ^25
Now I insert the first image, say just 1 character:
Original\nAString\nGoes\nHere
^8 ^16 ^21 ^26
See how all the insertion offsets would have to change? But since you already
have your list of
On 05 May 2014, at 18:50, Pax 45rpmli...@googlemail.com wrote:
Oh bloody hell. I must be tired. That's so obvious - and I'm desperately
embarrassed for not taking care of this.
Don't look in the archives, I've asked stupider questions :-)
Cheers,
-- Uli Kusterer
The Witnesses of TeachText