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
I'm using Textmate 2 (9147) on 10.7.4 to make LaTeX files. On this,
and every previous version of Textmate 2 I've used, I have not been
able to get the completion button (<esc>) to work inside of inside
\ref{} tags. When I type in a partial label name within \ref{} and
press <esc>, it does nothing --- that is it doesn't return matches
with \label{} tags. Completion does work inside \label{} tags. It will
return the contents of the last \ref{} tag. Completion worked in both
contexts in Textmate 1.
I haven't seen this mentioned here. Is anyone else encountering this behavior?
I upgraded to 9147, and the tm_properties file I use to control a
project continues to work, except for the fontName and fontSize
commands. I'm running 10.7.4.
Maybe this could be related to the softwrap issue Chris Fonnesbeck
posted about on the 7th?
Hello,
Minutes ago Textmate did an automatic update to Version 1.5.11 (1633)
This has caused the highlighting in HTML, CSS, JS documents to stop working.
Please advise on how to either restore the highlight feature or how to rollback to
previous Textmate version.
Regards,
-sjs
steven j steele
steven(a)stevenjsteele.com
Is the TM2 Find/Change dialog expected to eventually get the same options
as the TM 1.5 Find/Change dialog? I sorely miss the ability to Find Next
and Replace and Find without any extra hassle.
Yes, I can set the "In:" selection to "selection", Replace All, change In:
to Document, Find, set In: to Selection, Replace All, change In: to
Document, Find the next one.
I'd also like to see expanded (or expandable) text areas so I can see what
I'm trying to change.
Thanks
DZ
When I press ctrl+K in TM2, it kills (i.e., deletes) the line the cursor is on. When I press it a second time, it won't kill the line it now falls on. I think this has been true for all the versions of TM2 (mine is currently 9113).
I haven't seen this problem reported. Is anyone else experiencing this?
Kyle
On my new MBP, TextMate 2 displays horizontal black lines. Selecting
the text in the are makes them go away, but they are very annoying.
--
Ben Smith
Founder / CSA
WBP SYSTEMS
http://www.wbpsystems.com
I'm not savvy enough to see how to write a simple command for Textmate
2, and I'm wondering if anyone can help get me started.
The command should search the current file for "ch:\d" where \d is one
or two digits and spit that/those digits out where the cursor is.
many thanks,
Kyle
Yep, happens to me, too. Those two are rarely effective.
Lewy
On Jul 8, 2012, at 4:00 AM, textmate-request(a)lists.macromates.com wrote:
> 1. Some .tm_properties settings being ignored (Chris Fonnesbeck)
> 2. Re: Some .tm_properties settings being ignored (Chris Fonnesbeck)
>
> From: Chris Fonnesbeck <fonnesbeck(a)gmail.com>
> Subject: [TxMt] Some .tm_properties settings being ignored
> Date: July 7, 2012 7:38:50 AM AKDT
> To: textmate(a)lists.macromates.com
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> 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?
Hello,
Forgive me of this has been asked before, for I'm sure it has, but I must have missed it. I tried using TM2 briefly, but I could not find a way to import my existing custom bundles from TM to it.
Specifically, I have a custom syntax grammar file that I would like to use. How do I add it to TM2?
Thanks in advance.
dZ.
--
Sent from my iPhone
Hi,
in TM1 the keyboard shortcut ctrl+esc would bring up a free floating version of the Bundles item in the menu bar which was really nice for accessing bundle commands just with the keyboard. I have not been able to recreate this behavior in TM2, am I right in assuming that it is completely gone (which afaic would be a shame)?
Regards,
Carsten
Allan,
PHP files' syntax are OK now. Thank you! But the CSS bundle seems to be
removed. Can you check this, please?
*Gustavo Straube*
+55 41 4063 9790
+55 41 9933 4355
CodeKings, www.codekings.com.br
On Tue, Jun 26, 2012 at 11:47 AM, <textmate-request(a)lists.macromates.com>wrote:
>
>
> Message: 1
> Date: Tue, 26 Jun 2012 15:38:37 +0200
> From: Allan Odgaard <mailinglist(a)textmate.org>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Problem with PHP syntax coloring
> Message-ID: <B49D8C43-F233-4C40-8BDD-1C2573C45C09(a)textmate.org>
> Content-Type: text/plain; charset=windows-1252
>
> On 26/06/2012, at 13.41, Gustavo Straube wrote:
>
> > I don't know if it's associated to the last TextMate's update (related
> to Apple developer ID signature) or was just a coincidence, but since
> yesterday the syntax coloring for PHP files stopped to work. I've noted
> that some other features like quote completion (when I write a single or
> double quote, the end quote not appear automatically) also failed.
>
> Build 1632 was accidentally pushed as a cutting edge build yesterday (for
> a few hours) which contained bundles from the 2.0 index, hence why many
> bundle-related features didn?t work as expected.
>
> Today I pushed 1633 which includes the 1.x compatible bundles, so with
> that update, things should hopefully be back to normal.
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
> End of textmate Digest, Vol 49, Issue 24
> ****************************************
>
Hello,
I use Textmate 1.5.10 on my PowerBook G4 with Mac OS X 10.5.8. Lately
I've been getting the following error messages when dragging an image
into a HTML file:
/tmp/temp_textmate.MswUub:9: warning: parenthesize argument(s) for
future version
/tmp/temp_textmate.MswUub:17: warning: parenthesize argument(s) for
future version
These errors appear in the HTML file, right above the <img> tag which
is automatically added.
Any ideas what's wrong?
Thanks,
Tudor
Hello,
I see a list of variables on this page:
<http://tm2tips.tumblr.com/post/14262423719/list-of-settings>
excludeFiles
excludeFilesInBrowser
excludeInFileChooser
excludeInBrowser
excludeInFolderSearch
Is there a doc that describes what each one does? I tried using a few of
them to filter the contents of the File Browser.
I must not understand how they work... I am having difficulty
filtering the Apple Double files from view in the File Browser.
apple_double = '._*'
excludeFilesInBrowser = "{$exclude, $apple_double}
thx!
AZ
I know there have been a lot of questions about Soft Wrapping in Textmate
2, but I haven't found any solutions for a problem that I've had for a
while now.
Basically, I have "soft wrap" enabled, and I have it set to "Wrap Column >
Use Window Frame". I have it set as a global setting using a .tm_properties
file in my home directory.
My issue, though is that "soft wrap" seems to not work correctly.
Specifically, my lines of text (any language) *extend past the window frame*,
by a good 40 or so characters. This has the annoying effect of having to
horizontally scroll on *every* file that I open. If I narrow my window, the
wrap will readjust the lines, but again, keeping about 40 characters past
the window frame.
When I enable "Show Wrap Column" the line does appear, but the lines of
text keep on truckin' past it.
I know that I could set an explicit character count to force the wrap, even
aside from the default 40 or 80. I'm trying to avoid doing that, though,
because I use a laptop with a small monitor, but will hook it to a larger
monitor, and want to be able to readjust my windows on the fly. Plus, hey,
soft wrap worked perfectly before in TM1 - I'm wondering what I may have
set up wrong in TM2, or neglected to adjust.
I apologize if this has been mentioned in a previous listing - I looked,
but didn't see it. I also don't know if this got mentioned in any release
notes explicitly.
Thanks for your help!
--
chip(a)chipcullen.com
@chipcullen <https://twitter.com/#!/chipcullen>
I am trying to replicate the "Edit each line in selection" behavior that disappeared with the arrival of TM2. So, following the blog post at http://blog.macromates.com/2011/multiple-carets/, I place my cursor at the first line of a selection that I want to edit, and press shift-option-down. However, rather than selecting an additional line with every keystroke, it appears to jump arbitrarily between selecting single and multiple additional lines.
Here's a short video screen capture of the behavior: http://cl.ly/2q1x38141S1H3w0A0k2i
Thanks in advance for any help.
cf
I discovered this quite by accident, and am not sure if it qualifies as a
bug.
I was logged in to my laptop as one user, and had a project open in TextMate
2.0alpha. Then I logged in as another user and tried to open a project, and
though TM launched, the project wouldn't open. Though I could create new
files, any directory I tried to open would fail.
Only when I switched back to the original user and closed the open project
did opening a project work in the second instance of TextMate.
Is this a bug? A by-design behavior? Please let me know.
Thanks,
Richa
--
View this message in context: http://old.nabble.com/TextMate-2.0a-run-by-two-simultaneously-logged-in-use…
Sent from the textmate users mailing list archive at Nabble.com.
I just checked the Ruby Haml bundle in TM2 preferences and it automatically pulled in the Rails bundle when I did that. Is there a dependency mechanism for bundles in TM2? If so, how is that declared? Is it possible to find the correct bundle support path for a bundle you are dependent on? Is path manipulation the best way to do that or is there something better?
Thanks!
Matthew
I have tried unsuccesfully to find an answer to this so apologies if one is
already there!!
I use a scripting language at work that windows users use with Notepad++.
N++ only uses //. and //.. as the start and end of folding and for the life
of me I can't get my regex to capture the closing reference. I would expect
//\.\. to work but I'm not having any joy...
Help!!
--
View this message in context: http://old.nabble.com/foldingStartMarker-tp34028679p34028679.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello everyone,
Small puzzle here, though the thing has been troubling me for a really long time…
Ancient Greek has a lot of accents ("diacritics") and the best way to input them is by means of deadkeys. One of the more common ways to do so is to have a keyboard that assigns four of the possible combinations to the square and curly brackets (i.e. "[, ], {, }"). An example: if I type "[", then hit the key "E", I'll obtain the character "ἔ" (U+1F14, i.e. an epsilon that has a smooth and an acute accent); if I do likewise with the key "A", I'll get "ἄ" (U+1F04); etc.
This works in *every* application – excepting TextMate, where the deadkeys on "[" and "{" are being immediately rendered as "[]" and "{}", respectively; on the closing brackets, everything works fine. (I tried this on both TM 1.5 and 2.0 [9090].)
First thing I did was of course delete/rename the file "KeyBindings.dict" in the Contents folder of TextMate.app. (I have my own very extensive Keybindings.dict file in my user account.) Then I went hunting among the Bundles and deactivated everything that looked like it may pose problem - but to no avail. In TextMate 1.5, I have also deactivated the option called "Auto-pair characters". (I have autopairing my KeyBindings.dict.)
What could I do to prevent TextMate from anticipating the result of my deadkey?
I'd happily provide more details if necessary. One detail I may add perhaps: the problem doesn't arise in the Find Box (command+F).
All best,
Andreas
I have an odd problem whereby all tabs, instead of showing the name of the
file, are blank.
http://old.nabble.com/file/p33763410/Screen%2BShot%2B2012-05-03%2Bat%2B13.1…
I've tried completely uninstalling TM2 (deleted everything in
~/Library/Application Support/TextMate and
~/Library/Preferences/com.macromates.*), but it hasn't helped. I don't have
a ~/.tm_properties file.
When I run TM2 on the same machine as a different user, I don't have this
problem.
There must be a rogue preferences file lurking somewhere - what am I
missing?
Thanks
Adam
--
View this message in context: http://old.nabble.com/-TM2--No-filenames-shown-in-tabs-tp33763410p33763410.…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
Are there any signs of this being fixed? In combination with several
other apps' messages, this causes my logs to rotate much quicker than I'd
like. I get 90 or so of the following on every launch of TextMate:
"TextMate: NSDocumentController Info.plist warning: The values of
CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'."
I'm running TextMate 1.5.10 (1631) on OS X 10.7.4.
Thanks :)
Hi all,
Because of the excellent rmate, I took a dive and tried to switch
completely to TM2 today. It took some time to selectively migrate my
old config (spring cleaning!) but most things now work correctly.
Thanks for the great update! (yeah it's been a while but I hope it's
still nice to hear)
One thing I cannot get to work is the following:
I had a simple snippet which inserted " <- " with a tab trigger that
was "=" (this allowed me to type =TAB and get the preferred syntax for
assignation in the R language, nicely spaced out). This worked in TM1
for any = sign but does not work in TM2 when there is no space between
the = sign and the preceding word. For example, in TM1:
foo=TAB gave "foo <- "
foo =TAB gave "foo <- "
in TM2:
foo=TAB gives "foo= "
foo =TAB gives "foo <- "
I suspect this comes from what TM considers as a "word". Is there any
way I can get the old behaviour back?
Thanks in advance,
JiHO
---
http://maururu.net
Hi all!
I don't know if it's associated to the last TextMate's update (related to
Apple developer ID signature) or was just a coincidence, but since
yesterday the syntax coloring for PHP files stopped to work. I've noted
that some other features like quote completion (when I write a single or
double quote, the end quote not appear automatically) also failed.
There is someone with the same problem or is just me?
Thanks!
*Gustavo Straube*
+55 41 4063 9790
+55 41 9933 4355
CodeKings, www.codekings.com.br
This behavior has been broken since TM2 came out (still broken in 9113). Hopefully, the line kill will return eventually. I've had to modify my own behavior to account for some of the changes, but this one is hard for me to drop...
Cheers, Brian
> Date: Fri, 22 Jun 2012 13:29:42 -0400
> From: Kyle Johnson <kbj(a)linguist.umass.edu>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] kill
> Message-ID: <BD46C1CA-8534-46B8-9C1D-72B04F449758(a)linguist.umass.edu>
> Content-Type: text/plain; charset=us-ascii
>
> When I press ctrl+K in TM2, it kills (i.e., deletes) the line the cursor is on. When I press it a second time, it won't kill the line it now falls on. I think this has been true for all the versions of TM2 (mine is currently 9113).
>
> I haven't seen this problem reported. Is anyone else experiencing this?
> No, I don't see this problem here (os 10.7 and TM2 9113).
9113? Where did you get it from, the nighlty build has been stuck to
9090 on my machine for weeks, if not months. Is the build check broken
on 9090?
Thanks,
Manu
I sometimes make modifications to a language file in one of my bundles. I
make the changes in TextMate 1, check them into a git repo, then I pull the
changes into my Avian bundles directory. Sometimes, but not always, if I
do this while TM2 is running it causes TM2 to crash.
On a positive note, the times that it does not crash, TM2 detects the
changes and open files reflect the change immediately.
I guess since you guys get the reports, you may already be aware of this,
but I wanted to report it since it has happened more than once.
Curt
Just started encountering a problem with quotation marks, single
quotation marks, and certain words while editing HTML with TextMate
1.5.10 on OSX 10.7.
To demonstrate, I've pasted dummy text with a single quotation mark
and certain words within a paragraph (see attached). Seems TextMate is
treating the single quotation mark as a prime and adjusts syntax
highlighting accordingly. Everything renders fine in the browser, but
this makes editing code very difficult.
On a different machine, I've opened the same HTML file in TextMate
1.5.10 on OSX 10.7 and everything is working perfectly fine.
Any help greatly appreciated!
Erika
I renamed a folder in my project which resulted in the folder being removed from
my index requiring me to <Add Existing Files..> it in my TM drawer. However,
that doesn't persist, and I have to re-add it quite frequently. Is there a way
to add this folder back permanently?
Thankfully,
Kimball
On Jun 16, 2012, at 8:00 AM, textmate-request(a)lists.macromates.com wrote:
> On 16 Jun 2012, at 04:04, Noah Daniels wrote:
>
>> But, the new Retina Display macbook pros are the sort of disruptive technology release that makes a reasonably up to date app like TextMate 2 instantly look old, due to the text rendering resolution. I haven't myself investigated how much work it is to support Retina displays, but I would hope that Allen is working on this. Is there any progress on Retina display support for TM2?
>
> I don't think you have anything to worry about:
>
> http://cl.ly/1c212b0C3G3e1E3m3t3M
>
> The only part of the UI that doesn't scale gracefully are the fixed-resolution icons used for various elements, and they're hardly noticeable (at least compared to most legacy applications).
Oh, excellent!
Yeah, I'm not worried about the icons; I never use them as I rely entirely on keyboard bindings anyways. Sorry for raising a false alarm. :)
First off, let me say that I've really been enjoying Textmate 2 for the last 6 months. I've established a highly productive set of customized key bindings for my work in Haskell, LaTeX, Ruby, and C.
But, the new Retina Display macbook pros are the sort of disruptive technology release that makes a reasonably up to date app like TextMate 2 instantly look old, due to the text rendering resolution. I haven't myself investigated how much work it is to support Retina displays, but I would hope that Allen is working on this. Is there any progress on Retina display support for TM2?
(I should note that similar clamor exists for Sublime, but that Chocolat now supports Retina displays).
regards,
Noah
(TM user since 2005)
> Will there be a build of TM2 that supports (ie. not pixel doubled for the text) retina (ideally soon)? Secondly, it seems that release of TM2 have slowed down. I know it probably is nothing, but due to the extended period of time that TM2 seemed to be abandoned (pre-2012), this makes me concerned.
>
> Ben--
Ben Smith
Founder / CSA
WBP SYSTEMS
http://www.wbpsystems.com
Hi,
I'm wondering how one can open a file from the File Browser with the
keyboard? Like I clicked on them twice.
Enter goes into rename mode, Cmd-O opens a dialog.
thanks,
Marton
On Sat, Jun 9, 2012 at 1:26 AM, David Howden <dhowden(a)gmail.com> wrote:
> I find that recent builds (certainly 9113) tend to pick up changes
> immediately.
>
> You have to be careful with this assumption though: some properties
> are only applied to the document window when a file when it is opened
> initially, and so will not change even if TextMate picks up that
> you've changed a .tm_properties file. If you don't see changes
> immediately, then I suggest you try re-opening your files and see if
> they are applied then.
>
> I find that changing the windowTitle property is a good way to test if
> the config file has been reloaded, as this is updated straight away.
>
> David.
>
>
> On Fri, Jun 8, 2012 at 11:46 PM, Neil <kngspook(a)gmail.com> wrote:
> > That was very helpful.
> >
> > How often does TextMate re-read the file? At launch?
> >
> >
> > On Fri, May 18, 2012 at 4:04 AM, David Howden <dhowden(a)gmail.com> wrote:
> >>
> >> This is a good place to start:
> >> http://blog.macromates.com/2011/git-style-configuration/
> >>
> >> On Fri, May 18, 2012 at 11:42 AM, Neil <kngspook(a)gmail.com> wrote:
> >> > Hi all,
> >> >
> >> > Is there some reference for the .tm_properties file? There's a lot of
> >> > tweaks
> >> > I'd like to make to TextMate 2, which I'm sure can be done via
> >> > .tm_properties (and many times it's been mentioned on the list "you
> can
> >> > set
> >> > X in .tm_properties"), but I really don't know where to start.
> >> >
> >> > Thanks!
> >> >
> >> >
> >> > _______________________________________________
> >> > textmate mailing list
> >> > textmate(a)lists.macromates.com
> >> > http://lists.macromates.com/listinfo/textmate
> >>
> >> _______________________________________________
> >> textmate mailing list
> >> textmate(a)lists.macromates.com
> >> http://lists.macromates.com/listinfo/textmate
> >
> >
> >
> >
> > _______________________________________________
> > textmate mailing list
> > textmate(a)lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
Hey,
In TextMate 2 (9113), option View menu > Soft Wrap always changes back to
checked when I switch to another tab in the editor.
It's extremely annoying, and should be fixed. Isn't it noticed by masses of
people? I'm wondering.
Thanks,
Marton
Hi all,
Is there some reference for the .tm_properties file? There's a lot of
tweaks I'd like to make to TextMate 2, which I'm sure can be done via
.tm_properties (and many times it's been mentioned on the list "you can set
X in .tm_properties"), but I really don't know where to start.
Thanks!
I use \cite, \footcite, and \autocite in my (Xe)LaTeX documents, with the Mac Classic theme for coloring. I would like the "text" in \autocite{text} to be the same color (red) as in \cite{text} and \footcite{text} but don't know what to file to tweak to get that effect for \autocite. Any help appreciated. I append a screenshot in which a couple citations show the difference in color.
--Gildas
Hi,
I use Ctrl-Q quite a bit to hard wrap Markdown files, Git commit messages, etc. It works nicely when I set the wrap column at 80, but it doesn't seem respect the custom value I set for it in my .tm_properties file (wrapColumn = 72).
Is there something I can configure to get this to work, or maybe a bundle command workaround?
Any help would be much appreciated.
Adam
How well do Textmate 1 and Textmate 2 do when living side-by-side? Do they
use separate Application Support and Preferences files, or do they share?
Thanks!
A number of times in the last week TM2 has crashed (with unsaved work) when I have accidently dragged selected text.
I have NOT yet been able to make a simple replication.
Has anyone else noticed a problem like this?
I have submitted the crash reports to Apple and I DO have "Submit crash reports to MacroMates" turned on. Hopefully this means
the reports are getting to Allan and they provide some clues.
It would be nice if the size of the editor was used when opening new windows instead of the size of the overall window. To put it another way, the editing view should be the same size whether then new window contains a file browser or not.
That?s it. Thanks.
--
Rob McBroom
<http://www.skurfer.com/>
I am not sure if this conflicts with your suggestion or not, but I greatly prefer when the overall window stays the same size when opening the file browser and not push the overall size out and to the right, as TextMate currently functions. BBEdit does it the other way, when you have your windows set up as you like them and open the file browser it messes up my layout. To me it makes more sense to consider the overall window one unit, not a separate window with a file browser adjacent to the editor window. Perhaps my preference doesn't conflict with yours after all, you would just have to close the file browser first before hitting new file I guess, but I think they do, you are pretty much saying the file browser and the editor should be separate. I prefer them as one.
jon
It would be nice if the size of the editor was used when opening new windows instead of the size of the overall window. To put it another way, the editing view should be the same size whether then new window contains a file browser or not.
That’s it. Thanks.
--
Rob McBroom
<http://www.skurfer.com/>
When I inadvertently attempt to drag-copy with no text selected, TextMate 2 segfaults. I believe this is a regression, as it was not doing it until I updated to the nightly build. Otherwise its been spectacular!
John M Colanduoni
john.colanduoni(a)gmail.com
I am working on a language grammar. I would like to include repository rules from a different language. I have tried including the language itself at the top of my grammar and then including the rule in necessary place in my grammar but it does not appear to work. I am hoping that there is a syntax for doing this and I just haven't discovered it yet. If anyone can point me in the right direction I would appreciate it!
Thanks,
Matthew
I know this is in the FAQ, but I was hoping there's some kind of workaround. When the file browser has more than a few files visible, TextMate slows to a crawl. I thought it might have something to do with the SCM badge feature, but after moving my project's .git directory to another location, the problem is still there. Is there anything I can do to make TextMate more usable? Thanks,
Trevor
Hi all,
I've been using a little script to add Favorites from the command line, and thought I'd release it on the off-chance that someone else might find it useful. If you don't, no hard feelings. :)
The script is here: https://gist.github.com/855b631ccd82cac4b81e
--
Michael Granger <ged(a)FaerieMUD.org>
Rubymage, Architect, Believer
The FaerieMUD Consortium <http://FaerieMUD.org/>
Hi All,
I just added HTML-ApLo.tmbundle to github. It provides automatic HTML preview with console when any HTML file is saved. Optionally also redisplays HTML when associated CSS or JavaScript files are saved.
https://github.com/gknops/HTML-ApLo.tmbundle
It requires ApLo.tmbundle:
https://github.com/gknops/aplo.tmbundle
Enjoy!
Gerd
Is it possible to force Textmate 2 to always open files in a new tab (as
opposed to a new window)? I call the mate command a lot and I always have a
bunch of windows to deal with. I know about "Merge All Windows", but it's an
inconvenience.
--
View this message in context: http://old.nabble.com/Always-open-in-new-tab--tp33910319p33910319.html
Sent from the textmate users mailing list archive at Nabble.com.
the Tomorrow night flavour of Chris Kempson’s tomorrow-theme
It’s a great family that works well across apps and languages.
his is here
https://github.com/chriskempson/tomorrow-theme
avian has a version here
https://github.com/avian/TextMate-Tomorrow-Theme
I’ve got a tm2 bundle forked here
https://github.com/tbates/TextMate-Tomorrow-Theme.tmbundle
On 24 May 2012, at 11:04 AM, David Howden <dhowden(a)gmail.com> wrote:
> Hey!
>
> Which theme are you using there? I don't recognise it (trying to make a collection!)
>
> Thanks,
>
> David.
>
> On Thu, May 24, 2012 at 10:48 AM, Timothy Bates <timothy.c.bates(a)gmail.com> wrote:
> Seems like just set language to python, then hit command R for run
>
> (other options you can see under “Python” in the bundles menu
>
> <PastedGraphic-1.png>
>
> On 24 May 2012, at 10:30 AM, Bill Gibson <aemq000(a)gmail.com> wrote:
>
>> Textmates:
>>
>> I would like to run a simple python program in Textmate
>>
>> name = raw_input('What is your name?\n')
>> print 'Hi, %s.' % name
>>
>>
>>
>> Is this possible?
>>
>> Thanks....
>>
>> Bill
>> --
>> Bill Gibson
>> John Converse Professor of Economics
>> Economics
>> UVM
>> Burlington, VT 05405
>> On the web: www.uvm.edu/~wgibson
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
Textmates:
I would like to run a simple python program in Textmate
name = raw_input('What is your name?\n')print 'Hi, %s.' % name
Is this possible?
Thanks....
Bill
--
Bill Gibson
John Converse Professor of Economics
Economics
UVM
Burlington, VT 05405
On the web: www.uvm.edu/~wgibson
Is there a way to clear the key equivalent filed in bundle editor?
(I already know how to remove from bundle source)
Elia
—
☁ @elia <http://twitter.com/elia> (twitter) ✎ elia(a)schito.me (gtalk)
☎ (+39) 348/9051393 perlelia(a)gmail.com (FaceTime)
Hello
TM is really on of the best text editors, however, there is two
issues unresolved for (the) years (of SL) now.
Issue one is TextMate's spelling behaviour, i.e., the automatic
detection of the language of a written paragraph, see here:
http://lists.macromates.com/textmate/2009-November/029964.html
TM does not detect the language I am typing in, perhaps because it
uses a non-Apple document window. Anyway, always changing the
system language to get correct spell check on the fly (as
suggested in the thread) could hardly be a working solution. In
addition, quite often I write source documents in various
languages, e.g. English and German, and that makes a "one language
per document" unusable.
There has also been an issue with an advanced print dialogue (but
I cannot remember the posting). It is quite nice that TM adds
headers and footers, however, TM does not print coloured syntax,
and leaving a margin of about 1cm makes the printout unusable for
punching and filing. In addition, 11pt Monaco is quite good on my
screen but printing in that font size is rather a waste of space
on the page. Of course, I know, that one may produce a html
(nicely coloured, indeed), open that one in, say, Firefox, and
print the html page.
Anyway, I was wondering if there is any progress on these two
points, first, to get the apple multilingual spell check working,
second, to provide TM with a print preference to set things like
font, colours, and margins.
Any thoughts?
Regards
*S*
--
Sascha Vieweg, saschaview(a)gmail.com
Hi Everyone,
I am a big fan of textmate and been using it for last 6 years, and SQL
bundle was one of the main tools in my toolbox. However, after upgrading
To Lion I can¹t execute any queries and every time I try I get ³Bad
Handshake² error even though I can connect to mysql just can¹t browse data.
Any pointers on that would be greatly appreciated.
This are my settings:
MacOSX:
Lion 10.7.2 with xcode 4.1
Textmate:
Version: 1.5.10 (1631)
I¹ve removed everything from Preferences -> Advanced -> Shell Variables
Ruby
Running controll+R for this command: puts RUBY_DESCRIPTION returns
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
MySql
It was installed via brew
version: Ver 14.14 Distrib 5.5.15, for osx10.7 (i386) using readline 5.1
My.ini
[mysqld]
max_allowed_packet=64M
character-set-server = utf8
default-character-set = utf8
#This option makes InnoDB to store each created table into its own .ibd
file.
innodb_file_per_table
log-bin
log=/var/log/mysql/mysql.log
log-error=/var/log/mysql/error.mysql.log
log-slow-queries
bind-address=0.0.0.0
[mysql]
default-character-set = utf8
I have same problem as Chris Fonnesbeck with TM2 (9100). Dragging over a long selection shows intermittent skips in highlighting. Selecting by clicking at the beginning, then shift-cliking at the end does not show the problem.
> From: Chris Fonnesbeck <fonnesbeck(a)gmail.com>
> Subject: [TxMt] Scrolling highlight bug in TM2
> Date: May 14, 2012 12:40:50 PM AKDT
> To: TextMate users <textmate(a)lists.macromates.com>
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Running a recent build of TM2, I notice a bug in the highlighting behavior when making a scrolling selection. That is, when I select and drag using a mouse or trackpad, the parts of the editor that are highlighted is inconsistent. Chunks of unhighlighted area appear within a highlighted section. This appears most often when reaching the bottom of the screen, and the text scrolls upward.
Running a recent build of TM2, I notice a bug in the highlighting behavior when making a scrolling selection. That is, when I select and drag using a mouse or trackpad, the parts of the editor that are highlighted is inconsistent. Chunks of unhighlighted area appear within a highlighted section. This appears most often when reaching the bottom of the screen, and the text scrolls upward.
Here is a short video screen capture showing the behavior: http://cl.ly/3S131O0F321i230l3x2T
Running Version 2.0 (9113).
--
Chris Fonnesbeck
Nashville, TN
A small enhancement request....
Currently when you open a directory with TM2, it starts with an empty
untitled document. If you do not make any changes to this document, then
the first time you open another document, the empty one is discarded. Nice.
It would also be nice if there were a setting where when you close the last
tab in a window, instead of the entire window closing, a new untitled
document was used as a placeholder instead, just as when a folder is
originally opened. If you do indeed want to close the entire window then
you can use the ⇧⌘W "Close Window" command.
When I finish a task I tend to close the documents that I was working on
before starting a new task and I often find myself closing the entire
window unnecessarily.
Just a thought.
Thanks,
Curt
Hi,
TM2 still appears to have the same troublesome selection behavior TM1 has. As an example take this line in Perl:
die("$self failed to implement ".(caller(0))[3]);
Ideally I could select '$self' by double-clicking. For that to work I would need to tell TM2 that $ is a word character in Perl, per grammar word character definitions are needed. (That may be there already, but I can't find it being mentioned anywhere.)
Now double-clicking on 'self' and moving the mouse to the left to add the '$' doesn't work because it adds '("$'. TM2 should treat non-word characters as individual characters instead of grouping them together into a "word" when extending a selection that started with a double-click.
Similarly it is impossible to select 'caller(0)' by double-clicking 'caller' and extending to the right, instead one ends up with 'caller(0))['.
Gerd
I'm updating my Markdown bundle to better handle GitHub-style fenced code blocks like so:
```ruby
foo = { bar: true }
```
The grammar is simple enough for one language:
ruby_block = {
begin = '^```ruby.*$';
end = '^```.*$';
patterns = ( { include = 'source.ruby'; } );
};
However, I'd like to support any language. I tried the following, but it doesn't appear to work (and I'm not sure why):
code_block = {
begin = '^```(\w+).*$';
end = '^```.*$';
patterns = ( { include = 'source.\1'; } );
};
Is something similar possible / supported?
Thanks!
-Tyson
I'm confused as to what I should be doing to get the latest available build
for TextMate 2.
I'm currently using 9090 which is what the menu update check says is the
latest, but see posts referring to higher numbers.
I am very new to TextMate. Thanks for your patience.
--
View this message in context: http://old.nabble.com/Latest-available-build-for-TM-2-tp33763656p33763656.h…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
i just checked if skim and the sync with skim works, but it does not. Is there a way to solve this?
Best
--
Christian
-Because I'm the CEO, and I think it can be done.-
Steve Jobs, 2005
Something I'd like to see improved in TM2 is the visibility of the
current file browser root. Since I started working with TM2, I've
noticed several things about the file browser:
- I frequently glance at the file browser/project drawer to orient
myself, essentially answering "which project's window is this?"
- The "project" indication, the browser's current directory, is now
the smallest text on the page. (I use a larger font than the default
for the editing windows.) It's also tucked in the midst of a lot of
other stuff, making it hardre to quickly pick out.
- The current directory name is truncated by the buttons to its right
when the file browser pane is narrowed even a bit.
- Quickly inspecting the contents of the file browser is often not
illuminating. Imagine working with multiple Rails apps, multiple
git clones of the same project, etc.
- No location information is available when the drawer is closed. By
contrast TM1's default formatting of the title bar with "<icon>
<file> - <project>".
---------
On that last point, I note that the window title is now user-configurable in
.tm_properties; great news. However, I've not had any luck in
recreating TM1's behavior. For example, in ~/.tm_properties I have:
windowTitle = '${TM_DISPLAYNAME}\
${TM_PROJECT_DIRECTORY:+ - $TM_PROJECT_DIRECTORY}'
and in a project root directory, I have .tm_properties with:
projectDirectory = '${CWD}'
After restarting TextMate (is there an easier way to reload the
props?), it seems that TM_PROJECT_DIRECTORY is never set even when
projectDirectory has been set in .tm_properties. Am I just missing
something about projectDirectory/TM_PROJECT_DIRECTORY, or is this a
bug?
Thanks,
John
> When I try the keyboard shortcut, I just get the alert sound from my Mac
Keyboard shortcut being ??7 on a US keymap?
Yep. shift + command + 7 (standard HTML bundle default shortcut) on US
keyboard. Sorry for the late reply... Didn't notice yours until now :)
-- Yann
I've seen this a couple of times, but this time I captured a sample.
TM2 was running in the background when I noticed it was using the CPU
a lot. I had a couple of documents and projects open some of which are
in a Mercurial repository. From the sample it looks like TM2 is
scanning directories for some reason.
Version 2.0 (9090)
OS X 10.7.3
Thanks,
/Staffan
Is pastie.org the same as pastie.textmate.org?
I used pastebin.ca in the past. What authorization for gists are you referring to? This works for me:
curl -d '{"public":false,"files":{"file1.txt":{"content":"foo"}}}' https://api.github.com/gists
--
PGP: A0E4 B2D4 94E6 20EE 85BA E45B 63E4 2BD8 C58C 753A
PGP: 2C23 EBFF DF1A 840D 2351 F5F5 F25B A03F 2152 36DA
--
No situation is so dire that panic cannot make it worse.
--
Please encrypt sensitive information before emailing it:
https://jeromebaum.com/pgp/encrypt.html
On 28 Apr 2012, at 19:25, textmate-request(a)lists.macromates.com wrote:
> Date: Sat, 28 Apr 2012 17:31:20 +0100
> From: Andy Herbert <andy.herbert(a)me.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Pastie broken?
> Message-ID: <877DFD53-B47E-46AB-8602-47D05582574C(a)me.com>
> Content-Type: text/plain; CHARSET=US-ASCII
>
> "pastie.org was DDOSed twice last night. To protect it's network and other customers Rails Machine has decided to no longer host and sponsor the site."
>
>> From http://pastie.org/
>
> I recently attempted to change pasting services to gists using the Github bundle, but they appear to have changed the authorisation system recently, can anyone recommend a fix or alternative service?
Hello, I have a patch to the Inform bundle, attached. It does the
following:
* Function names now listed in Symbol listing
* Operators now stylable in preferences
* Library functions now stylable in preferences
* Library variables now stylable in preferences
* All important properties added as Library variables
* Library constants now stylable in preferences
* All object attributes added as Library constants
* Keywords and library constants no longer have to match any
particular case (except for the library constants that Inform
requires to be ALL CAPS)
* More keywords and directives added
--Poster
www.intaligo.com INFORM, Building, doom metal
(upgraded from b9064 stable to) b9090 and when I expect TM2 to restart,
it does not. Could interruption of installer by File Save dialog to save
an unsaved document, cause this failure of auto-launch?
Assumed/Expected TM2 to auto-launch.
Launching TM2 manually reopens previous windows with this in titlebar
(see screenshot). The same string is in title bar whether a directory is
open or single file.
thank you for really fantastic software!
mac OS 10.6.8
Is pastie.textmate.org broken? I get a "user page unknown" message when I visit it in my browser and TextMate gets a 403 error.
--
PGP: A0E4 B2D4 94E6 20EE 85BA E45B 63E4 2BD8 C58C 753A
PGP: 2C23 EBFF DF1A 840D 2351 F5F5 F25B A03F 2152 36DA
--
No situation is so dire that panic cannot make it worse.
--
Please encrypt sensitive information before emailing it:
https://jeromebaum.com/pgp/encrypt.html
I'm working on several moderately-sized Rails projects, and lately it's been
taking several seconds to open or close a tab. I thought it was a memory
issue, but restarting TM doesn't seem to help at all. This also doesn't seem
to be at all related to the size of the file, so I don't think it's taking a
long time to do the syntax highlighting. Is there something I could do to
track down what's causing the slowness?
--
View this message in context: http://old.nabble.com/Slow-to-open-and-close-tabs-tp33749335p33749335.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi there! Perhaps someone on the list will be be able to help me diagnose what's wrong with my current install of TextMate/RubyMate/ruby.
Whenever I try to run a ruby script through TextMate (⌘+R) and an exception gets raised, I get the following error:
/Users/jan/Library/Application Support/TextMate/Pristine Copy/Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb:12:in `for_fd': Bad file descriptor (Errno::EBADF)
from /Users/jan/Library/Application Support/TextMate/Pristine Copy/Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb:12:in `block in <top (required)>'
The line in catch_exception that's causing this is:
io = IO.for_fd(ENV['TM_ERROR_FD'].to_i)
For what it's worth, TM_ERROR_FD seems to be set to 14 here...setting it to other values (tried 1 through 14) doesn't seem to help much. I haven't done much with IO, so I'm on relatively shaky ground regarding what's happening and how to fix it. Anyone know what my next step should be?
Possibly relevant info:
TextMate version: 1.5.10 (1631)
ruby version: ruby 2.0.0dev (2012-03-26 trunk 35141) [x86_64-darwin10.8.0]
rvm version: 1.13.0
OS X version: 10.7.3
--
Jonathan Bunde-Pedersen, PhD
VP, Solution Architect, Cetrea A/S
t: +45 38400587
m: +45 23413830
On Tue, Apr 24, 2012 at 10:30, <textmate-request(a)lists.macromates.com> wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. [TM2] txmt: URL bugs? (Gerd Knops)
> 2. TM2: JavaScript & Lua Syntax Checkers, Lua runner with
> 'clickable' debug output (Gerd Knops)
> 3. TM2: popup dialog problem with dual screens (?Yuan Jiang)
> 4. TM2 using lots of CPU (Staffan Larsen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 23 Apr 2012 13:17:00 -0500
> From: Gerd Knops <gerti-textmate(a)bitart.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] [TM2] txmt: URL bugs?
> Message-ID: <4FD6E0B2-B6CB-4E15-8EB4-72B9F9502D45(a)bitart.com>
> Content-Type: text/plain; charset=us-ascii
>
> A couple of issues:
>
> http://manual.macromates.com/en/using_textmate_from_terminal.html
>
> says about url: "if this is left out, the current document is targeted". TM2 complains when url is missing.
>
> Secondly: I can't seem to figure out how to use URLs containing spaces. Neither of these work in TM2 (I belive the first one would be the correct one, at least TM2 displays it correctly in the error message):
>
> txmt://open?url=file:///Library/Screen%20Savers/
> txmt://open?url=file:///Library/Screen+Savers/
> txmt://open?url=file:///Library/Screen Savers/
>
> Am I getting those wrong?
>
> Thanks
>
> Gerd
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 23 Apr 2012 19:09:10 -0500
> From: Gerd Knops <gerti-textmate(a)bitart.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] TM2: JavaScript & Lua Syntax Checkers, Lua runner with
> 'clickable' debug output
> Message-ID: <503F953A-07AA-4892-92A1-7B335F1CF6A4(a)bitart.com>
> Content-Type: text/plain; charset=us-ascii
>
> A couple of new modules I just added to github, maybe someone can find use for them:
>
> https://github.com/gknops/JavaScript-ApLo.tmbundle
> https://github.com/gknops/Lua-ApLo.tmbundle
>
> They do require ApLo:
>
> https://github.com/gknops/ApLo
>
> Gerd
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 24 Apr 2012 14:36:39 +0800
> From: ?Yuan Jiang <sleetdrop(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] TM2: popup dialog problem with dual screens
> Message-ID: <32024141-379A-40E4-9068-467DC4CD4DDA(a)gmail.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello,
>
> When the TM2 is in the external screen, when I use [go to file (cmd+t)] [select bundle item (ctrl+cmd+t)] [find (cmd+f)], the popup dialog will appear in the main screen.
>
>
>
>
>
> Yuan Jiang
> http://blog.vetcafe.net
> http://twitter.com/sleetdrop
>
>
Hello,
When the TM2 is in the external screen, when I use [go to file (cmd+t)] [select bundle item (ctrl+cmd+t)] [find (cmd+f)], the popup dialog will appear in the main screen.
Yuan Jiang
http://blog.vetcafe.nethttp://twitter.com/sleetdrop
A couple of issues:
http://manual.macromates.com/en/using_textmate_from_terminal.html
says about url: "if this is left out, the current document is targeted". TM2 complains when url is missing.
Secondly: I can't seem to figure out how to use URLs containing spaces. Neither of these work in TM2 (I belive the first one would be the correct one, at least TM2 displays it correctly in the error message):
txmt://open?url=file:///Library/Screen%20Savers/
txmt://open?url=file:///Library/Screen+Savers/
txmt://open?url=file:///Library/Screen Savers/
Am I getting those wrong?
Thanks
Gerd
Hi,
I'm not sure if I am missing something about the new ways to include/exclude files via entries in the .tm_properties file. I would like a subset of all my files to appear in the file browser. I first exclude all files then selectively include just those files I want. My problem is that when I do a search/replace in project the search returns matches in pure binary files (i.e. executables) that are *not* listed in my set of selected files. I never want to search/replace in any binary file. Can anyone suggest a fix?
Many thanks,
Leo
Here is the section of my .tm_properties file
# exclude all files
exclude = "*"
excludeFiles = "*"
excludeFilesInBrowser = "*"
excludeDirectoriesInBrowser = ".*"
excludeInFolderSearch = ".*"
# select some files
mySourceCode = "*.adb,*.ads,*.adc,*.sh,*.tex,*.sty"
myTextFiles = "*.txt,*.tex,*.sty,*.bib,*.inp"
myBinaryFiles = "*.{jpg,jpeg,pdf,png}"
myOtherFiles = "Makefile,README*,TO-DO*"
# make the selected files visible
includeFilesInBrowser = "{.tm_properties,$mySourceCode,$myTextFiles,$myBinaryFiles,$myOtherFiles}"
[ $myBinaryFiles ]
binary = true
I'm having serious issues with highlighting, mostly with javascript files. Whenever I open a minified js file or a file with over 300-400 lines of code, textmate process will go over 100% and won't highlight anything else until I quit it.
I'm on a i7 2.2ghz with 8gig of ram.
Anyone else experiencing this?
thanks
I've been having some weird issue with the find functionality. When I search for something, usually in a project directory, most of the results don't match the line number returned.
example, if I search for "foo". I get the list of results, so I click on the returned result from the find window, which does takes me to the correct file and to line 32 as returned in the search results, but foo is actually located in a completely different line number in that document.
anybody else experiencing this?
I'm new to TextMate and Ruby so please bear with me. I'm trying to run my
ruby code in 1.9.3. When I run things now, it's running them in 1.8.7 for
some reason. I don't know exactly what path should go in the Path but I
want it to run 1.9.3. Please help. I don't even know where 1.8.7 is coming
from
--
View this message in context: http://old.nabble.com/Change-path-tp33711606p33711606.html
Sent from the textmate users mailing list archive at Nabble.com.
Howdy.
Does anyone know if it is possible to change the color in the file drawer in
TextMate 2? I read a message asking about font size but couldn't find
anything on color. I would like to change it to the pale blue found in most
lion windows (#dde2e9).
Thanks ,
~ Ben
--
View this message in context: http://old.nabble.com/-TM2--File-Drawer-Color-tp33679398p33679398.html
Sent from the textmate users mailing list archive at Nabble.com.
When using the hotkey for ending the line with a : and going to next
line, e.g. when defining a function, most of the time the colon is
being placed several characters away from the closing parameter
parentheses like so:
def func(params) :
This behaviour is a regression in TM2, works fine in TM1.
Best regards,
Michael
In the "Go To File" dialog, is there a way to remove the saved entries from
the dropdown on the right that contains the file globs?
I looked around a bit but couldn't find where these are stored.
Thanks,
Curt
"The usage statistics will be monitored..."
-- <http://blog.macromates.com/2012/leopards-and-questions/>
Can you please post an update to the statistics of Users and their OS
version. Perhaps it will change as more people become aware of the 2.0
alpha release.
Cheers,
AZ
When I try the keyboard shortcut, I just get the alert sound from my Mac,
and when I choose Bundle > HTML > Entities > Insert Entity... via menu bar,
it opens the entity panel, but when I select one to insert, instead it
pastes this error in my document:
-------------
/tmp/temp_textmate.IH1pV6:21: undefined method `to_i' for true:TrueClass
(NoMethodError)
from /tmp/temp_textmate.IH1pV6:15:in `open'
from /tmp/temp_textmate.IH1pV6:15
-------------
Unfortunately, I was testing out Sublime Text 2 (shame on me, I know...)
for a while so I'm not sure when this started to happen. Sorry...
I tried to reinstall of TextMate (removed the textmate folder in
app support and downloaded a fresh copy) but that didn't change anything...
I get the same with the 1.5 latest release and the alphabeta 2.0 (well, I
get the error in a window in 2.0 instead of as text in the document in 1.5).
Any idea? Thanks!
--Yann
Hello All,
Apologies in advance if this is inappropriate to post here, but since there
is a 2.0 Textmate on the way that is changing how fonts work...
Here is a proposal about "elastic tabs" that seems interesting:
http://nickgravgaard.com/elastictabstops/
"Elastic tabstops - a better way to indent and align code"
there's also a discussion going on here:
http://reddit.com/comments/ro3b0
The idea is more about lining up text in columns as opposed to just
indenting text. Which is a feature I don't use much for programming. But
for editing lists of things in columns, this looks pretty sweet.
Regards,
--ErikN
Hello all,
I'm having a problem with matching character pairs in TextMate 2, and I'm wondering if it's a known issue or something specific to my installation.
For example, if I open a JavaScript file and type the following:
$(#id_name)
and then go back and place my caret before the # sign, and type a single-quote (or any other matched pair), I end up with:
$(''#id_name)
with my caret now between the matched pair. Selecting all of #id_name before typing a quote character works properly, but obviously requires use of the mouse.
I've confirmed that this happens in JavaScript and Python, but not in CSS or HTML. In fact, in those languages, there appears to be no matched pairing happening at all.
I never really used the matched pairs in TM1, so mostly I'd like to know if there's a way to turn this feature off altogether, but I'm glad to provide any other information required. My .tm_properties file is extremely sparse, and I'm not using any 3rd party plugins.
-phil
Hi there,
It seems that when using dead keys in TM2, the initial keypress of the
dead key is interpreted as input. This creates a problem for functions
like wrapping selected text (with parens or braces) because rather than
wrapping the text with the appropriate character it replaces the
selection with the dead key character.
An example: I use the semicolon followed by j for inserting a left
paren. If I make a selection and do this, it replaces the selection
with the semicolon.
Any ideas?
Thanks,
Garrett Lancaster
Hi,
I have a textmate project with some Latex files. When I click on the links with error messages, or when I press fn-enter on an include statement the correct latex file is opened, but in a new window and not in a tab within the project.
THis is annoying, because I usualy already have that file open in a tab, and a new window takes me out of the project so CMD-R does not compile the main file as set in TM_LATEX_MASTER variable in the project.
Any Ideas how to fix this?
--
Ronald
Hello everybody,
I'm using TextMate 2.0 Build 9064 on OS 10.6.8. I'm using spaces to provide multiple destops. There are some small annoyances with this setup:
1. When opening a file from the terminal window, TextMate will switch to the space where the previous TextMate window has been opened.
2. When pressing Cmd-F to open the find window, TextMate switches to the space which the find window has been active during the previous usage. This is a bit awkward since the found results will be shown a different space unless I move the search window to the desired space before performing the search :-)
3. When using rmate to open files remotely, the file opens on a seamingly random space. I'm not sure, maybe it's the space where TextMate was originally opened or the space where the last window has been opened manually (like 1.).
Can the behaviour be changed so that new windows and dialogs will open on the current space?
Cheers,
Henning Holtschneider
--
LocaNet oHG - http://www.loca.net
Baroper Straße 239 b, D-44227 Dortmund
tel +49 231 91596-25, fax +49 231 91596-55
sip 25(a)voip.loca.net
Registergericht Amtsgericht Dortmund HRA 14208
Geschäftsführer Sven Haufe, Henning Holtschneider
I config the php bundle to use local php manual via setup the PHP_MANUAL_LOCATION environment variable.
It can look up the keyword by "^H", but links in the browser window doesn't work.
As shown in the attached picture.
Yuan Jiang
http://blog.vetcafe.nethttp://twitter.com/sleetdrop
In the "Go To File" dialog if you tab to the file types drop down control
and change the selection with with either the keyboard or mouse, the list
of files immediately changes to reflect the new glob pattern.
Also, if you type in a new glob pattern *that is already in the list* and
hit the enter key, the list of files is updated.
However, if you type in a glob pattern *that is not already in the list* and
hit the enter key, the list of files is not updated. You must must use the
arrow key to select a different pattern, then use the arrow key to
re-select the desired pattern.
Hi,
I have a a kind of a weird crash with TM2 (I encountered it several weeks ago but now I do need the procedure quite often). I'm on MacOSX 10.7.3 (9110).
I have created a new bundle with several commands. All these command have the same structure:
Save: Nothing
Input: Nothing
Output: Show in New Window
Caret: After Output
and the actual command:
#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
pbpaste | perl -e '
$word = <>;
chomp($word);
...
print $result;
'
In other words each of these commands takes the content of the clipboard and send it to a Perl script. The script and the clipboard's content have to handle real UTF-8 stuff and the PErl script contains lots of non-ASCII characters.
Now the weird thing: The crash doesn't always occur. I tried to find a more or less 'reproducible' workflow.
- TM2 is not running
- I copied a word from another program into the clipboard
- I open TM2
- an 'untitled' window appears
- I invoke one of these commands in question
- TM2 crashes with:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libundo.dylib 0x004e3f79 ng::undo_manager_t::end_undo_group(ng::ranges_t const&) + 11
1 com.macromates.TextMate.OakTextView 0x005d9356 0x5a9000 + 197462
2 com.macromates.TextMate.OakTextView 0x005c1242 0x5a9000 + 98882
3 com.apple.AppKit 0x93315727 -[NSView _performKeyEquivalent:conditionally:] + 49
4 com.apple.AppKit 0x93315914 -[NSView performKeyEquivalent:] + 340
BUT THEN I reopen TM2 and do _exactly_ the same and IT WORKS!
Step two of WEIRDNESS: If I quit TM2 after that and reopen it and run the command with the same clipboard content again TM2 crashes once again.
It doens't matter whether I invoke the command via key equivalent or via mouse Bundles > ...
I didn't encounter that problem if TM2 was running before I copied the text, switched to TM2, and invoked the command.
Any help, fix would be really appreciated :)
For more details, don't hesitate to contact me.
Cheers,
--Hans
Hi,
I'm on Mac OSX 10.7.3 TM 2.0 (9100).
If the text buffer begins with a combining character (diacritica) you cannot delete that character, select all also doesn't work. To reproduce it, simply open a new document, open the Character Viewer, and insert let's say a combining acute accent U+0301 or in UTF-8 CC 81, then type something, and press CMD+A to try to select all, this fails. You can delete the typed characters up to the first character.
Cheers,
--Hans
Dear all,
did any of you ever come along a PVL bundle for TextMate?
PVL stands for Parameter Value Language and is used for astronomical
and planetary data headers, looking similar to this:
/* The source image data definition. */
OBJECT = UNCOMPRESSED_FILE
FILE_NAME = "PSP_002622_0945_RED_cnode26:25702.IMG"
RECORD_TYPE = FIXED_LENGTH
RECORD_BYTES = 56522 <BYTES>
FILE_RECORDS = 39152
^IMAGE = "PSP_002622_0945_RED_cnode26:25702.IMG"
OBJECT = IMAGE
DESCRIPTION = "HiRISE projected and mosaicked product"
LINES = 39152
LINE_SAMPLES = 28261
BANDS = 1
SAMPLE_TYPE = MSB_UNSIGNED_INTEGER
SAMPLE_BITS = 16
SAMPLE_BIT_MASK = 2#0000001111111111#
/* NOTE: The conversion from DN to I/F (intensity/flux) is: */
/* I/F = (DN * SCALING_FACTOR) + OFFSET */
/* I/F is defined as the ratio of the observed radiance and */
/* the radiance of a 100% lambertian reflector with the sun */
/* and camera orthogonal to the observing surface. */
SCALING_FACTOR = 9.08568311937917e-06
OFFSET = 0.0097943214240579
BAND_STORAGE_TYPE = BAND_SEQUENTIAL
I would like the bundle be able to
* color-code group starts (OBJECT = …)
* values according to their type strings and numbers
* comments
Actually, the SQL bundle does a good job of color-coding these files,
just the OBJECT emphasis and some big floating point numbers
(interestingly) are color-coded weirdly (look at SCALING FACTOR value
with the SQL bundle switched on, it's weird that the 9 is colored, but
the fractional digits are not. (Using TM2)
If there is no PVL bundle, I guess I can 'derive' from the SQL bundle
how this is done? I never created a bundle, is there any 'must-read'
tutorial on that?
Best regards,
Michael
I'm climbing the walls with this one:
I get this error message
___
Couldn't find gfortran
You must set the TM_FORTRAN variable to the full path of your Fortran compiler (e.g./usr/local/bin/gfortran). You may also set TM_FFLAGS for any Fortran compiler options.
___
but cannot find out anywhere how to edit the TM_FORTRAN variable. Can anyone help please ?
[ gfortran is working fine from Terminal. ]
Thanks
Peter
I have some self-written Python modules that work fine in TM1, but in
TM2 the Mac System ENV PYTHONPATH does not seem to be read?
I was able to steer to my Python binary of choice using TM_PYTHON but
neither the system/GUI variable PYTHONPATH not setting of a
TM_PYTHONPATH was helping TM2 to find my own Python modules that I
added before via the PYTHON PATH.
What do I need to do to let TM2 find / read the PYTHONPATH?
Best regards,
Michael
In #9064 (Mac OS X 10.6.8) the selection highlight color gets more transparent (?) sometimes. After focussing TextMate 2 the color is correct, when changing to another Tab, the color changes. If you go back to your original tab it shows the same lighter color there to.
When you focus another application and go back to TextMate it shows the original (more opaque) color again.
Regards
Jannes
Sorry I missed your response Allan, I set up my dead keys with a program
called Ukelele:
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=ukelele
The first keystroke sets up a state that modifies the output of the
following keystroke (essentially each dead key you set up creates an
entirely new keyboard mapping of your choice). If the second keystroke
is not specified in the alternate mapping, the default value is used.
Garrett
textmate-request(a)lists.macromates.com wrote:
> Re: TM2 with dead keys
Hi,
I'm using TextMate Version 2.0 (9090) and found a minor but annoying bug.
Steps to reproduce:
Open up a folder
Open two files (two tabs)
Highlight text in your current tab (should be bright highlighting)
Switch to other tab, switch back (now it will be dull highlighting)
To fix you just have to command-tab to a different app and back. Seems like
changing tabs correctly dulls the tab you are changing from, but does not
brighten the tab you are changing to. Keep up the good work!
Cheers,
Andrew
Hi,
in TM 1.x it was possible to highlight the current line. In TM2 I can see a nice gutter effect which is feasible for almost all cases but I'm sometimes editing plain text tables with rather long lines and here it'd be nice to have a visual indicator for the current line to be able to read long lines better.
Thanks,
--Hans
Hi,
TM2 regularly crashes during redo. I can't consistently reproduce, except that it seems to happen when I redo more than once in quick succession, or redo directly after undoing. I have TM2 configured to send crash reports, but thought it would be a good idea to throw it out here, especially if others are experiencing the same issue.
Adam
Hi,
what is the new syntax to access the ui.rb and exit_codes.rb
files, and in general items from the Bundle Support bundle?
I mean, what should I use (in a ruby script) instead of
require ENV["TM_SUPPORT_PATH"] + "/lib/ui.rb"
which does not seem to work? maybe it's just matter of
setting a shell variable, but can't figure out how.
Thanks
Piero
I'm using TM Version 1.x (build 1631).
Some of the characters (in text mode) are not displayed "normally" (i.e.,
the way they have been). For example, the character - (minus) creates a red
highlight where is appears. Let's say I'm writing -- enable SSL -- in a
middle of a sentence, the -- enable SSL -- part is highlighted in red for
no apparent reasons (I haven't changed my setup). Also, the sign > is
changed to > with an underscore.
Any idea why this is happening? Might have changed something without
knowing it?
Thanks in advance.
I use command + arrow up / down quite a bit to navigate to the top and bottom of my tex files. I noticed that when I switch to an existing file, command + arrow up gets me to the top but command + arrow down gets me down the file but not to the bottom of the file. Or, if I do first the command + arrow down, nothing happens. I need to reiterate command + arrow up, to the top, then command + arrow down, to get to the bottom. This happens with all files except the very short ones. Is this something seen by others, and is there a solution?
-- Gildas Hamel
When I use
ctrl + command + R
to reveal current file in file browser, file browser automatically changes current dir the the subdir which current file exists.
how can disable this feature.
Yuan Jiang
http://blog.vetcafe.nethttp://twitter.com/sleetdrop
Hi,
I've noticed a few times that switching tabs causes the gutter to not
refresh properly. Switching to a file with fewer lines seems not to
refresh the gutter beyond the number of lines in the new file.
Not sure if this is a known issue. The attached picture is from a file
which has 36 lines.
Also, a brief feature request: Would be awesome to be able to set the
background/foreground colour of the gutter to match the highlight theme
:-). I realise that this could cause problems with images for folding
markers and bookmarks, but we could also have options to set images/colours
for those too :-P.
Cheers,
David.
Hi,
Services don't work in TM2.
TexMate > Services just show "No Service Apply".
Same on two different macs running OS X 10.7.2 and TM 2.0 (9090)
I can't find anything about it on the list, wiki and release notes…
I tried a /System/Library/CoreServices/pbs -flush
Is it down for everyone or just me?
Is this a known issue?
You realize how much you use those services when they're gone. :-/
--
FredB
Hi,
is it possible to increase the tabsize beyond 32?
The slider that pops up when you click on 'other' (under the tab menu) has its limit at 32 …
(textmate 1.5.10)
thanks!
TextMate hangs when I attempt to press Control+Command+C to insert a color using the color picker.
Anyone else run into this?
--
Brandon Fryslie
http://www.MateWiki.com - A TextMate 2 Wiki
sorry if this was brought up before, but when manually adding "favorites" via symlinks, they do not display in the favorites window list. (⇧⌘O)
I only see the ones added via TM2 menu controls.
thanks
I just created a macro (manually) to find all instances of the current word
using these commands:
(
{ command = 'selectWord:'; },
{ command = 'copySelectionToFindPboard:'; },
{ command = 'findAll:'; },
)
When I perform the actions manually with ctrl-w, cmd-e, cmd-opt-f, all
instances of the word flash yellow, but this doesn't happen when using the
macro. Am I using the wrong commands, or is it not possible to get the same
behavior? Thanks,
- Matt
--
View this message in context: http://old.nabble.com/Find-All-highlighting-tp33487518p33487518.html
Sent from the textmate users mailing list archive at Nabble.com.
I am somewhat aware of how the default grammar is picked for a filetype (correct me if I am wrong, but I believe it is the grammar chosen when the last file of that type was saved). So I recently edited a Latex file with an extension of .txt, and now .txt files open with the Latex grammar chosen.
Can I force TextMate 2 to use Markdown for all .txt files by default while allowing me to selectively change some .txt files to other grammars, without changing the default grammar for all files of that type?
Thanks!!
--
Brandon Fryslie
http://www.MateWiki.com - A TextMate 2 Wiki
I was periodically editing and compiling a LaTeX document when TextMate 2 started running at 100% CPU (still usable, though). In the background I have open a text file, a C++ project, a Ruby file and an HTML file.
I grabbed a sample:
http://cl.ly/2O3L0T24012i2h181L37/Sample%20of%20TextMate.txt
Jacob Bandes-Storch
And then …
I deleted both TM1 and TM2, reinstalled TM1 to set the license key, then reinstalled TM2. No notable problems.
File operations from TM2 project window (the file manager) still cause crashes. Or at least crashes often follow file ops. Causality isn't assured. Adding folders to favorites now isn't working at all.
In short, things seem to be worse than before. Favorites don't seem to work at all (crash happens). If I were more astute, I'd happily solve all this. However, … . Crash reports go to macromates. Any suggestions for a next step?
--Lewy
On Mar 13, 2012, at 4:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> From: Brandon Fryslie <bmf(a)matewiki.com>
> Subject: [TxMt] Re: crashes
> Date: March 13, 2012 1:03:43 AM AKDT
> To: TextMate users <textmate(a)lists.macromates.com>
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Here is where some of the TextMate 1 / 2 stuff is stored:
>
> TextMate 1 Original Bundles
> ~/Library/Application Support/TextMate/Pristine Copy/Bundles
>
> TextMate 1 Bundle Deltas (Changes)
> ~/Library/Application Support/TextMate/Bundles
>
> TextMate 2 plist
> ~/Library/Preferences/com.macromates.TextMate.preview.plist
>
> TextMate 2 Managed (Autoupdating / Installed from Preferences in TM2) Bundles
> ~/Library/Application Support/TextMate/Managed
>
> TextMate 2 User Bundles
> ~/Library/Application Support/Avain/Bundles
>
> You don't need to back up the managed bundles. If you back up (or don't delete) both TextMate 1 bundle folders you will be fine.
>
> AFAIK the 'official' way to get the newest version is to download the original alpha from the blog post and let it update.
>
> --
> Brandon Fryslie
> http://www.MateWiki.com - A TextMate 2 Wiki
>
> On Monday, March 12, 2012 at 1:30 PM, Lewy wrote:
>
>> <snip>
>>
>> I would like two thing:
>> 1. Where do I get the current download of TM2; and
>> 2. What do I delete?
>>
>> <snip>
Hi Allan,
maybe you can squeeze in the little fix soon, that the "wrap column" setting is sticky across launches.
I usually set it to "80" but at every launch it is back to "Use Window Frame".
Other than this, TM2 works flawlessly for me.
Thanks for your hard work,
Thomas
I'm trying to port and update some of my TM1 bundles to TM2. I've run
into trouble trying to assign commands to the ^{ and ^}
(control+curly_brace) keys. When I use "Select Bundle Item..." and
search by key equivalent, my commands are shown bound to ^{ and ^}.
Pressing those keys in a document does nothing, though.
My commands run when I assign them to different keys (such as ^+ or ^")
so I'm pretty sure they work and that the scoping is right. It's just
the ctrl+brace keys that are a problem. As far as I can tell I don't
have any add-ons that globally remap these keys, and they do work in
TM1. Does anyone else see this, and is there anything I can do to use
those keys?
This is on a standard USA MacBook Pro.
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>
At 2:32 PM +0700 3/12/12, Allan Odgaard wrote:
>Right, the layout view used for the various splits (of which the HTML output is one) is presently not constrained; ideally I want to use Lion's new constraint-based layout system instead of writing my own code for this, but it requires dropping10.6 compatibility, which we're slowly building up the courage to do :)
I'm still using 10.6 -- so it practical I would refer that 10.7 not be a requirement.
I get a lot of crashes now. This pretty much has to be something odd locally. Otherwise, I'd be seeing a lot of talk about it on this list. It seems like a good time to delete TM2 and reload the thing, but there is some stuff I don't want to lose. I have some local bundles (from TM1) which I think are working with TM2. They are mostly snippets.
I have built some additions to favorites folder which would be nice but not essential to preserve. Other than that, I'd like to clear all the TM2 stuff out without using one of the find-em-all trash cleaners. Someone mentioned doing that and having trouble getting TM2 back later.
I would like two thing:
1. Where do I get the current download of TM2; and
2. What do I delete?
Should I delete the just the plist first or would it be just as good and less work to reload the whole thing.
I like TM2 and don't want to give it up. And this list has been a great help to me. Thank you all.
--Lewy
when i am editing a sass file and start a new line, then indent (adding a property to a selector, for example) the indent won't stick. the cursor just gets bumped back to line up with the previous line's indentation. is this an issue with my bundle, or some other known issue?
thanks
Hi,
I've had this problem where the plist disappears and it's really
frustrating.
After a fresh install, Textmate starts just fine, but if I close it and try
to open it again later, the plist is completely missing.
I used the troubleshooting technique on the bottom of this page:
http://wiki.macromates.com/Troubleshooting/101
To get this result:
Mac-Pro:~ myuser$ /Applications/TextMate.app/Contents/MacOS/TextMate
2012-03-12 10:21:02.633 TextMate[22543:407] No Info.plist file in
application bundle or no NSPrincipalClass in the Info.plist file, exiting
I'm running Lion 10.7.3.
What is happening here?
--
View this message in context: http://old.nabble.com/Textmate-won%27t-start.-Tried-fresh-Lion-Install-tp33…
Sent from the textmate users mailing list archive at Nabble.com.
The more I use TextMate 2, the more I wish I was better at text navigation. I'm quite good at tapping the arrow keys quickly while holding various modifiers, but here are some things I really wish I could do:
(If there's a way to do these already, great!, and I'm sorry for spamming. But if not, consider these feature requests for consideration.)
- When I have a range selected, I'd like a way to create two carets: one at the beginning of the selected range and one at the end. (A more keyboard-centric way of managing multiple carets in general would be great, too, but I think this would be a good start.)
- I'd like a more definitive way to select the next-higher code block, tag, etc.; ctrl-opt-B and shift-cmd-B are useful in some cases but the latter is limited in use and sometimes the former just selects the whole document because of the way things are scoped.
- With multiple selections or a selected range, pressing the up arrow key will put a single caret one line above the first selection/caret, and pressing down goes one line below the last one or the end. It would be nice to have a way to move up from the last line or down from the first line. (Perhaps a modifier to choose beginning/end and then the arrow key can dictate only which direction to move).
Thanks!
(Sorry if this is the wrong place for this: http://wiki.macromates.com/Main/BugReporting says to try the ticket system first, but the ticket system is not accepting new tickets. I guess that's a separate bug report.)
Since the first public 2.0 alpha, still in build 9090 at least:
In PHP mode, ^H brings up what I think is called the HTML Output pane in the lower third of the document window to show php.net documentation.
When this pane is visible, the rightmost segment of the main document status bar (now pushed above the pane) can be dragged up and down to resize the pane.
But it can be dragged down past the bottom edge of the window and "lost" such that the status bar is gone until the window is reopened.
Proposed bugfix:
- The HTML Output resize handle (the rightmost segment in the status bar) should not be draggable outside of the window boundary.
Proposed interface improvements:
- If the HTML Output resize handle is dragged to the bottom, the app should consider HTML Output "hidden" such that future invocations should show the HTML Output pane at its default size.
Currently, if you drag the handle down to make the HTML Output effectively 0 pixels high, the app still considers it open, so the next invocation of e.g. ^H will update the HTML Output window in its (hidden) place and appear to the user to do nothing.
- (Bundle-specific?) Repeating the same command (in the PHP case, ^H) that brings the HTML pane up should also hide it if it's already displayed (effectively invoking View -> Toggle HTML Output).
Thanks.
-Marco Arment
I am having no joy in getting this to work in my .tm_properties file.
[ *.{rb,erb,haml,js,html} ]
scopeAttributes = 'attr.save-on-deactivate'
Has anyone else got it to work? Any help would be appreciated.
Thanks,
Ed
Changing scopeAttributes in a .tm_properties file i.e. adding
[ *.tex ]
scopeAttributes = 'attr.save-on-deactivate'
does not update scope attributes in open files. Only .tex files opened
after the .tm_properties change will carry the new scope attribute. Not
sure if this is a bug or not, but it is worth noting as it does confuse
matters when trying test attribute-specific commands :-).
Cheers,
David.
When I open a file from PeepOpen or the command line that's inside a project,
it opens inside the project's window. But if I close the project drawer,
files open into new windows. I don't think hiding the drawer should change
that behavior.
--
View this message in context: http://old.nabble.com/Files-opening-in-new-window-tp33454169p33454169.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I haven't used TM2 too much. In TM1 I usually adjust the themes a little to my preferred level of contrast and do so by duplicating the theme and adding a prefix so I don't lose the original values. I was trying to adjust one of the themes in TM2 and found where they were located. It wasn't working as I thought it would. In the bundle editor I must have changed something. Now the theme just says ":false" and no matter what I do, I cannot fix it. I have even deleted the theme and replaced with the theme file from my desktop computer, restarted, etc. The theme is broken no matter what I try.
Any idea how to fix this? Also, where do the other themes go when they are installed via the preferences.
Thanks
jon
I've noticed, from working in the Ruby on Rails syntax, that certain file-types convert the tab key silently to spaces at whatever space-to-tab preference is currently set. YAML for example. I was just trying out some Python for the first time in forever, and noticed that it was using tabs instead of spaces, even though the surrounding document was entirely indented in spaces.
Is this something that is adjustable? Where would I look? I looked in the language definition in the YAML bundle, but nothing jumped out at me.
Thanks in advance,
Walter
When use a dark theme, the file drawer's background is white, how about let file drawer use the same theme as the editor area does.
Just a suggestion.
Yuan Jiang
http://blog.vetcafe.nethttp://twitter.com/sleetdrop
how to let textmate2 support different line endings in same project.
Most of my files are unix line ending, but some external libs dos line ending, I don't want to convert them.
Yuan Jiang
http://blog.vetcafe.nethttp://twitter.com/sleetdrop
In TM2, embedded ruby lines are sometimes being outdented as I type. Here's
an example:
= form_for(@consumer_enrollment, url: [@workflow], method: :put, html: {
class: 'uniform' }) do |f|
= f.fields_for(:consumer_prior_authorizations) do |prior_auth_form|
When typing the second line, hitting backspace at any point or typing the
first colon causes the line to outdent to the level of the first line. I
can't see any change in the scope, and it doesn't do this in TM1, so I don't
know what the issue is. Any ideas?
--
View this message in context: http://old.nabble.com/haml-embedded-ruby-outdenting-tp33409296p33409296.html
Sent from the textmate users mailing list archive at Nabble.com.
I getting about one TM2 crash a day.
Was wondering if the plugins I have installed for TM1 could be related -- or does TM2 have another path for it's plugins?
$ ls -l ~/Library/Application\ Support/TextMate/PlugIns/
total 0
drwxr-xr-x 3 stephen staff 102 Aug 27 2010 AckMate.tmplugin
drwxr-xr-x 3 stephen staff 102 Nov 28 2010 MissingDrawer.tmplugin
drwxr-xr-x 3 stephen staff 102 Nov 13 2007 TMTools.tmplugin
Also, when I get a crash the built-in OS crash-reporter comes up to send the report to Apple.
Are these crash reports useful for TM2 development and if so how can I submit them.
I DO have "Submit crash reports to MacroMates check ON. Does this mean the reports I submit to Apple get forwarded on to
MacroMates?
Hi,
TM2 indentation behavior seems erratic (one key I hit out of ten is
dedicated to revert the last automatic indentation action) so I
disabled from the C bundle "Indentation Rules" and "Indentation Rules
(Comments)" in the bundle editor - I'm editing ANSI C files.
However, TM2 keeps changing the indentation in some random way (from
my perspective, while TM1 was mostly right). Is some special action
required to tell TM2 to stop altering the indentation till it gets
fixed?
As a more generic question, is there a way to tell TM2 "cancel the
last automatic indentation and do not repeat it on the next key hit"?
I really do prefer to lose automatic indentation rather than fighting
the indentation engine with every single edited line.
Thanks,
Manu
Hello,
I am trying to set TM2 to by default, show hidden files, and black list everything that I don't want, instead of whitelisting things like .gitignore,.htaccess, etc
I was wondering if anyone has succesfully gotten something like this to work:
include = "{*,.*}"
exclude = ".git"
This still shows the .git folder in the file browser
-Byron