Hi,
I'm finding the new calculated gutter themes quite jarring (build 9287). Would it be possible to have an option to revert to the old default gutter theme?
Adam
Hello, I recently used the Bundle Editor, and I noticed that the search
functionality (CMD-F) tends to work once and then never again, but is
somewhat unreliable (e.g. I was able to get it to work again once if I
closed the bundle editor then opened it again, but that only worked
sometimes)
I'm on a Macbook Pro 3,1 running 10.8.
-E
It's very common for CJK users to handling files with different
encodings. I want Textmate to show current file's encoding in the
status bar, and it will be better if I can convert a file's encoding
with a mouse click in Textmate.
It's also will be nice to show the current file's line endings in
status bar, eg (DOS / UNIX), and let user be able to convert it from
on to another in Textmate.
--
Yuan Jiang
http://blog.vetcafe.nethttp://twitter.com/sleetdrop
On Aug 18, 2012, at 7:17 PM, Gerd Knops wrote:
>>> - Right now it seems injection appends to the patterns. Would it be possible to also have 'early injection' where the new patterns are prepended to the patterns? I am experimenting with special comment sections like /*H: */, and can't seem to do this with injection. (Another example application: Headerdoc/Docbook comments /** */ etc).
>> I am not following why this would work for appending but not prepending… this is because you want to replace the _entire_ comment rule? As opposed to inject the grammar into the comment?
> Right. Here is a simple example: I like to use line comments '//' that begin at the start of the line as code separators, so I draw the line background in a different color, so basically
>
> match = "^//.*\n?";
>
> This doesn't work with injections, because the 'regular' grammar already gobbles up any '//', so the injected grammar never sees it.
>
> Similar for docbook comments: an injected grammar never sees the '/**' comments.
As for DocBook, you can inject into ‘comment.block’ and make the grammar:
{ patterns = (
{ begin = '\G\*';
end = '(?=\*/)';
name = 'text.docbook';
patterns = ( … );
},
);
}
Here \G anchors to the start of the parent match, i.e. directly after ‘/*’.
I don’t disagree on maybe changing the order of append/prepend, but there is a good case to be made for keeping as much parsing as possible in the original grammar.
By doing it that way, my rule above works with all comment types and can safely be injected into ‘comment.block’ rather than having to specify a list of source scopes that use ‘/* … */’ comments (i.e. if injected into ‘source’ you’d suddenly have rules for matching such comments in languages that do not support them).
The line comment rule, I am not sure if there is a case for changing how our “canonical” line rule should be made, perhaps matching ‘//’ with a look-ahead so that this can be re-parsed (and tested with ^) by the injected rule, or perhaps injected rules should run on the _entire_ scope, rather than start at where the ‘begin’ stopped.
My goal is to keep this generalized, so your injected rule to add a scope to line comments without leading whitespace would not just add a rule for double-slash comments (as not all languages may support this, and having to provide a list of which do, in the injection scope selector, fails to exploit the semantic value of scoping).
> Another example is leading whitespace: I like to have leading tabs highlighted with alternating light backgrounds, like so:
>
> <PastedGraphic-2.png>
>
> I would LOVE to use injection for that, unfortunately many definitions eat up leading space. So my only recourse is to write custom language grammars for ALL languages I want to have this feature (eg ALL languages I use), start with my rules (so they get first dib), then include the actual language.
I fear though that if you were to inject the whitespace rule you would break these definitions that also parse the whitespace, as many do things like: ‘^\s*«keyword»’ — I think either way, we need to “fix” these grammars to (generally) not parse the leading whitespace (I’m actually not sure why so many rules do this, and in some languages it’s *clearly* a bug, for example PHP’s ‘return’ keyword has the leading whitespace included not only in the match, but also the scope, meaning word selection/movement is wrong (as that leading whitespace is assigned the ‘keyword’ character class).
I just checked my own preferences and found that in addition to the bashrc
path contents, there is one more entry in TM's PATH variable, namely
/Users/[your user name]/Library/Application
Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/bin
Yes, there is a whitespace in between "Bundle" and "Support".
I actually don't remember whether it was there before I added my bashrc
paths, or if I appended it for any other reason, sorry. But you could try
that.
--
View this message in context: http://old.nabble.com/kpsewhich%E2%80%9D-to-PATH-in-TextMate%27s-Shell-Vari…
Sent from the textmate users mailing list archive at Nabble.com.
mtozsu wrote:
>
> But it is not clear what the variable name I should add should be (I tried
> TM_PATH and it did not work)
>
I may be wrong but try to simply name it PATH add the content of your
.bashrc path variable.
--
View this message in context: http://old.nabble.com/kpsewhich%E2%80%9D-to-PATH-in-TextMate%27s-Shell-Vari…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
to reproduce simply
- select a grammar which defines folding markers etc.
- type something which can be folded
- place the cursor just before the greyed three points indicator
- press e.g. ↩
it ends up like that:
[the problem - I can't even do an 'undo' and if I try to remove these CTRL char weird things happen]
or
- place the cursor just after the three point indicator and start typing
- nothing to see but the typed chars are stored within the folded block
Cheers,
--Hans
I updated from build 9270 to build 9275 last night, and it just crashes on launch every time, even if I opt not to restore windows.
I'm running 10.7.4 on a 2009 Mac Pro (4-core).
Crashlog: http://pastebin.com/3j47akHY
Reverting to build 9270 leaves me with a working editor once more.
Does anybody have any ideas what could be causing this? Unfortunately, it dies before showing the changelog, so I have no clues from that (I assume it's in the repo somewhere, but I haven't found where yet :)
Thanks
--
John Yeates
Hi,
I'm on 10.7.4 TM2 [9278] and any Bundle commands - invoked by mouse (via Bundle menu or status bar) - don't work. I only can execute commands via key equivalents.
Unfortunately I can't downgrade.
Any thoughts?
Cheers,
--Hans
Hi-
I have some java code that won't indent properly, and I would like to update
the syntax so it correctly identifies the end brace.
Simplified code looks like this:
package foo;
public class Foo
{
public static void main(String[] args)
{
new Transaction()
{
@Override
public void run() throws Rollback
{
System.out.println("In Main");
}
}.execute();
}
}
The problem is that the "}.execute();" line should have ended the "new
Transaction() {" block- but it doesn't. Whatever is trying to match the end
brace doesn't like the .execute() at the end.
Where/how might I be able to fix this?
Thank you,
-jamie
--
View this message in context: http://old.nabble.com/Change-java-indent--tp34273612p34273612.html
Sent from the textmate users mailing list archive at Nabble.com.
Just a thank you note for the on-going development of TM2, most recently the addition of the bundle menu to the bottom status bar by Elia Schito, full screen added to window and view (Jesse B. Hannah), and other improvements which make work so much more pleasurable.
--Gildas
On OS X 10.8:
* Invoking from command line does not get back to the prompt
* "Save" does not work anymore (no error, but the 'document change'
indicator in the menu title keeps showing), and any attempt to quit
the app prompts the "Do you want to save the changes you made in the
document ?" pop up
Anybody gets the same issues?
r9270 seemed ok.
BTW, is there an easy way to revert back to a nightly build or regular
version from the update window?
Cheers,
Manu
I'm looking for advice on the best way to hack minimal Vim support into TM2. I'm not looking to support all of Vim, but just a subset of what might be referred to as Vim normal mode.
Desired behavior
===
Until Vim mode is activated, TM2 should behave as normal. Once activated, all the <meta>*-<key> combinations will continue to work as normal TM2 commands, but non-meta key combinations will be interpreted as Vim commands.
Entering Vim normal mode
---
Traditionally, Vim normal mode is entered via hitting the escape key. Since most people won't want Vim behavior, there needs to be a toggle that enables Vim so that the escape key will work. This prevents existing TM2 escape behavior changing for those who don't want the optional Vim behavior.
Additionally, it is not uncommon for Vim users to remap the Vim normal mode entry trigger to something like "jj". This should be supported so that users can have the escape key retain it's traditional TM2 use.
Vim normal mode
---
I would like to support the full range of Vim commands for motion, deleting, and changing of text short of entering command mode i.e. ":<command>"
Vim command mode
---
No support, but maybe a subset later.
Vim search mode
---
I don't think this needs support, however it would be handy for '/' to map to opening the find dialog.
Approaches
===
I've spent a little time trying to figure out how to modify TM2 for Vim support and I'm not sure which direction I should go.
1) Hard code it right into TM2. It looks like I could start with OakTextView:keydown and branch off to a Vim interpreter if Vim is enabled. I think this is probably the easiest and most flexible approach.
2) Create a TM2 plugin/bundle that does most of the work, and modify TM2 just enough to provide the support that such a plugin/bundle would need. This approach worries, me because I'm not sure how much modification TM2 would need to expose all the required interface to the plugin system. Do TM2 plugins work the same as TM1 plugins? Is the TM2 plugin API in flux?
Thoughts?
I've been spoiled using all my TextMate macros and snippets in Mail in recent years. Unfortunately, after upgrading to Mountain Lion, Edit in TextMate is no longer working in TM 1.5.11 (1634) with Mail.app v6.0.
IIRC for past Mac OS upgrades, I've fixed this by re-installing Edit in TextMate via the TextMate bundle, making sure /Library/InputManagers is owned by root, then setting Mail.app to launch in 32-bit mode to enable InputManagers. But now in Mountain Lion I don't see the option under Mail > Get Info to launch Mail in 32-bit mode anymore.
1) Does anyone have a workaround for TM1?
2) Does TM2 (which I've not installed yet) have an upgrade/replacement for Edit in TextMate?
Thanks--jon
______________________________
It's not too late to catch up to the 21st century
Digital Curation online certificate
http://DigitalCuration.UMaine.edu
I'm looking for advice on the best way to hack minimal VIM support into TM2. I'm not looking to support all of VIM, but just a subset of what is known as Command Mode.
Desired behavior
---
Until Vim Command Mode is activated, TM2 should behave as normal. Once activated, all the <meta>*-<key> combinations will continue to work as normal TM2 commands, but non-meta key combinations will be interpreted as VIM commands.
Entering Vim Command Mode
---
Traditionally, Vim command mode is entered via hitting the escape key. Since most people won't want this feature, there needs to be a toggle that enables the Vim behavior so that the escape key would work. This prevents existing TM2 escape behavior changing for those who don't want the optional Vim behavior.
Additionally, it is not uncommon for VIM users to remap the Vim Command Mode entry trigger to something like "jj". This should be supported so that users can optionally have escape key can retain it's traditional TM2 use.
Vim Command Mode
---
I envision a basic set of Vim motion and selection commands:
Character movement:
k or up arrow - up
j or down arrow - down
h or left arrow - left
l or right arrow - right
Word movement:
e - to end of word as defined by current syntax (this is different from standard VIM behavior and should be reconsidered)
E - to end of a whitespace-delimited word
b - to beginning of word as defined by current syntax (this is different from standard VIM behavior and should be reconsidered)
--
Hans Stimer
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
I have read the threads about indentation problems and requests, and they don't seem to apply to my situation. I have somehow gotten TM2 so if I just hit return and type it indents every single line, no matter what, for Text and Python...
#!/usr/bin/env python
import sys
import time
import re
This even happens if I open a new blank plain text document and type:
asdf
asdf
asdf
asdf
I tried enabling and disabling the disable autoindent option in those two bundles, but nothing seems to change the behavior.
I have TM2.0, build 9147.
Thanks!
Seconded!
> On 9 Aug 2012, at 12:01, Rolf Langenhuijzen wrote:
>
>> Well, to me TM is money well spent, I'd renew my license any day.
>
> I would as well. Open-Sourcing it is *incentive* to pay for it, not
> vice-versa. It's the best of both worlds: lots of eyes on the little
> nit-picky problems, but someone who can dedicate their time to
> maintaining the larger vision and direction of the project, vet the
> contributed code for quality, and make sure there are regular dependable
> releases.
Am 10.08.2012 um 03:02 schrieb Allan Odgaard <mailinglist(a)textmate.org>
> Is this files with spaces?
Some of the directories in the path contain spaces, the actual file name does not. For instance, one of the files is called
/Users/max/Dropbox/research/piezoelectric effetcts in graphene (DL 2011)/top-current/section_3.tex
Thanks for fixing the bug!
Max
I've been using the TODO bundle for a long time in conjunction to help writing my research papers.
I've noticed that with Textmate 2, clicking in links of items in the Todo window (which covers the lower half of the window after pressing ctrl + shift + T) results in a »File Does not Exist« error message, although the link displayed points to the correct file. E. g. if you copy and paste the link into Safari, it will open a Finder window with the correct file selected.
To my knowledge, I have installed the latest version of the »official« Todo bundle (last updated in 2010, the one you can find at github.com/textmate/todo.tmbundle). I have also tried newer branches to no avail. The same version of the bundle under Textmate 1.5 works just fine.
Can someone point me in the right direction? My machine runs 10.8.0.
Thanks!
Max
This is some weird behavior. I've installed the Blogging bundle. Put in
my blog details like this:
blog_name http://admin@my_blog_url/xmlrpc.php
I successfully fetched posts. Once. Then it started failing with this
message:
Error: Bad login/pass combination. (403)
I deactivated all my Wordpress plugins. Same error. I went into
Keychain, deleted the password; tried fetching posts again (pasting the
PW into the dialogue box), and it works -- until...
I try fetching my blog's Categories, and get the following error:
Received exception: XMLRPC:: FaultException
XMLRPC:: FaultException: Bad login/pass combination.
[Several more lines of information, but I don't know how to capture
it!]
...And from that moment on, trying to Fetch Posts -- pasting the PW into
the dialogue box because the PW is no longer in the Keychain -- fails
with the "Bad login/pass" error. Can anyone help me figure out what on
earth is going on?
TIA,
Mark
Using:
TM 1.5.10 (1631)
Blogging & Multimarkdown bundles
OS X 10.6.8
WordPress 3.4.1
> On 7 Aug 2012, at 05:51, Max Lein wrote:
>
>> To my knowledge, I have installed the latest version of the »official« Todo bundle (last updated in 2010, the one you can find at github.com/textmate/todo.tmbundle). I have also tried newer branches to no avail. The same version of the bundle under Textmate 1.5 works just fine.
>
> You probably need to install the avian version: https://github.com/avian/todo.tmbundle though you should be able to install this bundle from the preferences pane as it's an official one.
Thanks for the link, I've installed the version of the TODO bundle specific to Avian and removed the old bundle. Unfortunately, that hasn't fixed my problem. Is there any way I can track down this problem any further?
Max
Hi,
when opening a file with Cmd-T it is opened in the editor. Now when
going to the Document (Cmd-Ctrl R, Go/Current Document), TextMate will
jump into the subfolder (instead of staying in the top folder. Any way
to configure TextMate2 so it will stick with the top folder (the one I
opened with mate) and not open the sub folder? Alternatively Keyboard
shortcuts to navigate the folder hierachy (going one folder up)?
A rails project with its 2-3 level deep directory structure it is
easier to see where I am when I now the folder (app/controllers, which
lib directory etc)
Christian
How and where do I define multi-language spelling? I use the LaTeX bundle and type different languages in my documents. I would like to define a scope for French, for instance, using \begin{french} and \end{french} as markers.
David Howden suggested a while back “to add to the grammar (creating scopes for different languages) and then set the languages for those scopes in the tm_properties file.” I would like to learn how to do that. I don't know regex (only very minimally) and where to define such scope. Thanks for pointers.
--Gildas
Hello:
In TextMate there was a "Fonts & Colors" preference panel where I could select which specific colours to use per syntax context. I can't find any such panel in TM2.
How do I adjust the colours so as to end up with my own scheme?
dZ.
Hey guys, two big things in TM2 that kinda drive me nuts and have me think
of re-installing TM1.5, and I'd like to see if I can fix them:
When having a directory opened as a project (my default way of working),
closing the last open file closes TM. In 1.5, TM stayed opened (the project
view) with an empty editing pane. You could then click on a file to open
it..
There was an option in TM1.5 when clicking on a folder to "Create new
file", and I sorely miss this. Any way to bring it back?
Thanks for any tips.
--
Wells Oliver
wellsoliver(a)gmail.com
TextMate seems to be smart enough to figure out that some file is already open in certain project, so calling "mate file" on already open file just brings existing TM window to front, also when file isn't open, but lays within some project window, it does bring this window to the font and opens the file inside it.
But.... when we try to "mate dir" where dir is already open in TM, it opens new window (copy) again! Can we please change this behavior? I often end up with multiple copies of the same dir/project, which often leads to unwanted modifications and real mess.
Cheers,
--
Adam Strzelecki | nanoant.com | twitter.com/nanoant
Thanks, this works nicely.
>
> ------------------------------
>
> Message: 4
> Date: Tue, 31 Jul 2012 12:05:04 +0200
> From: Allan Odgaard <mailinglist(a)textmate.org>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: selecting text
> Message-ID: <BD050B17-3506-4FA3-BAB6-D745F56CE3FC(a)textmate.org>
> Content-Type: text/plain; charset=utf-8
>
> On 31/07/2012, at 08.56, Rodney Ramcharan wrote:
>
>> [?] Is there a way in TM to select text by line numbers? For example, I need to select code from lines 30 to 70. Rather than manually holding down the shift and arrow keys from lines 30 to 70 is there a way to tell TM to highlight that specific range.
>
> If you are using 2.0 then hit ?L (Go to Line) and enter: ?30-70?.
>
> See ?Selection String Syntax? in the Help Book for all supported (range) specifications.
>
>
>
Suddenly spell checking (check as you type) stopped working. Also check spelling behaves in a strange way. I have inserted a misspelt word, I have clicked on it, and corrected it. Then I run Spelling -> Show spelling and grammar. In the dialog I see the word I have already corrected.
I am on TextMate 9147
All the best
Guido
> Hi there,
> Is there a way in TM to select text by line numbers? For example, I need to select code from lines 30 to 70. Rather than manually holding down the shift and arrow keys from lines 30 to 70 is there a way to tell TM to highlight that specific range.
> Thanks,
> Rodney
Hello there,
I was following the instructions on this page to check out all bundles for TextMate using SVN:
http://wiki.macromates.com/Main/SubversionCheckout
When I issued this command:
svn co http://svn.textmate.org/trunk ./
Encountered the following error message:
svn: Can't create directory '.svn': Permission denied
Would appreciate it if someone could offer me some assistance.
Happy programming,
Unnsse
Mountain Lion introduces a small bug in the synchronization
with Skim. I post here a temporary workaround for those who might
be interested and future reference.
Inside Skim>Contents>SharedSupport there is a small bash script,
displayline, which uses osascript to pass some info to Skim.
Apparently, Mountain Lion changed the way variables can be
passed to an AppleScript, so the following patch should
be applied:
lines 42,43,44 of displayline are
-e "set theLine to $line as integer" \
-e "set theFile to POSIX file \"$file\"" \
-e "set theSource to POSIX file \"$source\"" \
and they should be modified as follows:
-e "set theLine to ${line} as integer" \
-e "set theFile to POSIX file \"${file}\"" \
-e "set theSource to POSIX file \"${source}\"" \
(just add curly brackets in three places).
With this modification the command Typeset
in LaTeX should work again. This workaround
was suggested by Christiaan Hofman.
Enjoy
Piero
Hi All
There's a great new blog entry from James Gray on the TM2 Layout engine http://blog.macromates.com/2012/the-layout-engine/
In TM2, comments in source code are set to wrap, even on no-wrap lines. But the defaul wrapping is to stay to the right of the comment start.
This leads to lines like the one I append below :-)
You can fix this to your pleasure, and learn about Style settings.
Goal: Set comments to wrap, not under their start column, but, say, with a 20-char indent from the left margin of the code in the line
[12:43pm] timbates:Infininight: you are the master of assumed knowledge: Which match, where?
[12:43pm] Infininight:that one
consists of two parts: a match and a format string
The match string counts out the characters you want to wrap to. In the default case, all the way out to the comment char and any spaces immediately afer:
match = '.*(##?)\s+';
Then the format just blanks all the non-white-space characters
format= '${0/\S/ /g}';
The wrapping for source lines is in the Source bundle, under settings. There are settings for all the difference comment characters... Pity this isn't munged into one, but anyhow...
All I had to do was set match
match='^ *.{5}';
This now wraps the long comments to a left margin equal to the indent of the line plus 5 more characters
Here's an example
http://pastie.textmate.org/private/uyfbafdeaepyxn5o2otpw
Here's an example of what I wanted to fix
long source linelong source linelong source linelong source line # thin
comm
ent
that
is
very
hard
to
read
:-)
Happy TM-2 ing!
I've googled this and found no help.
I'm using Textmate 2, and since I installed it I get this behavior: control-K correctly kills (cuts text from the cursor until the end of the line) but control-Y does not correctly yank that text back. Instead, I always get the string "TODO" as the yanked text.
I've pulled up the bundle editor, but I can find no bundle that is overriding the control-Y key. (Nor the control-K key).
Any suggestions how to get the original behavior?
---Nathaniel
Hi.
At work we have AFP-mounted shared folders.
I can open files in TM2 on these no problem, but when attempting to save I get:
The document "XXXX" could not be saved.
Atomic save: Invalid argument
No console messages that I can see.
I'm using Version 2.0 (9090) on OS 10.7.4
Any ideas?
Thanks very much,
Alastair.
Not sure how often the performance issue has come up yet, can't find much about it in the archives except a mention that the file browser might make trouble. So please excuse me if this has already been discussed and I just missed it.
TM2 really is slow. I get heavy CPU spikes on various occasions; switching tabs, bringing focus to the application, saving etc. This gets really bad and it takes seconds to perform actions. At times it eats 100%+ CPU for minutes and is hardly responding.
Also, memory usage/management isn't that great. The amount of memory used constantly climbs, closing stuff doesn't help. (Working with a few files leaves me with 500 MB memory used, even after closing all editor windows).
It's almost impossible to work with it.
I know, this is alpha and stuff, but I'd really like to put TM2 to the test and just can't. I've used it at work for some time now but had to stop because it severely slowed me down. (Who tests this in their free time? ;-))
Is this just me? I see nobody else complaining.
I constantly get this behaviour and if there's anything I can do to help debug or profile, let me know.
– Matthias
TM1 used to remember the fold status of my documents. I'd close a
document leaving most of it folded away apart from the sub I was
working on, then it would be easy to pick up from where I left off
when I re-opened the document.
It doesn't seem to remember the fold status any more. Anyone else seen
this behaviour?
It's not critical, it just bugs me every time I open a document I
folded neatly away.
--
Justin C, by the sea.
Hello
I have 3 revisions of TextMate: 1623, 1631, 1635 on my OS/X 10.6.8
I believe that TextMate1 is up-compatible, so I would like to discard older
revisions. How to do it keeping "Open with...TextMate", and other system
features unbroken.
TIA
--
View this message in context: http://old.nabble.com/Rid-off-old-revisions-tp34171405p34171405.html
Sent from the textmate users mailing list archive at Nabble.com.
This seems to have been introduced in build 9147. I do a "find in files"
(⌘⇧F). It seems to find all occurrences but the line numbers shown are
incorrect so when I click on one of the matches it opens the file but
positions the cursor in the wrong place.
I'm running OSX 10.7.4.
Curt
I've (once again) got fed up with saving things only to find that git is rejecting the commit due to trailing whitespace, and have had another look at automatically stripping it.
I've tried the bundle at https://github.com/bomberstudios/Strip-Whitespace-On-Save.tmbundle, which hasn't been working for me for ages, and the solution at http://reinteractive.net/posts/4-stripping-whitespace-out-of-textmate-2, which saves the file with the whitespace unstripped and *then* strips the whitespace (and unhelpfully moves the cursor to the end of the document, too). None of them results in me achieving my goal of a file on disk which doesn't have trailing whitespace, and a buffer in TextMate which shows as saved.
Is there some solution I'm missing?
(The ideal would be for whitespace stripping to be built in, not just as a manually-executed command in the Source bundle, but something in the app preferences that could also be turned on/off in .tm_properties — that would mean every TM2 user cloning a no-trailing-whitespace-allowed repo would get a .tm_properties file that causes it to do the Right Thing for that project, regardless of how the user has their preferences set up. Allan, is there any chance of this in a future build?)
Thanks
--
John Yeates
Is there a way to set the font size for the file browser? I have it set to 11 in Finder and would like to have it like hat in the file browser as well.
And when deep in a folder structure it becomes hard to navigate as the file browser just "compresses" file and folder names. Things get cool names like "e…p" (ext_localconf.php) or simply just disappear. I know I can work against this by making the file browser wider but when it already occupies half of your screen it gets amusing.
– Matthias
Hi,
I'm running latest TM2 build on Lion 10.7.4. I can't seem to run any bundle command and keep getting error like this:
Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/escape.rb:23:in `e_url': private method `gsub' called for nil:NilClass (NoMethodError)
TM1 works just fine.
--
Tuan Anh Tran
e: me(a)tuananh.us / t: (+66) 849027417 / w: http://tuananh.us
Hi,
only a minor issue. If I select a text chunk containing line breaks and drag&drop that selection to my Desktop I will get a file *.textClipping. Fine. Now I drag&drop that *.textClipping file to TM2 (9147) the content will be inserted BUT each line break is lost, i.e. they are replaced by grey shaded <CR>'s.
Cheers,
--Hans
I have both:
softWrap = true
softTabs = true
set universally in my .tm_properties file, yet I occasionally open files that ignore both of these settings, requiring me to set them manually from the menu bar. Has anyone else seen this?
Reading this: http://blog.macromates.com/2009/interactive-input/
Did the steps:
> cd /Applications/TextMate.app/Contents/SharedSupport/Support/lib/
> svn export http://svn.textmate.org/trunk/Support/lib/tm_interactive_input.dylib@11735
When I press ⌘R on a simple python script using:
variable = raw_input()
... it still fails like this:
EOF Error: 'EOF when reading a line'
Making a simple Ruby program, I got similar error:
TypeError: can't convert nil into String
The comments to the blog post seems to stray somewhat from the topic,
so I couldn't figure out if there was something I was supposed to do
differently ...
--
Phil :)
Hi,
It is extremely annoying that in textmate 2.0 when you accidentally click a
second time on a selected tab it opens it in a new window.
Is there any way to disable this "feature"
Thanks,
Mike
Could someone point me to the current instructions on finding and
installing bundles on TextMate 1 please?
I have a copy on GetBundles installed under ~/Library/Application
Support/TextMate/Bundles (dated 6 Dec 2008) but that seems to (mainly)
no longer work: for example, an attempt to install a JavaScript bundle
(by textmate) gets an error saying ``Could not install "JavaScript" from
"https://github.com/textmate/javascript.tmbundle/tarball/master"'', same
thing happens for other bundles.
If I attempt to update GetBundles via GetBundles, I get an error
dialogue saying ``It seems that the bundle "GetBundles"
has been already installed under versioning control (svn) Please update
that bundle manually or remove/rename it and use "GetBundles" to
install'' --- the help (question mark) button on GetBundles
I suspect I'm suffering from installing TextMate on multiple machines
``decay'' and need to rediscover the correct way of doing things. I
suspect I installed GetBundles with the following commands in terminal
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd !$
svn co http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/
osascript -e 'tell app "TextMate" to reload bundles'
(these were from https://gist.github.com/2722805 and
http://solutions.treypiepmeier.com/2009/02/25/installing-getbundles-on-a-fr…)
I have TextMate version 1.5.11 (1633) installed on Mac OS X 10.7.4
Phil Molyneux
Given the following ruby script:
#!/usr/bin/env ruby
puts RUBY_VERSION
…and that I'm setting TM_RUBY = "/Users/myname/.rvm/bin/ruby-1.9.3-p0@primes" in the .tm_properties for the project, hitting Cmd-R in the script window shows 1.8.7. Running it from the command-line shows the expected 1.9.3.
Does anybody know what's going on here? It would be lovely to be able to use TM2 with different projects using rvm, and have everything Just Work :)
[Ideally, TM2 should detect that rvm is being used and get the ruby and gemset from the project's .rvmrc, if supplied, or from rvm's defaults otherwise. Even better if the following sequence 'rvm use 1.8.7 --default; rvm use 1.9.3; mate foo' would pick up 1.9.3 from the shell's env rather than using the default.]
--
John Yeates