Well that didn't work...

Mark Wieder mwieder at ahsoftware.net
Tue Jun 21 02:15:12 EDT 2005


Todd-

Monday, June 20, 2005, 10:38:32 PM, you wrote:

TG> I have been trying to figure out how to create a little simple text
TG> editor.  Basically I want to add two features to a regular scrolling
TG> field.

TG> Feature 1

TG>      Pressing tab while the insertion point is on a line of text  
TG> needs to INDENT the line
TG>      pressing shift_tab needs to OUTDENT it.

TG> Feature 2

TG>      A new Line created by pressing "return" needs to line up with
TG> the previous line
TG>      Like this...

You might want to look at the documentation entries for
"returnInField" and "tabKey". There are also hints in the "See also"
of the "tabKey" entry, especially in "Why doesn't the Tab key move to
the next tab stop?".

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list