|
From: Slava P. <sl...@je...> - 2003-02-08 05:08:59
|
Hi,
The Join Lines command puts the caret between the two lines then removes
whitespace in between. So you can write a macro that does for example:
textArea.joinLines();
textArea.userInput(' ');
Is this what you are looking for?
On February 7, 2003 08:10 pm, Chris Petersen wrote:
> Not sure how other people use this, but I would find this command a lot
> more useful if it knew how to add a space between the lines. Maybe
> there's already a function to do this?
>
> Brings me back to BBEdit's "wrap" and "unwrap" commands... "wrap"
> brings up a dialog with some parameters (reverse, columns, etc) and then
> word-wraps your selected text. and unwrap does the opposite, with
> decent detection of punctuation and word boundaries - well, nothing
> dictionary-like, but good enough)... very handy.
>
> hmm, guess this could go into the "text tools" plugin, too. anyway,
> just more mind meanderings after a long day of coding..
>
> -Chris
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
--
Slava Pestov
|