A heads up
A heads up
- Subject: A heads up
- From: Brian Christmas <email@hidden>
- Date: Sun, 25 Sep 2016 12:01:26 +1000
G’day scripters.
FYI, I was using a Text View in a Scroll View to list 10 paragraphs of information per email that was arriving. I had one paragraph that comprised three sentences, so in my infinite wisdom I separated each sentence with a ‘control-space’ to place it on a new line, and keep the paragraph count to the same.
Worked fine counting paragraphs of the |string| value, but turned out to fail when getting the ‘length of paragraphs 5 thru ‘x’ of |string’’. This left out counting the two sentences after the first ‘control-space’.
Had to use a ‘return’ after each, and re-write what was once a simple handler, that always used groups of 10 paragraphs, + 4 paragraphs at front.
Regards
Santa
And what, you ask, was the beginning of it all? And it is this...... Existence that multiplied itself For sheer delight of being And plunged with numberless trillions of forms So that it might find itself innumerably
Sri Aurobindo
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden