Also, you can get the htmlText and count <p> to get the number of paragraphs in a field.

As for formatting you can insert a &#9; after each <p> tag to insert an indent.

Just a thought.

Tom McGrath III
Lazy River Software
[email protected]

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html





On Dec 20, 2008, at 10:17 AM, Björnke von Gierke wrote:

In my view, the problem with paragraphs is, that it's a style, not a chunk. Therefore everyone can easily claim to do it right, and that others do it wrongly.

As for paragraph support within Rev: As Paragraphs are styled and not chunks, they should be supported within Fields. And they are indeed, using the "FirstIntent" property, every line turns into it's own paragraph, as it is usual in text editors. To get the sub-lines of these paragraphs, one can use the "formattedText".

Of course there's also a paragraph break char in Unicode, but I haven't tested it's effect on Rev fields.

Have Fun
Björnke
--

official ChatRev page:
http://bjoernke.com/runrev/chatrev.php

Chat with other RunRev developers:
go stack URL "http://bjoernke.com/stacks/chatrev/chatrev1.3b3.rev";

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to