Hello:
I have two project windows opened in TextMate at the same time and I noticed that if I set the tab size in one to say, 4, when I switch to the other window, it automatically changes too.
Is there a way to make the tab size "sticky" per window or per project?
Thanks,
dZ.
same for me
On Sat, Nov 13, 2010 at 12:09 PM, Thomas Traub <tomlettres(a)gmail.com> wrote:
> Same for me
>
>
> On Sat, Nov 13, 2010 at 12:06 PM, Piero D'Ancona <pierodancona(a)gmail.com>wrote:
>
>> Does anyone experience the problem I see here?
>> the shortcut CMD+OPT+B, which should toggle
>> bookmark visibility in the gutter, does not work,
>> and instead an html window briefly appears and
>> then disappears.
>>
>> Piero
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>>
>
>
I'm a Ruby newbie. I'm using TexMate Version 1.5.9 (1510) on Mac OS X
Version 10.6.4. I'm trying to write a small Ruby snippet to get keyboard
input as follows:
puts "What is your name? "
name = gets.chomp
puts "Hello #{name}"
I get the following TextMate error:
*NoMethodError:* private method ‘chomp’ called for nil:NilClass
*at top level*<txmt://open?line=2&url=file:///Users/marcc/Documents/marccTechnical/Ruby/myRubyPrograms/sayhello.rb>
in *sayhello.rb* at line 2
Program exited with code #1 after 0.02 seconds.
I've googled pretty much every piece of information on Ruby keyboard input,
changed that little snippet many times accordingly, but I could never get it
to work.
I realize that this question is not directly related to TextMate, but I'm
hoping somebody can help me.
Thanks in advance,
Marc
Does somebody use the blogging bundle under Ruby 1.9.x ?
I got the error message when I used "fetch post" ("post new blog" has the
similar error message)
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:24:in
`+': can't convert REXML::ParseException into String (TypeError)
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:24:in
`rescue in dialog'
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:28:in
`dialog'
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/progress.rb:42:in
`call_with_progress'
from /Users/user/Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:575:in
`fetch'
from /tmp/temp_textmate.kZ7CC3:3:in `<main>'
who has some solutions or idea???
--
View this message in context: http://old.nabble.com/-TxMt---trouble-blogging-bundle-under-Ruby-1.9.x-tp30…
Sent from the textmate users mailing list archive at Nabble.com.
I recently started using TM again to work on a Rails project and upgraded
form 1.5.7 to 1.5.9 (1510) on 10.6.4. Now the program is crashing several
times a day. I am working with projects and git scm enabled. Other than that
nothing special or unusual.
I saw a post here talking about a later version than 1510 but I can't seem
to find out how to download that or any other version than the this one. I
am currently running 1.5.7 and that seems to be stable if out of date.
I am not sure what is triggering the problem. It may be related to selecting
files from from the project drawer but I'm not certain and it only started
happening after upgrading to 1.5.9. This was initially happening on 10.5 so
I finally upgraded to 10.6.4 in hopes that it would fix it but it is still
crashing.
Any tips or assistance will be appreciated. This is the only editor that has
gotten me away from emacs. ;-)
-louie
--
View this message in context: http://old.nabble.com/TextMate-1.5.9-crashing-several-times-a-day-tp2940382…
Sent from the textmate users mailing list archive at Nabble.com.
Oops, I clicked the wrong address, please disregard and delete the last email from this address. Thanks
On 2010-11-05, at 7:33 PM, 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. Re: manipulating full lines rather than selection (Tim Diggins)
> 2. Language gramar and end match (Pedro Melo)
> 3. Re: TextMate 1.5.9 crashing several times a day (Charles Turner)
> 4. Re: Starting a background process from a command (Daniel Grady)
> 5. Re: Language gramar and end match (Josh Varner)
> 6. Re: Language gramar and end match (Pedro Melo)
> 7. Re: textmate Digest, Vol 30, Issue 7 (Jonathan Marshall)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 5 Nov 2010 15:17:33 +0000
> From: Tim Diggins <tim(a)red56.co.uk>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: manipulating full lines rather than selection
> Message-ID:
> <AANLkTik=ZnAqYirEAoa9fB1JyBgHi34qw7jm9OorLnHA(a)mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
> Oh, ok - I can see that use-case. Always interesting how different people
> use software differently.
>
> Thanks for all the responses.
>
> On Fri, Nov 5, 2010 at 3:11 PM, Rob McBroom <mailinglist0(a)skurfer.com>wrote:
>
>> On Nov 5, 2010, at 10:50 AM, Tim Diggins wrote:
>>
>> However the more I think about it, the more I think that the current
>> behaviour with (what you might call sloppy multi-line selection), for
>> indent/dedent and comment/uncomment is not very helpful. Indeed I can't
>> understand what need the current behaviour serves (i.e. should be treated as
>> a bug).
>>
>>
>> I comment selections now and then (usually at the end of a line). I agree
>> that use cases for doing this on multiple-line selections are less common,
>> but even there it can come in handy. CSS is a prime example, since it only
>> has block style commenting.
>>
>> .one {
>> padding: 0em;
>> }
>> .two {
>> padding: 1em;
>> }
>>
>> If I wanted to comment out the ?one? class and selected the first three
>> lines, I would end up breaking the ?two? class.
>>
>> /*.one {
>> padding: 0em;
>> }
>> */.two {
>> padding: 1em;
>> }
>>
>> So I get around this by selecting everything but the newline.
>>
>> --
>>
>> Rob McBroom
>> <http://www.skurfer.com/>
>>
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>>
>
>
>
> --
> ------------------------------------------------------
>
> Tim Diggins
> http://red56.co.uk
> http://tim.teamportfolios.com/
> tim(a)red56.co.uk
>
> 07515 931 642 / +447515931642
>
Hey Jerry,
If you get this before you go, go ahead and send me the data capture program. I want to be compliant and try every possibility. I was thinking I will also try unplugging my cordless phone since that's the only thing I haven't tried yet.
Jonathan Marshall.
On 2010-11-05, at 11:11 AM, 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. Re: manipulating full lines rather than selection (Sven Axelsson)
> 2. Re: manipulating full lines rather than selection (Tim Diggins)
> 3. Re: manipulating full lines rather than selection (Sven Axelsson)
> 4. Re: manipulating full lines rather than selection
> (Hans-J?rg Bibiko)
> 5. Re: manipulating full lines rather than selection (Rob McBroom)
> 6. Re: manipulating full lines rather than selection (Tim Diggins)
> 7. Re: manipulating full lines rather than selection (Gerd Knops)
> 8. Re: manipulating full lines rather than selection (Rob McBroom)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 5 Nov 2010 13:01:36 +0100
> From: Sven Axelsson <sven.axelsson(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: manipulating full lines rather than selection
> Message-ID:
> <AANLkTik10fPRJwyYc7gb78CKrUm4xML1R82rvAZQxXSa(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 5 November 2010 11:30, Tim Diggins <tim(a)red56.co.uk> wrote:
>
>> <snip> ... forcing selection to full lines ...
>>
> Is there a way to make this happen? Can I "decorate' those commands somehow
>> to select the relevant lines first... Or would I just have to rewrite those
>> particular features (for each bundle I want them to happen in? )
>>
>> thanks in advance
>>
>
> The commands could be rewritten, for sure, but wouldn't it be easier to
> teach yourself to select full lines when you need it? I usually make such
> selections by triple-clicking the first line to select it, and then dragging
> which will now continue to select full lines. You can also click and drag in
> the line number gutter to select full lines.
>
> --
> Sven Axelsson
> ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>> ++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
> +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
>
Hi,
I have a small embedded mini-language that allows me to include HTML
and CSS files inline inside the code.
The layout is something like this:
------ 8< -----
@@ filename.html
<div>....</div>
@@ styles.css
... css stuff ...
@@ other.html
... more html...
------ 8< -----
I'm using something like this:
{ name = 'embedded.html';
begin = '^(@@)\s+(.+[.]html?)\s*$';
end = '^@@';
captures = {
1 = { name = 'embedded.marker'; };
2 = { name = 'embedded.filename'; };
};
patterns = ( { include = 'text.html'; } );
},
{ name = 'embedded.css';
begin = '^(@@)\s+(.+[.]css)\s*$';
end = '^@@';
captures = {
1 = { name = 'embedded.marker'; };
2 = { name = 'embedded.filename'; };
};
patterns = ( { include = 'text.css'; } );
},
But the problem is that the "end" rule captures the @@ pair to it
cannot be matched by the next block "begin".
If I add an extra @@ just before the second file, it all works fine.
Is there any trick to get around this?
Thanks,
--
Pedro Melo
http://www.simplicidade.org/
xmpp:melo@simplicidade.org
mailto:melo@simplicidade.org
Thanks a lot for pointing this out, Allan. So now if I write
(matlab -nosplash -nodesktop < in &> out) &>/dev/null &
inside a TM command it's letting the command exit while MATLAB continues running in the background. I'll have to continue fiddling with this later today.
-Daniel
On Nov 4, 2010, at 3:17 PM, textmate-request(a)lists.macromates.com wrote:
> From: Allan Odgaard <mailinglist(a)textmate.org>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Starting a background process from a command
> Message-ID: <AA883E0B-D3FC-47E4-9CDC-1AEE165AE82B(a)textmate.org>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> On 4 Nov 2010, at 14:30, Daniel Grady wrote:
>
>> Hi everyone, I'm trying to write a TM command that will set up some
>> FIFOs, launch a process connected to those, and then the command
>> will exit [...] when I try to implement this inside a TM command,
>> the command doesn't exit until the launched process also exits.
>
> This is because TextMate will wait till your process close stdout/error.
>
> We have a ruby wrapper for this (which catch exceptions), for more
> info: http://wiki.macromates.com/HowTo/RunCommandInBackground
Hi
Objective-C -> Documentation for word / selection
hasn't been working in my SnowLeopard for I don't know how long. Finally I have digging into it and founded (thanks to an old PPC Leopard installation) that the problem is in
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/html_man.sh
where there is an old and stupid reference to a
RMAN_1='/Library/Application Support/Apple/Developer Tools/Plug-ins/DocViewerPlugIn.xcplugin/Contents/Resources/rman'
where currently Apple is not calling .xcplugin those plugins anymore, but, .pbplugin.
Since I don't know how the TextMate update policy is going, I have added an alias
ln -s DocViewerPlugIn.pbplugin DocViewerPlugIn.xcplugin
in
/Library/Application Support/Apple/Developer Tools/Plug-ins/
I hope this will help someone.
- juan falgueras
Hello :)
I have read that the C/C++ grammar "eats" all braces so that it is not
possible to highlight them with the punctuation identifier.
Apparently I have to modify the default grammar to something different, I
tried to remove stuff that contains blocks and other similars, but I can't
make it work...
Can somebody help me ? I just want to be able to change the colors of those
characters:
{}[]()
--
View this message in context: http://old.nabble.com/Looking-for-highlighting-braces%2C-curly-and-brackets…
Sent from the textmate users mailing list archive at Nabble.com.
Have you considered open sourcing textmate? I think there are a lot
of people who would like to add features to this editor.
For example, I'd like to have split windows, to be able to save window
configurations and embed a terminal or ssh session into the window.
David :)
Hello,
I'm working my way through the 20 minute Ruby intro on the Ruby page. As I type Textmate is capitalizing All the keywords and the words at the beginning of each sentence. When I cut and paste code from the webpage it's not capitalized. Also, if I backspace and retype the characters they remain lower case.
Is there a way to limit capitalization to only the keywords I've chosen? I don't care to have every else, elsif, etc., capitalized.
Thanks for the help,
Scott
A man who limits his interests limits his life.
-- Vincent Price
Hi, I'm having trouble getting some of the more complex Git bundle tools to
work. For example, when I try to merge, it does
http://img691.imageshack.us/i/picture3apw.png/
I suspect my problem is with my ruby version, I'm on OSX 10.5.6, and using
rvm to manage my ruby version, with the shell variable TM_RUBY set (this has
resolved all of my previous issues with rvm and textmate)
I followed the Git.tmbundle installation instructions at
http://github.com/jcf/git-tmbundle, installing it in ~/Library/Application\
Support/TextMate/Bundles
I followed these instructions
http://gnuu.org/2009/05/25/getting-gittmbundle-working-with-ruby19/ but the
svn repo had moved, so instead I did
$ svn co http://svn.textmate.org/trunk/Support/
My TM_GIT is set correctly, and simpler commands like Browse Annotated File
are working.
Any help/suggestions would be appreciated.
-Josh
PS - Full text of the error:
/Users/joshuacheek/Library/Application
Support/TextMate/Support/lib/ui.rb:237:in `to_plist': An object in the
argument tree could not be converted (ArgumentError) from
/Users/joshuacheek/Library/Application
Support/TextMate/Support/lib/ui.rb:237:in `request_item' from
/Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/../lib/ui.rb:9:in
`request_item_with_force_pick' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/../app/controllers/branch_controller.rb:71:in
`merge' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/application_controller.rb:105:in
`block in call' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/application_controller.rb:94:in
`with_filters' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/application_controller.rb:105:in
`call' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/application_controller.rb:112:in
`call' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/tmvc.rb:56:in
`dispatch_normal' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/tmvc.rb:74:in `dispatch'
from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/tmvc.rb:96:in `dispatch'
from /tmp/temp_textmate.FkobtG:4:in `'
I'm trying to compile a C++ source file that includes the following file:
#include "public.sdk/source/vst2.x/audioeffectx.h"
When I try to compile, I get the following error:
In file included from
/Users/martin/Desktop/vstsdk2.4/public.sdk/samples/vst2.x/again/source/again.cpp:13:
/Users/martin/Desktop/vstsdk2.4/public.sdk/samples/vst2.x/again/source/again.h:16:51:
error: public.sdk/source/vst2.x/audioeffectx.h: No such file or directory
Looks like g++ can't find the audioeffectx.h. How can I set up TextMate to
tell g++ that it should look in "/Users/martin/Desktop/vstsdk2.4/"?
--
View this message in context: http://old.nabble.com/Setting-C%2B%2B-Include-Paths-tp30037571p30037571.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi everyone, I'm trying to write a TM command that will set up some FIFOs, launch a process connected to those, and then the command will exit, the idea being that other commands can subsequently talk to the running process using the named pipes.
In my case I'm trying to set up communications with MATLAB; I have to use it for work, but I'm no great fan of the interface and spend most of my time writing scripts with TM instead, so this is just trying to take it to the next level. I see that this same thing has been brought up a few times before on the mailing list, and that the approach using named pipes is the usual suggestion. However, when I try to implement this inside a TM command, the command doesn't exit until the launched process also exits.
Inside a testing directory, I have test_script.sh:
pwd
mkfifo in
mkfifo out
nohup bash -s < in &> out &
bashpid=$!
# disown $bashpid
echo $bashpid
echo Done
When I run this script from Terminal, everything works as expected: a new bash gets started up in the background, its parent is launchd, I can pass in commands and read output from the in and out pipes, and it persists even if I close Terminal.
Now if I put the same script inside a TM command and then run the command inside a file (which is saved in the same testing directory), the command hangs until I go pipe 'exit' or something into in and read from out. I would expect the command to immediately exit; does anyone know why it doesn't? Thanks in advance!
-Daniel
I've installed a few perl modules at the command line but they are not
seen in TextMate. What happens is that if I run code (Cmd+r) from
within TextMate that calls a module that I've installed, TextMate
can't find it: Can't locate LaTeX/Driver.pm in @INC...
Investigating this I find that TextMate is calling Perl 5.8.8 whereas,
at the command line, perl -V tells me 5.8.9. So TextMate is calling a
different perl version to the one the modules are installed under.
How do I change which perl version TextMate uses?
I've had a look in the bundle at the Run Script command and that
references ENV["TM_PERL"] but I'm not sure where this is set. Can
anyone help with this?
--
Justin C, by the sea.
¡Tienes un nuevo mensaje en Badoo!
Rafael Vega te dejó un mensaje.
Haz click en este enlace para verlo:
http://us1.badoo.com/01128060996/in/-UDb3FMz9c4/?lang_id=7
Más gente que también te está esperando:
Dani (Medellín, Colombia)
Deissy (Medellín, Colombia)
THe PRiNCeSs (Medellín, Colombia)
http://us1.badoo.com/01128060996/in/-UDb3FMz9c4/?lang_id=7
Si al hacer click sobre el enlace, no funciona, copia y pega la dirección en tu barra del navegador.
Este email es parte del procedimiento para que leas los mensajes de Rafael Vega. Si has recibido este email por equivocación, por favor, ignóralo. Tras un corto periodo de tiempo el mensaje sera eliminado del sistema.
¡Diviértete!
El Equipo de Badoo
Has recibido este email porque un usuario de Badoo te ha dejado un mensaje en Badoo. Este mensaje es automático. Las respuestas a este mensaje no estan controladas y no serán contestadas. Si no quieres recibir más mensajes de Badoo, háznoslo saber:
http://us1.badoo.com/impersonation.phtml?lang_id=7&mail_code=63&email=textm…
Hi Craig,
Thanks! That did the trick.
My version is below. I changed the colors to match TextMate's and I had to
change "meta_diff_header" to "meta_diff_range."
.markup_deleted_diff{ background:#f54; color:white; display:block; }
.markup_inserted_diff{ background:#7f8; display:block; }
.meta_diff_range{ background:#47d; color:#fff; display:block; }
Thanks again!
Arturo
Hi Arturo,
Once you do the output to HTML it looks like there are classes applied to everything that would be easy enough to style. I added the following to the style block in my HTML output and it started to come pretty close to the regular syntax highlighting that I use....
.markup_deleted_diff{ background:red; color:white; display:block; }
.markup_inserted_diff{ background:#0f0; display:block; }
.meta_diff_header{ background:#00f; color:#fff; display:block; }
Obviously you could tweak it however you like. Once I added those I saved it to html and printed from the browser (make sure "print background colors" is enabled).
Hope this helps,
Craig
------------------------------------------------------------------------------
Craig Edmond
Creative Lead/Senior Web Designer
finalsite | web software and services for schools
email: craig.edmond(a)finalsite.com<mailto:craig.edmond@finalsite.com>
Hi,
I would like to share the output of diff with some colleagues in a document
(pdf, html) with syntax highlighting so that it is easy to read.
Syntax highlighting in TextMate for a text file with the output is great,
but I cannot figure out how to export with syntax highlighting (html didn't
work) after an hour or so of research.
Any help would be appreciated.
Arturo
Hi,
I'd like to know if it is possible to do a search and replace on some keys
in all bundles and replace them with something else.
Reason, Swedish keyboard doesn't work very well with TextMate.
Mikael Henriksson
Tel: +46 (0) 730- 393 200
mikael(a)zoolutions.se
Hello,
I'm getting used to ctrl-h to replace backspace (as it's simpler to hit, especially when making caps-lock being ctrl), and it works in many places in OS X, except with TextMate, where it invokes the help. I could not find where to change that shortcut so that it becomes backspace instead of help. Is there a bundle involved?
Thanks,
Alan
Sorry for what seems like a really noob question, but I'm ripping my hair out
on this one.
Was working away on a Rails app when I hit what I thought was
<ctl><opt><shift>D. suddenly every .rb file in all of my apps lost all
color. everything is black and white and I can no longer see the comments,
etc. in different colors.
Screenshot:
http://screencast.com/t/mZxoClq34UJ
thanks in advance
--
View this message in context: http://old.nabble.com/.rb-files-turned-black-and-white-tp30021873p30021873.…
Sent from the textmate users mailing list archive at Nabble.com.