Paste From Clipboard and Auto-indent

From: Lee Page <lrpage_mindspring.com>
Date: Wed, 05 Dec 2007 21:15:27 -0500
Hi all,

Is there a way to leave auto indent turned on and paste into the 
document without having it stair-step into deeper and deeper indent?

For example, if I highlight this code:

    sub lp.dupLine( doc )
    {
        mp.store_undo( doc );
     
        ins( doc.txt.lines, doc.txt.lines[ txt.y ], doc.txt.y );
       
        doc.txt.mod++;
    }

and I paste it into mp-5 using a center-click, I get this:

    sub lp.dupLine( doc )
    {
        mp.store_undo( doc );

             ins( doc.txt.lines, doc.txt.lines[ txt.y ], doc.txt.y );

                     doc.txt.mod++;
                     }

Does anyone know a way to turn off auto-indent for a paste?

Thanks,

Lee





-- 
To unsubscribe, send mail to mp-unsubscribe_lists.triptico.com.
Received on Thu Dec 06 2007 - 03:29:17 CET

This archive was generated by hypermail 2.2.0 : Thu Apr 10 2008 - 08:59:26 CEST