Re: Undos (vs. text alignment) [was: Script Editor]

2008-05-25 Thread Andre.Bisseret


Le 25 mai 08 à 00:41, Curry Kenworthy a écrit :


I wonder how one would implement unlimited undos in
Runtime Revolution?


I would be happy to provide an unlimited undo add-on that works
anywhere--regular fields or script editor.

I've already committed myself to a text alignment add-on which will  
allow
users to align paragraphs of text freely, left/right/center, just  
like in

a word processor.

I can do both projects if there is also demand for an undo solution,  
but I
want to ask the Rev community: which is needed more urgently? Which  
should

I prioritize? I would love to hear from some of you to judge interest.


As far as I am concern, I would like the two, but, no doubt, my  
priority is your text alignment project esspecially if one could be  
able to make indentations (several levels of indentation).
I have an app. that presents a lot of (scientific) texts in fields :  
unfortunately any line has to be left aligned ; no possibility to  
write indented lists :-((

(mainly because the texts may be printed).

Best regards from Grenoble

André



Best wishes,

Curry Kenworthy

--
WordLib: Import Microsoft Word and
OpenOffice documents in Revolution
(Currently for Windows, Mac coming soon)
http://curryk.com/wordlib.html




___
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


Undos (vs. text alignment) [was: Script Editor]

2008-05-25 Thread Richmond Mathewson
If I use the following script:

get the selectedText of fld fTEXT
  set the textColor of the selectedText to green

it does what I expect it to (sets the textColor to the
selected part of the text in fld fTEXT to green)

BUT the following script:

get the selectedText of fld fTEXT
  set the textAlign of the selectedText to right

does NOT do what I expect it to (right-align the
selected part of the text in fld fTEXT)

which is a bit of a br, and seems a bit
inconsistent.

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development Life Cycle.



  __
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
___
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


Re: Undos (vs. text alignment) [was: Script Editor]

2008-05-25 Thread Jim Ault
On 5/25/08 7:03 AM, Richmond Mathewson [EMAIL PROTECTED] wrote:
 If I use the following script:
 
 get the selectedText of fld fTEXT
   set the textColor of the selectedText to green
 
 it does what I expect it to (sets the textColor to the
 selected part of the text in fld fTEXT to green)
 
 BUT the following script:
 
 get the selectedText of fld fTEXT
   set the textAlign of the selectedText to right
 
 does NOT do what I expect it to (right-align the
 selected part of the text in fld fTEXT)
 
 which is a bit of a br, and seems a bit
 inconsistent.
   It is actually logical since buttons and fields are the only objects to
have a textAlign property, according to the docs.

Word processors extend this to paragraphs, but not to any selected text.  So
technically, the word processor will set the alignment of the *paragraphs*
included in the selected text, not the text characters themselves.

Paragraphs can contain multiple lines.
Rev does not have paragraph objects.
Tables are another issue, eg. can a table cell contain a paragraph, or
multiple paragraphs, each with their own alignment properties?

Hope this helps.

Jim Ault
Las Vegas


___
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


Text Alignment [c.f. Undos (vs. text alignment) [was: Script Editor] ]

2008-05-25 Thread Richmond Mathewson
Just uploaded a fairly pedestrian effort to:

http://tech.groups.yahoo.com/group/rrtexttricks/

TextAlign.rev

demonstrating the in-built text alignment capabilities
of Runtime Revolution.

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development Life Cycle.



  __
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
___
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


Re: Undos (vs. text alignment) [was: Script Editor]

2008-05-24 Thread Curry Kenworthy
I wonder how one would implement unlimited undos in
Runtime Revolution?

I would be happy to provide an unlimited undo add-on that works
anywhere--regular fields or script editor.

I've already committed myself to a text alignment add-on which will allow
users to align paragraphs of text freely, left/right/center, just like in
a word processor.

I can do both projects if there is also demand for an undo solution, but I
want to ask the Rev community: which is needed more urgently? Which should
I prioritize? I would love to hear from some of you to judge interest.

Best wishes,

Curry Kenworthy

--
WordLib: Import Microsoft Word and
OpenOffice documents in Revolution
(Currently for Windows, Mac coming soon)
http://curryk.com/wordlib.html


___
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