Indenting Challenge

2010-11-09 Thread Scott Rossi
Hi List: Was hoping someone here might have some uncanny insight into how to solve a text formatting dilemma... Basic problem: I need to create two levels on indenting in a block of text, but the text needs to always be directly editable and may span multiple lines. About a month or so back I

Re: Indenting Challenge

2010-11-09 Thread Alex Tweedly
I haven't thought this through, but . there are only 3 (or maybe 4) different indent cases. create a suitable image for each case (i.e. normal, bulletted, 2nd level, continuation, etc.) which is blank space of the appropriate number of pixels wide then insert an extra character at the

Re: Indenting Challenge

2010-11-09 Thread Bob Sneidar
Hi Scott. Unless you can find a way to embed a Microsoft object into a Revolution stack (never mind a standalone) I don't think there is a way to do this. Unless CSS is supported in HTMLText, I don't see how you can get any kind of special formatting to work in a native LiveCode field. Now if

Re: Indenting Challenge

2010-11-09 Thread Ken Ray
And the thing that really makes this difficult is the fact that the text needs to be directly editable by users (cannot be in a locked field). Any suggestions on how I might tackle this? Can it be restricted to only editing one bullet at a time, or does the user need the ability to click in

Re: Indenting Challenge

2010-11-09 Thread Richard Gaskin
The firstIndent property of the field can be set to a negative number, but that would only take care of one level of indenting. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com

Re: Indenting Challenge

2010-11-09 Thread Bob Sneidar
Sorry missed this part. Not sure if CSS supports hanging indents, which is I think what you are shooting for. Bob On Nov 9, 2010, at 10:39 AM, Scott Rossi wrote: I can accomplish the first level bullet/indenting using a combination of margins and firstIndent, but I can't figure out a way

Re: Indenting Challenge

2010-11-09 Thread Dave Cragg
On 9 Nov 2010, at 18:39, Scott Rossi wrote: snip I've been asked to implement two levels bulleting/indenting, something like the following (hope it comes across): • Main Bullet Item 1 that spans multiple lines • Main Bullet Item 2 - Secondary Bullet 1 - Secondary Bullet 2 which

Re: Indenting Challenge

2010-11-09 Thread Bob Sneidar
Knowing nothing about CSS or HTML, I was able to get a text field to respond to a basic CSS definition. However, it doesn't seem to pay any attention to the margins and indents. Feature request anyone? Bob On Nov 9, 2010, at 10:39 AM, Scott Rossi wrote: Hi List: Was hoping someone here

Re: Indenting Challenge

2010-11-09 Thread Monte Goulding
And the thing that really makes this difficult is the fact that the text needs to be directly editable by users (cannot be in a locked field). Any suggestions on how I might tackle this? Can it be restricted to only editing one bullet at a time, or does the user need the ability to click