TextMate installs a new 'mate' command that can be used to open files
and directories from the command line. I don't recall if it installs
the command automatically, or if you need to do something special to
invoke it, sorry.
Folding can be tricky, as it matches both open/close folding
characters for the language you're currently using, and the indent
level must be correct as well. Plus, of course, they need to balance
correctly.
Not sure about the beeps, I only recall TextMate beeping during a
search, if it's found the last occurance and I ask it to find the
next one (which there isn't one).
Hope this helps,
- Dave
Hi,
I am trying to come up with a solution and thought that some of the
brilliant members of the list would have some ideas/suggestions.
I work in an environment where 3-5 people edit files for multiple
sites that are in the webserver of a shared server (currently accessed
thru smb). most of the edits are html, and I don't want to "burden"
them with checkin/checkout/etc etc
However, I am setting up new development box (ubuntu) and want to use
svn/trac/etc.
I already have (and use) tm project files for each "site" and I keep
them in the parent directory of htdocs on the share.
can the project file have all the svn project info and handle things
on open/save?
thanks
--
dc
-----
David Clark
Database Developer
Institute for Community Inclusion (http://www.communityinclusion.org/)
david.clark(a)umb.edu
(617) 287-4318
Hi,
Would it be possible to add support for correctly syntax highlighting
code in markdown blog posts?
I have the iG:Syntax Hiliter plugin <http://blog.igeek.info/wp-
plugins/igsyntax-hiliter/> which highlights the code when viewed
online, but it would be nice to have the code highlighted in
TextMate. The syntax for this plugin is ....
[perl]
# perl code here
[/perl]
[ruby]
# ruby code here
[/ruby]
etc.
What would be the best way to do this?
- Luke.
I've just noticed that template for XHTML/1.1 has been changed to include
application/xhtml+xml content type in <meta> element.
This is completly misguided as <meta> is there only for
backwards-compatibility non-XHTML user-agents -- that is only those which
*do not* support application/xhtml+xml.
From W3C XHTML FAQ:
"Note that a meta http-equiv statement will not be recognized by XML
processors, and authors SHOULD NOT include such a statement in an XHTML
document served as 'application/xml' (and 'application/xhtml+xml' as well
for that matter)."
Please change it back to text/html or remove <meta> element completly.
--
regards, porneL
hello
With a a latex file the commands of textmate : create a html file and
creta a css file don't work
tm_dialog_v5: invalid option -- a
tm_dialog r6021 (2006-11-16)
Usage: tm_dialog [-cmqp] nib_file
Usage: tm_dialog [-p] -u
Options:
-c, --center Center the window on screen.
-d, --defaults <plist> Register initial values for user defaults.
-m, --modal Show window as modal.
-q, --quiet Do not write result to stdout.
-p, --parameters <plist> Provide parameters as a plist.
-u, --menu Treat parameters as a menu structure.
tm_dialog: you have updated the Dialog plug-in to v7 but the
tm_dialog tool is still at v5
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
dialog.rb:53:in `initialize': No such dialog ()
(TextMate::WindowNotFound)
} for command: /Applications/TextMate.app/Contents/SharedSupport/
Support/bin/tm_dialog -a -c -p \<\?xml\ version\=\"1.0\"\ encoding\=
\"UTF-8\"\?\>'
'\<\!DOCTYPE\ plist\ PUBLIC\ \"-//Apple\ Computer//DTD\ PLIST\ 1.0//EN
\"\ \"http\://www.apple.com/DTDs/PropertyList-1.0.dtd\"\>'
'\<plist\ version\=\"1.0\"\>'
'\<dict\>'
'\ \<key\>details\</key\>'
'\ \<string\>\</string\>'
'\ \<key\>isIndeterminate\</key\>'
'\ \<true/\>'
'\ \<key\>summary\</key\>'
'\ \<string\>Creating\ HTML\ version\ of\ selection…\</string\>'
'\ \<key\>title\</key\>'
'\ \<string\>Progress\</string\>'
'\</dict\>'
'\</plist\>'
' ProgressDialog.nib from /Applications/TextMate.app/Contents/
SharedSupport/Support/lib/dialog.rb:26:in `new'
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/
dialog.rb:26:in `dialog'
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/
progress.rb:40:in `call_with_progress'
from /tmp/temp_textmate.h1501H:5
and with create a css
/Users/ego/Library/Application Support/TextMate/Bundles/
TextMate.tmbundle/Support/lib/doctohtml.rb:47:in `require': No such
file to load -- /Applications/TextMate.app/Contents/SharedSupport/
Support/lib/plist (LoadError)
from /Users/ego/Library/Application Support/TextMate/Bundles/
TextMate.tmbundle/Support/lib/doctohtml.rb:47:in
`generate_stylesheet_from_theme'
from /tmp/temp_textmate.hIcEvZ:3
Alain
Hi all, I just downloaded the update to TextMate and my `new environment
based on current word' seems to have been broken: command { gives
/Library/Application
Support/TextMate/Bundles/Latex.tmbundle/Support/lib/config_helper.rb:1:in
/bin/bash: -c: line 1: unexpected EOF while looking for matching `''
/bin/bash: -c: line 4: syntax error: unexpected end of filerequire'
from /tmp/temp_textmate.xBSaAH:4
It worked before. The new command code is:
#!/usr/bin/env ruby
SUPPORT = ENV['TM_BUNDLE_SUPPORT']
require ENV['TM_SUPPORT_PATH'] + '/lib/dialog'
require SUPPORT + '/lib/config_helper.rb'
@plist = Config.load
shortcuts = @plist['environments']
lshortcuts = @plist['labeled_environments']
if ENV['TM_SCOPE'].match('beamer') then
shortcuts.update(@plist['environments_beamer'])
lshortcuts.update(@plist['labeled_environments_beamer'])
end
name = STDIN.read
cmd = nil
if name == "" then
arr = ["custom…",nil] + (shortcuts.keys+lshortcuts.keys).sort
ind = Dialog.menu(arr)
if ind.nil? || ind == 0 then
name = ""
else
name = arr[ind]
end
end
for key in shortcuts.keys do
if shortcuts[key]['triggers'].index(name) then
cmd = key
setting = :no_label
dict = shortcuts
end
end
for key in lshortcuts.keys do
if lshortcuts[key]['triggers'].index(name) then
cmd = key
setting = :label
dict = lshortcuts
end
end
if !cmd.nil? then
print "\\begin{#{cmd}}"
print "\n" if setting == :no_label
print dict[cmd]["content"] || "\t$0"
print "\n\\end{#{cmd}}"
elsif name == ""
print "\\begin{${1:env}}\n\t$0\n\\end{${1:env}}"
else
print "\\begin{#{name}}\n\t$0\n\\end{#{name}}"
end
Thanks,
Anand Patil
Hi
I have changed
\s+
by
\s*
in the (L)anguage grammar for to C recognize also "name(args)" and
not only "name (args)" as function prototype in C.
I did easily the change in the C bundle, but my question es:
is it the best way of changing an standard bundle?
if that bundle is updated in the future by the TM developers, will
it be updated in my system?
Thanks
On Feb 27, 2007, at 9:14 AM, Allan Odgaard wrote:
> Could you btw make a case for the new Ruby syntax? I never figured
> out what problem it was supposed to solve.
The default Ruby syntax doesn't scope enough stuff.
There are very basic things that are completely missing like
method calls, operators and lambda variables.
My Ruby Experimental adds these basic things and a few other niceties
like leading space and core library method names and better
punctuation support.
The advantage is partly for the ability to better theme Ruby files,
which many people like myself are looking at all day every day.
Looking at mostly white on black text all day is enough to make you
go mad.
Another advantage is in using the Select Scope command to better and
more quickly select the current relevant scope.
When you don't know the language as well as you'd like, having the
core library methods colored slightly differently can really help you
to quickly notice any misspellings and such.
So, to sum up:
finish scoping the basic syntax of the language
different kinds of operators, methods, lambda variables, basic
punctuation like the => thing, etc…
core methods
Improved text interaction with select scope
improved readability with leading space scopes
improved awesomeness with the minimization of unscoped generic text
But, that's not really the point.
The point is that a syntax should scope as much as possible, not as
little as necessary.
Then it's up to each person to choose how you use those scopes.
Just take a bit of a peek for yourselves internet people!
Would you rather spend all day looking at this:
http://flickr.com/photo_zoom.gne?
id=404629435&context=photostream&size=o
or this?
http://flickr.com/photo_zoom.gne?
id=404629540&context=photostream&size=o
(if you hate that theme, just pretend you love it instead)
thomas Aylott — subtleGradient — CrazyEgg — sixteenColors
Yep, Allan,
that did it.
sorry for reading only parts...
Thanks,
Claus
On 5-Mar-07, at 1:00 PM, textmate-request(a)lists.macromates.com wrote:
> From: Allan Odgaard <throw-away-1(a)macromates.com>
>
>
> Please see http://macromates.com/textmate/manual/
> bundles#setting_lc_ctype