When we get the new scope injection system for syntaxes we should
plan on making some big changes to the current state of many bundles.
We currently have a Ruby syntax, and the Rails syntax includes it.
The current Rails syntax seems to be targeted at Rails 1.1.x.
I'm torn about upgrading that syntax however.
On the one hand, the official Rails syntax should support the latest
version of Rails, but I'd hate to introduce some incompatibilities
with current applications written for Rails 1.1.x.
The new organizational method should be something like this.
Root language syntax
Contains only the basic scopes for the language syntax itself and
any built in language stuff.
Core library syntax injector
Injects the core library support junk into the Root language syntax
Other Library syntax injectors
EG: Rails 1.1.x injector, Rail 1.2 injector, Rails 2.0 injector,
Camping injector, etc…
Personal syntax additions
Inject support for all your personal libraries and classes and junk
Optional syntax niceties
EG: Rails 1.2 deprecated code, nested brackets, leading space, etc...
That way all of the layers are nicely segregated from eachother.
Nothing can really change the basic Ruby syntax, so a single
tmLanguage should scope the entire thing.
Then you can add stuff where you need it in a nicely segregated way.
thomas Aylott — subtleGradient — CrazyEgg — sixteenColors
Hi there,
I've been trying to send this to the dev list, but somehow the message
didn't make it to the list.
I'm trying to commit the wonderfull JavaScript Tools Bundle[1] by
Andrew Dupont to the repository, but it seems I'm not allowed to
commit outside "my" bundle (that would be ActionScript.tmbundle)
Is any of the JavaScript Bundle mantainer (or someone with full access
to the repo) willing to commit it?
Tha bundle is fully tested and ready for commit :)
Thanks in advance, and sorry for the OTish.
[1]: http://www.andrewdupont.net/2006/10/01/javascript-tools-textmate-bundle/
--
Ale Muñoz
http://sofanaranja.comhttp://bomberstudios.com
Hi,
I write a lot of JavaScript and some C and I find that the automatic
indenting doesn't work correctly very often when I cut an paste.
Textmate seems to think I want the pasted text indented more than it
should be. Does anyone else have this sort of trouble? Is there a fix?
Thanks,
Peter
Hi all,
I seem to have messed up my TextMate theme default and was wondering if
anyone could tell me how to fix it. I toyed with the colors of my
favorite theme (Vibrant Ink) and decided I didn't like the changes, so I
uninstalled and then reinstalled the theme. But now when I restart
TextMate it doesn't recognize Vibrant Ink (which does not show up in the
theme list). I looked in ~/Library/Applcation Support/TextMate/Themes,
and the .tmTheme file is there. So what's up? Any clues? I miss Vibrant
Ink :<
Thanks,
Jake
Hi All,
I'm using TextMate 1.5.4 (r1324) on Mac OS X 10.4.8 PPC. I've got the
subversion bundle from the GetBundles bundle, with the latest
tm_plugin checked out by hand from the Plugins dir in subversion on
the macromates server.
When I try to view the log of a file I get the following error, all
the other subversion features seem to work fine -;
NoMethodError
reason: undefined method `text' for nil:NilClass
trace:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/format_log_xml.rb:22:in `author'
(erb):32
/opt/local/lib/ruby/1.8/rexml/element.rb:939:in `each'
/opt/local/lib/ruby/1.8/rexml/xpath.rb:53:in `each'
/opt/local/lib/ruby/1.8/rexml/element.rb:939:in `each'
/opt/local/lib/ruby/1.8/rexml/element.rb:398:in `each_element'
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/format_log_xml.rb:18:in `each_entry'
(erb):28
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/format_log_xml.rb:165
Thanks
---
Jeremy Wilkins
dear all,
i'd like to pose a few basic questions when using textmate for latex
files:
(1) is there a way to get the 'typeset & view window' display the log
file, the way you can have it with emacs?
it seems that changing the values of TM_LATEX_ERRLVL doesn't help ...
(2) is there a way to get textmate use a dvi-previewer? (for reasons
of speed, i still prefer dvi when working on my files).
(3) is it possible to change the fonts (i.e. same font as in in the
editing window) and the header of the 'typeset & view window'?
what's the place to do it?
thank you!
greetings,
christoph eyrich
In early Jan I made a bunch of changes to my blogging bundle, some
overrides, some I had to edit the .rb files by hand.
Whats the best way to compare my changes to the svn tree and submit
them as a patch to be reviewed?
Hi,
I am new to textmate and bibdesk. I am not able to format citations. I can
follow the tutorials but if I try to cite from bibliography completion I get
\cite{sh: line 1: /usr/local/teTeX/bin/i386-apple-darwin8.3.1/kpsewhich:
cannot execute binary file
sh: line 1: /usr/local/teTeX/bin/i386-apple-darwin8.3.1/kpsewhich: cannot
execute binary file
Ng1}
I am using a PowerPC G4, with os x 10.4.8 and textmate 1.5.4.
I have found some suggested workarounds by Özgür Gökmen... But unfortunately
don't understand what I should be changing or where to find some of the
files I need to change.
If anyone has had similar problems and can point me in the direction to
solving this error I would greatly appreciate it.
-Michael
Hello All,
Great to see such an active community for a text editor!
I've been using TM for a largish python project. I have quite a few
source files now and using the project draw and tabs to navigate
between them.
Anybody know how I can mark one file in my project as the file to run
using the Run Script Command.
Would I need to modify the Run Script Command for this to work?.
I've looked at it in the bundle editor but it makes no sense to me. I
tried hacking some changes in so that it would run a specific file
rather than $TM_FILEPATH but without luck.
Any help much appreciated.
Jay.
I've been trying to get the perforce bundle installed
on my macpro; I'm using the bundle browser at
<http://netcetera.org/cgi-bin/tmbundles.cgi>
I copied the script locally and ran it, and I kept
getting the error:
svn: Can't convert string from 'UTF-8' to native
encoding:
subversion/libsvn_subr/utf.c:464: (apr_err=22)
svn: Perforce.tmbundle/Commands/Submit
Changelist?\226?\128?\166.plist
I found that editing the script and adding the line:
export LC_TYPE
after the line that sets LC_TYPE fixes this problem.
The UTF-8 was for the ellipsis character.
Just FYI,
Rudi
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news