[TxMt] Re: Unknown items in the languages list

Matt Neuburg matt at tidbits.com
Sat Apr 11 14:04:53 UTC 2009


On 4/10/09 4:18 PM, in article 22995446.post at talk.nabble.com, "Ca1icoJack"
<T_G_T_101 at me.com> wrote:

> I've just started using Textmate and know very little about it, I was
> wondering why the svn-commit.tmp, Regular Expression (Oniguruma), Regular
> Expression (Python), Release Notes and Strings File are in the languages
> list since they seem to do nothing.

See section 12.1 of the TextMate docs for what a "language" is. It defines a
scope type. TextMate's behaviors as an editor depend on scopes. The things
you list are all scopes:

text.subversion-commit, for when you're committing in svn

source.regexp.python and source.regexp.oniguruma, for when you're editing
regular expressions in python source and in source generally

text.plain.release-notes, for when you're editing release notes (such as
those that appear each time there's a new release of TextMate)

They do not "do nothing". It's just that you have not done anything with
them yet. For example, make a new TM window, save it as "testing.re", and
you will see Regular Expression (Oniguruma) spring to life in the language
popup. Similarly, if you use the svn bundle and do a commit, you'll find
yourself in a subversion-commit document.

m.

-- 
matt neuburg, phd = matt at tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings






More information about the textmate mailing list