[TxMt] (no subject)
tm_calfeld at mac.com
tm_calfeld at mac.com
Tue Sep 18 16:35:25 UTC 2007
I wrote a little script a while back to help with some of this. You
can grab the bundle at
http://homepage.mac.com/calfeld/SimpleWrap.tgz
It defines two commands:
WrapSelection wraps the selection. I bind it to ^Q for myself but I
left it unbound in the bundle.
WrapAtLine Cmd-Ctrl-Q. Wrap the paragraph around the current line.
Unlike the text mate wrapping it'll look for an initial prefix of
symbols and preserve it. This makes it wrap most comments properly.
I.e.,
# some sample comments
# that span multiple lines
Wraps to
# some sample comments that span multiple lines
I use it extensively in my own development and while it's not always
right it's more useful than the built in version.
It's not very advanced and, at this time, I have no intentions of
supporting it or adding features. But it might handle the first item
in your wish list or serve as a starting point for your own custom
wrapper.
c.
On Sep 18, 2007, at 3:05 AM, DushanM wrote:
> This is my third attempt to send these questions.
>
> When reformatting a paragraph using ^Q, TextMate starts reformatting
> from the beginning of the paragraph, puts just one space between
> sentences, then leaves the cursor in that paragraph.
>
> Is there an option to specify two spaces between sentences?
>
> Might as well mention two other items in my wish list:
>
> - reformat starting from the line containing the cursor
>
> - when done with one paragraph, place cursor at start of the next one
>
> Are any of these doable at present in TextMate?
>
>
> ... while I'm at it I'll repeat an even earlier question that I never
> saw show up:
>
> - when in a window for saving or opening a file, right below the name
> is the folder being looked at; is it possible to arrange to have
> that
> show the full path to the folder instead of just the folder name?
> I sometimes have similarly-named folders in different places, and
> seeing the full path would let me distinguish between them.
>
>
> Thanks.
>
> - Dushan
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
--
[PGP Key available at www.keyserver.net - http://homepage.mac.com/
calfeld]
More information about the textmate
mailing list