Hello all,
I've been doing some haskell programming lately, and I noticed that
the haskell TextMate bundle doesn't handle string and character
literal lexemes correctly. I've made some changes to improve this
support on my computer, but I'd love to see this in the official
repository. Can I supply a patch somehow?
Thanks,
Nick
Hi,
Textmate has starting to hang when closing the application. I don't
have to do anything special for it to happen, just open a project,
work on it and then try to close textmate.
Textmate 1.5.7 (1436)
Leopard 10.5.1
Plugins(Don't know how to check plugin version but they are the latest
from Ciarán Walsh blog)
ProjectTree
Svn
TMLabels
log attached
Thanks,
-Erik
Hello,
I have made a small edit to the Lua plist file.
Currently the Lua bundle does not recognize "local function foo ()" as
the beginning of a fold. In Lua, "function foo() end" is actually
syntactic sugar for "foo = function() end", thus functions can be made
local with "local function foo ()".
I have edited the plist file so that it recognizes "local function" as
a fold start, however because I am new to Textmate I don't know how to
match whitespace characters. The space should probably be matched with
that instead.
greetings,
Tom
Hi.
I just updated my bundles and Support folder from SVN and Blogging
bundle stops working... If i write `cat` and press tab to fetch
categories i get this error:
/tmp/temp_textmate.BuBXl2:8:in `require': /Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:400:
syntax error, unexpected tLSHFT, expecting kEND (SyntaxError)
<<<<<<< .mine
^
/Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:410:
syntax error, unexpected tEQQ, expecting kEND
=======
^
/Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:420:
syntax error, unexpected tRSHFT, expecting kEND
>>>>>>> .r8583
^ from /tmp/temp_textmate.BuBXl2:8
All i know about Ruby - its name. Ruby ;) Maybe someone can help?
Hi,
I have a Russian colleague. He is really hooked of TextMate's
possibilities. Unfortunately he is very poor in English. He asks me
whether there are plans to localize TextMate.
AFAIK TM's code isn't written in that style. Meaning there's no
'Localizable.string' etc. And I know that it would cost much effort
to rewrite the entire code in that way. But anyway it's only a
question ;)
Thanks,
--Hans
Folks,
I'll keep it short:
Anyone got a "newsreader" (desktop, NOT web app) that will put ALL
posts to a subject in one ever-appended document that I can just
scroll down to read? Something intelligent that will chop all
quoting, signatures, header blather? Again, that's: ONE (growing)
document per subject per email list. Thanks. From my subscribed
reading, I figure this lists' members prefer well-tuned tools and
someone may have a solution to share.
hello:)
I would like to use Quick Look with .tex , .sty , .cls files created
with TextMate but all the hacks found on the net or in the list
don't work.
Do you know a good way to make this ?
Best Regards
Alain
Hi,
I occasionally need to hard wrap text, meaning that carriage returns
are inserted to make the text wrap at a certain column. The Text
bundle has a command to do this; it's called "Reformat to Column".
Because of this unorthodox name, I always have trouble searching for
it because I expect the command to have the word "hard" or "wrap" in
it. Could it be changed? For example, I noticed that the "Statistics
for Document" command has "(Word Count)" in parentheses because few
people wanting to find a word count command would search for the word
"statistics". And I suspect few people wanting to find a hard wrap
command would search for the word "reformat". How about renaming the
command to "Reformat to Column (Hard Wrap)"?
Trevor
You can edit the tidy configuration in TextMate. Open the bundle editor and
find Tidy in the HTML section.
I altered mine to this:
> # BEWARE. Errors are suppressed.
> "${TM_TIDY:-tidy}" -f /dev/null -q --indent auto -utf8 -wrap 0
> --wrap-attributes 0 --break-before-br 1 --clean y --word-2000 y --tab-size
> $TM_TAB_SIZE --indent-spaces $TM_TAB_SIZE|\
> if [[ "$TM_SOFT_TABS" == "YES" ]]; then cat; else ruby -pe '
>
> unless $in_pre
> tab_size = ENV["TM_TAB_SIZE"].to_i
> space, text = /( *)(.*)/m.match($_)[1..2]
> $_ = "\t" * (space.length / tab_size).floor +
> " " * (space.length % tab_size) + text
> end
>
> $in_pre = true if(/<pre>/)
> $in_pre = false if(/<\/pre>/)
> '
> fi
>
You can play with your own preferences to make it like you like it. The
docu is:
http://tidy.sourceforge.net/docs/quickref.html
Tidy is handy, but I haven't been able to make it work exactly like I like
(HTML tidy or Perl tidy), but it's at least close.
I did check to see if your line would be broken up, and it was not.
tigercore wrote:
>
> The HTML Tidy function used to tidy the code in this format:
>
> <p>Paragraph Text here</p>
>
> but not for some reasons its doing it like this:
>
> <p>
> Some text here
> </p>
>
> And putting everything on a new line. It's also changing the doctype from
> XHTML Transitional to XHTML Strict.
>
> Anyone know why it's doing this? Is it a preference or somhing I have
> changed somewhere?
>
>
--
View this message in context: http://www.nabble.com/HTML-Tidy-Weirdness-tf4771947.html#a13907232
Sent from the textmate users mailing list archive at Nabble.com.
[I'm reposting for a third time, since I wasn't subscribed at first, then I
reposted as a subscriber, then deleted my *accepted* post. N00b. :confused:]
I created a bundle command to open a file from a repository directory, based
on the selected text. It was put in the Text bundle, with no particular
context.
Here's my current (working) command.
open "file:///path/to/repository/volume/$TM_SELECTED_TEXT.pdf"
This will open the PDF file with the selected filename. (I use open since I
want to see the PDF in Acrobat, not TextMate.)
However, now there's arbitrary (unknown) text attached to the filename, so I
want to use a wildcard in this command.
I got a suggestion to use an unquoted * as a wildcard. But if AAAA is
selected, this command:
open "file:///path/to/repository/$TM_SELECTED_TEXT"*
will open a file in Textmate named AAAA*, which is not what I want: I want
AAAA.pdf and AAAA-morestuff.pdf to open.
Any help is appreciated.
Thanks
Darryl
[I originally had this question attached as a comment to a TextMate blog
entry, where Allen Odegaard posted the * wildcard suggestion, but it didn't
work in this context.]
--
View this message in context: http://www.nabble.com/repost%3A-Command-to-open-arbitrary-files-in-TxMt-tf4…
Sent from the textmate users mailing list archive at Nabble.com.