I am following attentively your attempt to "simulate" a richtext field.
I have a stack that presents a lot of texts (one text in one main
field on each card).
Often these texts include lists that normally should be indented
(often with 2 levels). So I got the same problem as yours.
After unsuccessful trials I gave up and currently all the lines of my
texts are left aligned. For the (to be normally indented lists) I
used special characters such as "*" and "-" (but left aligned). So
that the presentation is not up to standard.
So I am very much interested by any solution you could find.
The main issue I encountered was the following :
When a line had to wrap, I had to type a return and then a tab in
order to get an indented paragraph.
Then, when for one reason or another, the width of the field was
reduced, even a little bit, or if I changed the style of the
characters (font or size), I got a terrible mess !
It happened for example, when I was transferring the content of a
field in another field that I use as a printing field.
Hav'nt you got this kind of problem ? In your example, I suppose that
you have a "return" after "You know you". So that if you reduce the
width of your field, the word "you" will wrap, isolated and left
aligned (without tab).
Hope my "English-like English" is understandable enough :-))
Thanks a lot for your attempt to turn around this crucial shortcoming
in Rev.
I hope you will keep informing us about the problems you are
encountering and your solutions.
Best regards from Grenoble
André
Le 5 août 06 à 14:04, Jan Sælid a écrit :
The scriptwriter needs to know if the user is editing dialogue, a
character
name, an action etc.
the format of a script looks something like this:
---
TRUMP
You didn't call, Eliza. You know you
won't get anything if you...
He goes to the desk and snatches the...
---
This format needs three different margins. One for the character
name, one
for the dialogue and one for the "action" part. One approach I'm
thinking of
is to use tabstops and have a rawkeyup handler in the field that
checks what
type of element the writer is editing and puts the cursor at the
right tab
if the writer e.g. pushes the downkey. The challenge with this
method is
that I have to store every element in the script in a custom
property of the
field with the number of tabs for each element. Maybe with a
reference to
the linenumber. e.g. "The line1 of fld "Script". Am I on the right
track?
Hope this is understandable. Any ideas are appreciated. In the long
run it
could be handy to make a library of functions that other revolution
users
could use.
I Wrote:
I’m really in need of individual paragraphs.
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution