It was supposed to be nice weather for those brilliant May 1st Labour
Day, but it's not, barbecue gonna be tommorow... so I'm writing here
about my favorite text editor :>
I was wondering if I'm missing some hidden TM option to enable some
more sophisticated undos in TM, and I found this:
http://nslog.com/2006/11/08/textmates_undo
So, are some non-single character undos on the horizon of TM? I'm
aware it is all about TM 2.0 will relay on NSTextView that does it for
free, but how about 1.x? Something easy at least as whole word or
whole edited line undo would be enough, just to keep our fingers less
stressed of pressing ⌘Z.
Regards,
--
Adam Strzelecki |: nanoant.com :|
I looked somewhere on the internet to find out why I get this problem and it
looks like is a problem of python versions, but I didn't find a way to fix
it..
Here it is the error, maybe someone else got the same problem here...
Thanks
Traceback (most recent call last): File "", line 7, in File
"/Users/andrea/Library/Application Support/TextMate/Pristine
Copy/Bundles/Python.tmbundle/Support/DocMate/docmate.py", line 7, in import
urllib2 File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py",
line 91, in import hashlib File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/hashlib.py",
line 133, in md5 = __get_builtin_constructor('md5') File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/hashlib.py",
line 60, in __get_builtin_constructor import _md5 ImportError: No module
named _md5
--
View this message in context: http://www.nabble.com/Problems-with-python-bundle-tp20577401p20577401.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi All,
I’m not sure if this has already been addressed, but I noticed
that my CSS language grammar highlights “transparent” in
{background-color: transparent;}, and most everything after that, as
an error (scope = invalid.illegal.css). The more common {background:
transparent;} doesn’t trigger the error, and in that
case “transparent” gets the scope “name =
'support.constant.property-value.css'.” I added transparent to
the value list in “name = 'support.constant.color.w3c-standard-
color-name.css',” which may not be the right place, but works
for me.
peace - oli
Hi folks,
I'm a Wordpress user, and I also use a few plugins that make use of
custom fields, which are arbitrary key,value pairs that can be
associated with posts.
I've implemented support for these into the blogging bundle. I've
attached both a diff and a zip of the entire modified bundle.
It adds a 'Custom' header item, which has the format:
Custom: field_name (field_id) = field_value
Where field_id is an optional numeric value, and retrieved when
fetching posts.
Cheers,
Michael
--
Michael Tyson | michael.tyson.id.au
m: (+61) 0407 754 124
e: mike(a)tyson.id.au
aim: mikerusselltyson
twitter: MichaelTyson
Hi,
I have a bash alias called mb ("mate bash") to edit my bash config files
(and a few others). It's pretty simple:
alias mb='mate ~/.alias ~/.bashrc ~/.profile ~/.inputrc ~/.screenrc'
This worked fine when I first used it (quite a long time ago) but I've just
tried it today and it only half works. I get the project drawer listing the
5 files, but .profile and .bashrc don't open in TextMate when I single-click
them. If I double-click them, .profile opens in TextEdit and .bashrc gets
executed in a terminal.
What settings can I change to get back the old behaviour? I realise it's
probably a system setting rather than something TextMate-specific, but I
can't even find a way to show dotfiles in the finder so I can "always open
with...".
Thanks
Jon
(Apologies if this is a duplicate post--my previous didn't seem to "take".)
I stumbled upon the description of WebMate, a TextMate plugin that lets you edit
a document (say, HTML) directly in the preview window rather than in source.
Unfortunately, all the links I could find (which eventually pointed to End.com)
were dead.
Does anyone know a mirror site, have a copy of WebMate themselves, or have
suggestions for a replacement?
Many thanks from a happy TextMate user!
jon
/RR (http://responserequested.com)
Hello. I've been using TextMate for writing Objective-C for the iPhone.The
features that come in the Objecive-C bundle are great but the supported
frameworks for documentation look up and completion do not include the
iPhone SDK / Cocoa Touch Frameworks.
This thread <
http://thread.gmane.org/gmane.editors.textmate.general/25089/focus=25595>
resolved the documentation issue for me but I'm still trying to get
completions for the iPhone specific frameworks/Classes.
So far I have tried to use the Index Headers For Completion command to index
the Cocoa touch headers. I created a TextMate project and copied all the
UIKit framework header files to the project folder.
I ran the Index Headers command but the generated .classes.TM_Completions.txt
and .methods.TM_Completions.txt files where empty.
I then opened the GenerateMethodList.rb script and added "UIKit" => "UI" to
the "translate" array. After doing this some Classes show up in the
generated completions files but the list is far from complete. This is the
generated clas list:
NSValue
NSCoder
UIColor
UIFont
UIViewController
NSBundle
NSObject
NSString
NSIndexPath
UIView
I don't know why the NS* classes show up in the list and I dont know what
sets the UI* classes in the list appart fro all the other UI classes that
didn't show up. I've never written a single line of Ruby and there are a lot
of things I don't understand in the generateMethodsList.rb script
Allan or anybody else, If you are listening, could you please give me some
pointers as to how to index these header files (Along with the other
iPhoneSDK/Cocoa Touch header files) and use them for completions in my
projects?
I would love to help including this in the official Objective-C bundle or
help create a new Objective-C iPhone bundle.
Thanks!
RafaVega
I'm using TextMate with OCaml extensively, and use an Eval script from
Johan Kullbom to send either a selection or a current line to an iTerm
with ocaml interpreter in it (adapted from F#):
http://blog.hoomla.se/post/F-TextMate-bundle-on-Google-Code.aspx
The problem is, OCaml grammar doesn't really show functions properly,
fold-unfold handles make no sense. Thus, I have to select a function
manually if I want to send it to ocaml.
Now I chose "Line" in Input: [Selected Text] or [Line], but what I'd
really like to choose is "Non-blank line segment around the cursor".
I'm not sure what can I do with the [Scope] there, as scopeName
defines the whole 'source.ocaml', AFAICU.
So, is there a way to achieve "select Non-blank line segment around
the cursor, then send THAT to ocaml using an Eval snippet or similarly"?
Cheers,
Alexy
I'm trying to rebind ^j to insertNewline. I've tried the following:
1: cp /Applications/TextMate.app/Contents/Resources/
KeyBindings.dict ~/Library/Application\ Support/TextMate/
2: edit the local copy and change ^j to map to insertNewline:
diff /Applications/TextMate.app/Contents/Resources/KeyBindings.dict ~/
Library/Application\ Support/TextMate/KeyBindings.dict
63c63
< "^j" = "reformatTextAndJustify:";
---
> "^j" = "insertNewline:";
3: restart TextMate, but ^j is still bound to Reformat & Justify
I also tried removing /Applications/TextMate.app/.../
KeyBindings.dict, but that didn't help either. I'm using TextMate
Version 1.5.7 (1436) on Mac OS X 10.5.5 (9F33)
Any ideas?
--
Peter McLain
27 nov 2008. New build of TM.
DIALOG2 now part of TM (i'm sure its there).
Can i use dialog2 to choose categories? Can i use DIALOG2 to
autocomplete Python/Django code? How can i use DIALOG2 in common?
Changelog says nothing i can understand...
-- Alexey