Indenting Challenge
Bob Sneidar
bobs at twft.com
Tue Nov 9 14:55:19 EST 2010
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 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 mentioned an app I was working on that was sort
> of a poor man's PowerPoint, and was trying to mimic the bullet formatting
> one can apply to text. 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
> spans multiple lines
> - Secondary Bullet 3
> • Main Bullet Item 3
>
> I can accomplish the first level bullet/indenting using a combination of
> margins and firstIndent, but I can't figure out a way to handle second
> level. To date I've been using HTMLtext and non-breaking spaces to pad the
> secondary level lines, but arbitrarily adding spaces to live editable text
> is messy, and I can't find a way to align a padded+wrapped line with the
> line above it. It occurred to me maybe there's some non-typeable,
> non-selectable character I could use for padding, but I only know of
> formFeed/lineFeed characters which wouldn't help here.
>
> 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?
>
> Thanks & Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list