Recently, when I try to open TextMate, TextEdit opens up instead. I cannot
figure out how to launch TextMate. I think this started happening around
the time I upgraded to Lion, but I am not sure if there is any connection.
I rebooted one time and was about to launch TextMate, but now even if I
reboot it still brings up TextEdit.
Thanks for your help,
- Tad
--
View this message in context: http://old.nabble.com/TextEdit-opens-intead-tp32872813p32872813.html
Sent from the textmate users mailing list archive at Nabble.com.
Not sure what I've done to make this happen, but in the last day or so, ⌘T or Go to File has stopped working. I haven't edited any bundles recently, updated any bundles or any such activity.
Any ideas?
Adam Merrifield
seyDoggy vCard: seydoggy.com/vcard
I just updated my D compiler on Lion. Now when I run a C++ program in
? (not a D program!) I get the following:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/process.rb:194: warning: Insecure world writable dir /Users/chuck/dmd2/osx in PATH, mode
040777
Any ideas?
Thanks,
Chuck Allison
> Was hoping there was an environment variable to get a list of the open
tabs in a project. Is this possible?
You can look at the environment variables by enabling the Bundle
Development bundle. Go into the Bundle Editor, and click on Filter near
the bottom. Check the box next to Bundle Development. Now go to a
document and press shift+ctrl+command+p. That should pop up a tooltip with
all of the environment variables. Someone please correct me if I am
mistaken and that is not all of the environment variables.
There is also this thing called TMTOOLS which supposedly hacks in a some
extra functionality...but rather than go that route you might just bide
your time and see if a future update possibly provides the features you are
looking for.
Brandon
Hi.
I installed the TxMt sass bundle from sea of clouds but despite adding the
path to html2haml in my .bash_profile & the shell variables preference in
TxMt when I try to run `html2haml` I get:
`/bin/bash: html2haml: command not found`
This on 10.6.8 & ruby-1.9.3.
Any help appreciated.
Cheers,
Phil...
--
Nothing to see here... move along, move along
Ok, so what is the latest way to get updated bundles? I've been using
GetBundles, but now when I try to use it, it just spins on "updating
TextMate support" or just any action. I can't get it to do any updates.
I used to just do:
cd /Library/Application\ Support/TextMate
svn up
but I had thought I read that bundles are moving to Github, so that command
isn't quite the right way.
So... what's the new and improved method to update bundles?
(one for example - I'm trying to see if there's a Rails bundle update that
has updates for Rails 3.1)
Thanks!
Is it possible to have a language bundle inherit foldingStartMarker and
foldingStopMarker from another? e.g. having the Ruby on Rails bundle using
the folding rules from the Ruby bundle.
Hi, I'm korean.
I'm very poor at english, but i have one question.
Why didn't parsed this ?
#ifdef
if(condition) {
#endif
#ifdef
}
#endif
int test_func() //TextMate didn't parsed this function.
{
...
}
}
Hi.
I'm trying to install the plugin in the Rails bundle & TxMt throws this
error:
`/Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby on
Rails.tmbundle/Support/bin/list_plugins.rb:27:in `join': can't convert nil
into String (TypeError) from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby on
Rails.tmbundle/Support/bin/list_plugins.rb:27:in `'`
There's very little info on Google (I have successfully installed Edit in
TextMate in /Library/InputManagers & it's owned by root:admin) so I wondered
if anybody had had similar problems.
Cheers,
Phil...
--
Nothing to see here... move along, move along
>
> But that's because I chmod'd a couple of Cache directories in /usr/local/
> to
> 777 so they could be writable to by apapche 2.2. I don't think that can be
> the cause because I did the same in /opt/local/ where my working copy of
> perl is & TM returns any output from any script fine if I supply the
> correct
> shebang line `/opt/local/bin/perl`
I recommend changing the group of those files to Apache's group ('www' on
OSX I believe) and making the files group writable but not writable by
everyone. It's safer that way.
Hi, all.
I've just started to use TextMate & I'm wondering how to get it to recognise
the Ruby version I use.
I've altered my $PATH in TM's Prefs to reflect the change, Terminal shows:
[Mon Nov 14 20:00:55 dobbin@darkstar:~ ] $ which ruby
/usr/local/rvm/rubies/ruby-1.9.3-p0/bin/ruby
but running the example script even with a shebang line returns this:
#!/usr/local/rvm/rubies/ruby-1.9.3-p0/bin/ruby
RUBY_VERSION # => "1.8.7"
data = %w[one two three four five]
results = data.select { |n| n[0] == ?t } # => ["two", "three"]
Any help appreciated.
Cheers,
Phil...
--
Nothing to see here... move along, move along
Hello,
I want to use quantlib within TextMate.
My Shell Variables are:
PATH =
/opt/local/bin:/opt/local/sbin:
/Library/Frameworks/Python.framework/Versions/2.6/bin:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/usr/local/bin:
/usr/X11/bin:
/usr/texbin:
/opt/local/include:
/opt/local/lib:
and
TM_CXX = -I/opt/local/include
When I test quantlib with
g++ -I/opt/local/include/ -I/opt/local/include/boost testQuantlib.cpp -o testQuantlib -L/opt/local/lib/ -lQuantlib
it compiles fine.
How must I set the shell variables to use quantlib to compile with TextMate?
Thanks for the answer,
Andre
I have 20,000+ lines that I need to select-all and then be able to
insert a special character like ^ not normally found within the
document, at the beginning of every line, to allow me to then use Find
and Replace to insert a common string at the beginning of each line.
After doing this, I also need to be able to do the same thing at the
END of each line of text and run find and replace with a different
string on all 20,000 lines.
I know how to use Find & Replace.
What I don't know and what I can't locate in the manual document is
how to select all 20,000 lines and insert a character at the beginning
and end of each of those lines.
What is the most efficient way of doing this?
Thanks in advance for any help!
--
Adam Boettiger
adam(a)adamboettiger.com
Portland, Oregon
>
> I have 20,000+ lines that I need to select-all and then be able to
> insert a special character like ^ not normally found within the
> document, at the beginning of every line, to allow me to then use Find
> and Replace to insert a common string at the beginning of each line.
> After doing this, I also need to be able to do the same thing at the
> END of each line of text and run find and replace with a different
> string on all 20,000 lines.
> What is the most efficient way of doing this?
I think using sed might be more efficient since TextMate's handling of
large files can be a little unreliable sometimes. Press option+command+r
to bring up the Filter Through Command dialog and put this in the Command
input box:
sed -e "s/^/\^/" -e "s/$/\^/"
That is, substitute a literal ^ (\^) for a beginning-of-line (^), and do
the same for end-of-line ($).
That might be faster than the Find and Replace dialog on a big file. You
can also store it as a command if you end up doing it a lot.
I hope that helps,
Brandon
tracing a message to source.
the message in question is:
Type your password to allow TextMate to make changes.
the heart of the message is as i would see it is:
((((((( to allow ))))))))))) (((((( TextMate ))))))) ((((((( make
changes )))))))))
i do apologize for the excess use of parentheses to emphasize.
i have been dealing with this situation for a while now. in a few forums.
any way , the words the code developer used to convey a message are:
" to allow TextMate to make changes "
what is text mate changing ???
it would be nice to know.
this situation revolves around the action of placing a textMate file in
XAMPP htdocs.
I could chase answers over here and chase answers over there. etc.
but what would be really cool is if the code developer could stimulate some
reference to a file or a process or some other lead.
are there any command line utilities that could show the last known file
that executed action to the screen.
Thank you.
I'm new to textmate, so...
I was trying to figure out why the syntax highlighting in perl sucked so
much, when I realized it was getting messed up by some regex code.
Paste this into file (e.g. test.pl) and view in textmate. Does the 2nd
function hilight correctly? It is the /\\/ regex I think - comment the
first one out and watch the hilighting change.
sub fn() {
# some perl code
my $f = shift;
if( $f =~ /\\/ ) {
my $var = "Hello";
}
}
sub fn2() {
# some perl code
my $f = shift;
if( $f =~ /\\/ ) {
my $var = "Hello";
}
}
Thoughts? I am using textmate Version 1.5.10 (1631)
thanks -thomas
Hello everyone!
I discovered Textmate this summer and can't let go of it ^^
I'd like to use the Ada bundle, but when I try to run my program, textmate tells me "gnatmake: command not found". I suppose I did something wrong with the config.
besides, when I run the script given on the bundles page, I get
2011-11-09 09:49:49.095 osascript[1760:903] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
Ada comDoes anyone know how I could fix this?
thanks a lot for your help
Iwanami
Hi all,
I'm next to text mate and so far I'm loving it! There's one thing though
that I miss from BBedit, and it's likely there i just can't find it so if
anyone is kind enough to help me that would be nice.
In bbedit while writing CSS there's a function called : Context-sensitive
tag and attribute completion while typing ; basically it's simply suggesting
you word/function while you type so you can simply select it instead of
typing the whole thing. It's is slightly faster but what it liked more was
the fact that this way you avoid attribute typo. So is there something
similar in textmate? I'm still new to the whole bundle thing but I know
textmate get a lot out of it.
Thanks
--
View this message in context: http://old.nabble.com/Attribute-completion-while-typing-tp32805992p32805992…
Sent from the textmate users mailing list archive at Nabble.com.
Im trying to create a bundle for GAMS and when wanting to do syntax
highlighting i have an issue. Several of the commands in GAMS starts with a
$ sign, e.g. $INCLUDE, so how do i get the editor to recognize this? I've
tried doing the litteral \$ but it wont recognize it in my syntax.
{ name = 'keyword';
match = '^\b((?i)(\$INCLUDE))\b';
}
What am i doing wrong?
I user Textmate for all my Ruby work. It would be really great if Textmate 2.0
comes with Ruby 1.9 instead of using the default 1.8.7 that comes installed
with OSX these days. Please consider embedding Ruby 1.9 in Textmate 2!
You could of course provide an option for using that or the version of Ruby
installed with the system.
So, I'm new to my Mac, FileZilla and TextMate.
I have set TextMate as my editor in FileZilla but when I try to save it the
Mac just goes, "Doh!" and won't save my edits.
I notice that the red close jewel has a dot inside it and not a cross.
I'm perplexed.
Thanks
Martin
PS I think this probably has to do with file permissions. The files were
downloaded from an existing site.
--
View this message in context: http://old.nabble.com/Open-TextMate-from-FileZilla-and-I-Can%27t-Save-my-Ed…
Sent from the textmate users mailing list archive at Nabble.com.
> Macfusion
Unfortunately I've lost data using Macfusion when TextMate beachballs
looking through the remote filesystem. ForkLife has a ridiculous amount of
awesome, such as easily creating 'synclets', standalone app files that will
sync directories when you run them, and 'droplets' which are apps that you
can drop a file onto to upload it to a specific remote location. You can
mount any remote directory as a local volume (a la MacFusion but more
powerful). It really makes working with remote files as transparent as
working with them locally, you can transfer or sync remote directories
against each other with a bunch of options (such as includes/exclude by
regex filter & more) and it has a great visual diff/merge tool also. I'm
usually all for open source but this program saves me so much time that
using anything else would cost me way more than $30. It's a one-man-shop
(like a lot of the best software ;) ) so I feel good about giving him my
support.
Brandon
> So, I'm new to my Mac, FileZilla and TextMate.
Might I recommend ForkLift <http://www.binarynights.com/>. $30 of the
time-savingest dollars I've ever spent (and I really try to use open source
mostly). Makes it super easy to open a lot of remote files and edit them
without any hassel. Tons of great features, couldn't imagine my coding
life without it.
On Tue, Nov 1, 2011 at 5:00 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. Open TextMate from FileZilla and I Can't Save my Edits (martcol)
> 2. Re: Open TextMate from FileZilla and I Can't Save my Edits
> (tamouse mailing lists)
> 3. Re: Open TextMate from FileZilla and I Can't Save my Edits
> (martcol)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 31 Oct 2011 10:55:08 -0700 (PDT)
> From: martcol <martcol(a)tiscali.co.uk>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Open TextMate from FileZilla and I Can't Save my
> Edits
> Message-ID: <32753442.post(a)talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> So, I'm new to my Mac, FileZilla and TextMate.
>
> I have set TextMate as my editor in FileZilla but when I try to save it the
> Mac just goes, "Doh!" and won't save my edits.
>
> I notice that the red close jewel has a dot inside it and not a cross.
>
> I'm perplexed.
>
> Thanks
>
> Martin
>
> PS I think this probably has to do with file permissions. The files were
> downloaded from an existing site.
> --
> View this message in context:
> http://old.nabble.com/Open-TextMate-from-FileZilla-and-I-Can%27t-Save-my-Ed…
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 31 Oct 2011 16:51:43 -0500
> From: tamouse mailing lists <tamouse.lists(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Open TextMate from FileZilla and I Can't Save my
> Edits
> Message-ID:
> <CAHUC_t9FtLxsWzPmoB4Rug8p1Vze90u66gTZFz+yznpFaEyNAA(a)mail.gmail.com
> >
> Content-Type: text/plain; charset=UTF-8
>
> On Mon, Oct 31, 2011 at 12:55 PM, martcol <martcol(a)tiscali.co.uk> wrote:
> >
> > So, I'm new to my Mac, FileZilla and TextMate.
> >
> > I have set TextMate as my editor in FileZilla but when I try to save it
> the
> > Mac just goes, "Doh!" and won't save my edits.
> >
> > I notice that the red close jewel has a dot inside it and not a cross.
> >
> > I'm perplexed.
> >
> > Thanks
> >
> > Martin
> >
>
> I would, at a guess, say you're probably saying "TextMate.app" (or
> maybe without the .app part).
>
> What you want is to specify the command line program mate or matewait
> which runs separately and hooks up to the TextMate application when
> invoked.
>
> See: http://manual.macromates.com/en/using_textmate_from_terminal.html
> (which is really about calling TextMate from other appliations)
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 1 Nov 2011 00:17:55 -0700 (PDT)
> From: martcol <martcol(a)tiscali.co.uk>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Re: Open TextMate from FileZilla and I Can't Save my
> Edits
> Message-ID: <32757168.post(a)talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
>
>
> tamouse mailing lists wrote:
> >
> >
> > I would, at a guess, say you're probably saying "TextMate.app" (or
> > maybe without the .app part).
> >
> > What you want is to specify the command line program mate or matewait
> > which runs separately and hooks up to the TextMate application when
> > invoked.
> >
> > See: http://manual.macromates.com/en/using_textmate_from_terminal.html
> > (which is really about calling TextMate from other appliations)
> >
> > _______________________________________________
> > textmate mailing list
> > textmate(a)lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
> >
> >
> thank you tamouse
>
> I read the page on opening TextMate in another app. With FikeZilla there
> is
> already a way to get that. It's in preferences and I just navigated to
> >applications>TextMate. TextMate opens ok but once it is open it won't let
> me save any edits.
>
> Anyway, since posting I have worked out that it's a permissions thing. So,
> I
> don't think it's actually a TextMate problem but more about me not
> understanding my mac!
>
> The files are site files and are downloaded from an existing site. Somehow
> the mac thinks I don't have the permissions to edit them.
>
> Martin
>
> --
> View this message in context:
> http://old.nabble.com/Open-TextMate-from-FileZilla-and-I-Can%27t-Save-my-Ed…
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
> End of textmate Digest, Vol 42, Issue 1
> ***************************************
>
Hi, I use Edit in TextMate a lot but recently it simply disappeared from my
menus. I have been using 10.6.8 for a while, the last system related
software I installed was the 'OS X Server Administration' pack if that is
known to cause issues.
I reinstalled the input manager with the command TextMate -> Install Edit
in TextMate, then tried moving /Library/InputManagers to
~/Library/InputManagers to see if that made a difference. I restarted
first my applications, and then my computer after each of those steps to
see if that worked.
Unfortunately it has not fixed it. Does anyone know what might be
disabling my InputManagers? Or if someone has a better solution for
writing Language Grammars I would be happy to hear it.
Thanks!
Brandon
*************************************************************************
*** We apologise if you receive this Call for Papers more than once ***
*************************************************************************
Call for Papers/Abstracts
PracTeX Journal: Issue 2012-1
Issue theme: "LaTeX in the IT World"
http://www.tug.org/pracjourn/
ISSN 1556-6994
Submissions due January 31, 2012 (extended)
Dear LaTeX and TeX Users,
The PracTeX Journal (the International Online LaTeX/TeX Journal) has
been publishing articles since 2005. Since its first edition, TPJ has
presented a wide range of articles on the practical use of LaTeX and
TeX. During these years, we have worked hard to present articles that
are useful to our readership. Among these articles are ones that
describe tools and techniques that can be used for teaching or
commercial purposes.
The PracTeX Journal brings together researchers and practitioners from
diverse fields, such as mathematics, physics, computer science, social
sciences, business, education, and others. Our purpose is to present
ideas on the use of LaTeX and TeX among different disciplines and
platforms, through the sharing of techniques as well as examples of
LaTeX and TeX markup.
+++++++++++
Highlights
+++++++++++
The PracTeX Journal 2012-1 issue has the theme "LaTeX in the IT
World".
The goal of this issue is to provide opportunities for technical
collaboration beyond academic walls, and present ideas on the use of
tools for education, teaching, classroom and commercial purposes. We
are looking for articles that discuss tools and techniques for using
LaTeX and TeX in IT, including making web page content, pulling
documents from databases and spreadsheets, managing programming
projects and source code, and other areas where LaTeX and automation
meet. Actual examples and LaTeX sources and markup are encouraged.
+++++++++++++++++++
Topics of Interest
+++++++++++++++++++
We look forward to receiving your paper submission by next January,
with innovative contributions in any of the TPJ main topic areas.
The topics and areas include, but not limited to:
- Tools that assist the students/authors in preparing
graphics, indexes, bibliographies, and other parts of documents;
- Text manipulation tools;
- Tutorials;
- Short videos;
- Free or almost free tools;
- Teaching texts;
- Homework styles;
- Cross-platform tools.
We encourage you to submit original papers describing your experiences
using LaTeX and TeX tools in an academic setting, and also papers on
tool development work in progress or completed.
+++++++++++++++++++
On-Line Submissions
+++++++++++++++++++
If you would like to submit an article or technical note for
publication please contact the editors at mailto:pracjourn@tug.org.
All submitted papers will be reviewed by the Production Editors on the
basis of technical quality, relevance, significance, and clarity.
All authors of accepted articles will be kept apprised of their
article's progress.
Please see http://tug.org/pracjourn/submit.html for the Journal's
guidelines.
+++++++++++++++
Important Dates
+++++++++++++++
- Paper submission deadline: January 31, 2012 (extended)
- Acceptance notification: Before Feb. 15, 2012
- Publication date: March, 2012
++++
News
++++
Submissions in any language are acceptable. Since its beginning in
2005, The PracTeX Journal has accepted papers not only in English but
also Portuguese, Spanish, Dutch, German, Norwegian, Chinese, Korean,
Romanian, and Italian. However, please contact the editors in
English, and submit an English abstract as well.
Don't hesitate to contact me should you have any questions.
Best Regards,
Francisco Reinaldo
2012-1 Issue Editor
mailto:pracjourn@tug.org
Hi,
This is my first post.
When using TM the auto bracket closing feature is great but I wonder if it's
possible to change it's behaviour slightly.
What I get currently:
function {
}
What I would like:
function
{
}
I appreciate that hitting return after typing 'function' would achieve me
this but is there a way of TM taking care of this?
--
View this message in context: http://old.nabble.com/Backet-autocomplete-tp32730304p32730304.html
Sent from the textmate users mailing list archive at Nabble.com.
> The second one was, in the same problem, I wanted to combine all the lines
> in a file into one long line - I couldn't find a "remove line endings"
> command. How would I do this?
You can also press alt+enter to insert a literal newline (or tab with
alt+tab) into the find box and do replace all.
Hi,
Been using TextMate for a while, but I came across two simple things that I
couldn't figure out how to do. FIrst, I had a text file that I had to find a
specific character position in the file.. ie. character 2456. There's no
way, that I can see, to go to that specific character position. The status
bar at the bottom shows lines / character, but not absolute character
position.
The second one was, in the same problem, I wanted to combine all the lines
in a file into one long line - I couldn't find a "remove line endings"
command. How would I do this?
Thanks!
John.
Hello,
HELP! I have recently had to re-enter my registration key in another
version of Textmate on my MAC laptop.
But now when I edit (in LaTeX but this problem is independent of the
bundle), instead of Textmate automatically highlighting a single,
entire line (under preferences), Textmate only underlines the current
line according to the chosen highlight color. The cursor marker is
also visible, as a blinking underscore. How can I reset to the my
earlier setting where the actual line is completely highlighted? I
have tried all color and theme combinations.
Thanks a lot,
Matthew
Hi there,
If some variable starts with "C", the whole line which contains that
variable and where it at the very first place highlighted as comment. I
suppose it comes from old F77 style, where C denotes comment, but it's
not necessary now. Is there any way to fix it? My current way-around is
to put single space before that variable, but in this case overall code
doesn't look as nice as before.
Thanks.
--
Kaster Might
Hi
I'm doing some Objective-C exercises in TextMate. Up until now, I've
put everything (interface, implementation and main) into one file and
hit cmd-R (presumably activating the C bundle's Run command) to see
the output. Now I want to use separate files, with the #import
command. Unfortunately, when I try this, I get an error about how my
class can't be found. Here's the code :
#import "Rectangle.h"
int main (int argc, char *argv[]) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
Rectangle *rectangle = [[Rectangle alloc] init];
[pool drain];
return 0;
}
And the error it gives:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_Rectangle", referenced from:
objc-class-ref in ccccStDD.o
ld: symbol(s) not found for architecture x86_64
I understand that I can do this in Xcode, or using the terminal, but
since I'm making quick changes, I want to see the results quickly.
Making a change and hitting cmd-R let me do this easily.
I looked at the Xcode bundle, which also has a "Run" command, but it
seems to require an Xcode project to work.
Is there a way to get my files to link automatically before running? Thanks.
Nevan
Dear all,
thanks to some threads in the mailing list, i got a project drawer
showing me the file status of my git stuff.
But I seem to recall that it was also possible to get git actions
reachable via right-click somehow? I could not make that work so far.
Any hints?
Best regards,
Michael
>
> #!/usr/bin/env ruby -wKU
> require "#{ENV['TM_SUPPORT_PATH']}/lib/exit_codes"
> ?
> TextMate.exit_show_tool_tip("Hello world")
That is exactly what I was looking for. Thank you so much.
Brandon
On Sun, Oct 16, 2011 at 5:00 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: Click to Highlight Opening and closing tags (Allan Odgaard)
> 2. Help with Ruby command (Brandon M Fryslie)
> 3. Re: Textmate not previewing in Firefox 7 (Michael Sheets)
> 4. Re: Help with Ruby command (Allan Odgaard)
> 5. Re: boost library (Andre de Boer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 16 Oct 2011 09:46:09 +0200
> From: Allan Odgaard <mailinglist(a)textmate.org>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Click to Highlight Opening and closing tags
> Message-ID: <FA1FB4FC-A7EE-40E3-AEC6-8CC2C44F55D3(a)textmate.org>
> Content-Type: text/plain; charset=windows-1252
>
> On 30 Sep 2011, at 02:50, Basil Babaa wrote:
>
> > The following ticket was opened [?] Is there any news of status
>
> There are a lot of open tickets given that TextMate 1.x hasn?t seen new
> features in years.
>
> There has recently been news that there will be an alpha of 2.0 before
> Christmas which should close some tickets, but I?m not going into specifics.
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 16 Oct 2011 01:39:55 -0700
> From: Brandon M Fryslie <bmf(a)email.arizona.edu>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Help with Ruby command
> Message-ID:
> <CAPjYj-COm=Rw=N=spwU8Zh56oiLW5kNUV++WUN4xdx3qOAxTMw(a)mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi, I would like my Ruby command to replace the selected text, or show a
> tooltip in some situations. I see there is a command for doing this with
> bash: exit_show_tool_tip. However this:
>
> puts `exit_show_tool_tip "Error message"`
>
> isn't working for me. Is there some way to do this from inside a Ruby
> command?
>
> Thanks
> Brandon
>
Hi,
I am using the wonderful Rdaemon-bundle in TextMate.
But now I stumbled over a big problem parsing code to the Rdaemon
(by selecting the code and pressing CMD+T or selecting "execute selection").
It is a rather long script and some of the lines at the end of the script do not get parsed correctly.
They kind of get completely screwed up leading to error messages.
For example, this line in the original code:
for(i in 1:length(x)) { prt_reduced[,x[i]] <- reorder(prt_reduced[,x[i]], c(2,1)) }
looks like this after pressing CMD+T:
> for(i in 1:length(x)) { prfor(i in 1:length(x)) { prfor(i in 1:length(x)) { prfor(i in 1:egory
Error: unexpected 'in' in "for(i in 1:length(x)) { prfor(i in"
It seems to have something to do with the length of the script.
When I just execute this line, or chunks of code step by step, it works fine.
But if I try to run the whole script (with CMD+A, CMD+T) strange things happens at the end of the script (like this screwed up line above).
If I try to make the code smaller (delete lines etc.), it seems like different lines get affected by this strange behavior
(at it always happens at the end of the script).
So it seems to have nothing to do with particular lines of codes, but as I said, the length of the script.
As if at some point the parsing of code to the Rdaemon doesn't work anymore (perhaps something like buffer-overflow?).
hope someone can help!
thanks.
Hi, I would like to convert the tmlanguage format into the plist format that
is used by the bundles in the repo (writing a command for to be used for
writing languages that will render some text to html using ultraviolet so I
can test the language).
How can I accomplish this?
Thanks!!!
Brandon
Hello,
How can I include the boost library in a c++ program with TextMate?
So I can run programs like using TextMate.
#include <boost/lambda/lambda.hpp>
#include <iostream>
#include <iterator>
#include <algorithm>
int main()
{
using namespace boost::lambda;
typedef std::istream_iterator<int> in;
std::for_each(
in(std::cin), in(), std::cout << (_1 * 3) << " " );
}
Thanks for the reaction,
Andre
Hi, I would like my Ruby command to replace the selected text, or show a
tooltip in some situations. I see there is a command for doing this with
bash: exit_show_tool_tip. However this:
puts `exit_show_tool_tip "Error message"`
isn't working for me. Is there some way to do this from inside a Ruby
command?
Thanks
Brandon
Hi,
I'm new to both Textmate, web dev and the list. I was able to preview via
the HTML Bundle to Firefox 6, however I can't preview in FF7.
Any help would be great! Thanks.
The following ticket was opened as follows: Status: open, reported by Ryan Cornelsen on 2009-08-20 (request)
It reports as currently still open after 2 years…
Is there any news of status update on this request, as I would too like to re-iterate the request as it is an invaluable option…
Regards,
Basil
I've upgraded to Lion yesterday and I've configured TextMate to use a dark background. Lion's new hidden scroll bars are now unusable, I cannot see them when scrolling.
While I have enabled the scroll bars by default now (and there are good reasons why), TextMate should work with the default configuration of the OS. Will there be an update that makes TextMate more amenable to Lion's new UI elements?
Max
Hi again,
After playing around with it it only works if there is nothing before it. When I start a line with then I have 2 different colors one for % and one for the name of the array.
But the moment I put even a space before the %array or declare it or it's inside a parenthesis of a function then it does not work it gets a generic color...
Thanks for your help in advance.
Best,
John
Message: 6
Date: Fri, 14 Oct 2011 04:54:17 -0400
From: DZ-Jay <dz(a)caribe.net>
To: TextMate users <textmate(a)lists.macromates.com>
Subject: [TxMt] Re: Coloring Syntax
Message-ID: <10089806-887A-43E8-BED0-241FD2E1BEAA(a)caribe.net>
Content-Type: text/plain; charset=us-ascii
Hello John,
You can match multiple tokens on the same line and assign them to different coloured groups like this:
{ name = 'meta.entity.ksp';
match = '^(\%)([a-zA-Z0-9_]\w*)';
captures = {
1 = { name = 'punctuation.ksp'; };
2 = { name = 'entity.ksp'; };
};
},
Notice that both tokens to be identified have parentheses around them in order to be captured. The "captures" list follows standard regexp convention, that is, 0 is the matched string, 1 is the first matched group in parentheses, 2 is the second matched group, and so on.
Not specifying the "captures" list (like in your example) is the same as using capture "0," which is the entire matched string.
In my example, I assigned a different syntax scope identifiers to each token, allowing me to colour them individually.
By the way, the character class "[a-zA-Z0-9_]" is exactly what "\w" represents, so you could shorten your pattern to,
match = '^(\%)(\w+)';
which matches at least one, possibly more, contiguous word characters.
I hope this helps.
dZ.
On Oct 11, 2011, at 13:27, John Relosa wrote:
> Hello,
>
> I have a question about syntax coloring. I am using the below code to signify that this is let's say an entity scope
>
> {name = 'entity.ksp';
> match = '(\%)[a-zA-Z0-9_]\w*';
> },
>
> % is actually the signifier for a variable array so when I go to the preferences and change the scope to entity then those words that start with %array get a certain color.
>
> The problem is that the whole word including the "%" symbol gets colored.
>
> So here is my question to the textmate gurus.
>
> Is there a way to have the "%" symbol a different color and the word array a different color?
>
> What would be the code to accomplish that. Any pointers or ideas would be appreciated.
>
> Thank you.
>
> John
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
------------------------------
Message: 7
Date: Fri, 14 Oct 2011 05:06:44 -0400
From: DZ-Jay <dz(a)caribe.net>
To: TextMate users <textmate(a)lists.macromates.com>
Subject: [TxMt] Re: problem with Lion's new hidden scroll bars
Message-ID: <7B5F91DF-B98E-429D-A2F1-A839B2E188AF(a)caribe.net>
Content-Type: text/plain; charset=us-ascii
Hello,
I see in that FAQ that the scroll-bars visibility issue is indeed a "frequently asked question," but it doesn't appear to be even a "singularly answered question."
Is there a work-around?
By the way, thanks for the link. TextMate not re-opening its windows on restarting was driving me crazy!
dZ.
On Jul 21, 2011, at 08:25, Luc Heinrich wrote:
> On 21 juil. 2011, at 14:05, Max Lein wrote:
>
>> I've upgraded to Lion yesterday and I've configured TextMate to use a dark background. Lion's new hidden scroll bars are now unusable, I cannot see them when scrolling.
>
> http://wiki.macromates.com/Troubleshooting/Lion
>
> --
> Luc Heinrich - luc(a)honk-honk.com
>
>
> _______________________________________________
> 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
End of textmate Digest, Vol 41, Issue 11
****************************************
Hi dZ,
Thanks for your help.
At first this didn't work in my bundle even though it should, so I created a new generic bundle besides the generic keyword and string, I pasted the code you wrote and it works
ONLY if the %array[] starts at the beginning of the text. If I need to declare it (in my syntax: declare %array[16] or if it's inside a function as an argument or parameter) then it does not work...
Even then that (starting the %arr[] in the start of a line) does not work in my bundle either obviously it has other code that might be conflicting...
Unfortunately I do not know enough to fix it myself so any input or help is greatly appreciated.
This question expands to the rest of the syntax of my language:
$variable
@strings_variable
!string_array etc...
but once I figure out how to color the signifiers different for one then the rest should be easy.
Thanks,
John
-------------------------------------------------
Hello John,
You can match multiple tokens on the same line and assign them to different coloured groups like this:
{ name = 'meta.entity.ksp';
match = '^(\%)([a-zA-Z0-9_]\w*)';
captures = {
1 = { name = 'punctuation.ksp'; };
2 = { name = 'entity.ksp'; };
};
},
Notice that both tokens to be identified have parentheses around them in order to be captured. The "captures" list follows standard regexp convention, that is, 0 is the matched string, 1 is the first matched group in parentheses, 2 is the second matched group, and so on.
Not specifying the "captures" list (like in your example) is the same as using capture "0," which is the entire matched string.
In my example, I assigned a different syntax scope identifiers to each token, allowing me to colour them individually.
By the way, the character class "[a-zA-Z0-9_]" is exactly what "\w" represents, so you could shorten your pattern to,
match = '^(\%)(\w+)';
which matches at least one, possibly more, contiguous word characters.
I hope this helps.
dZ.
On Oct 11, 2011, at 13:27, John Relosa wrote:
> Hello,
>
> I have a question about syntax coloring. I am using the below code to signify that this is let's say an entity scope
>
> {name = 'entity.ksp';
> match = '(\%)[a-zA-Z0-9_]\w*';
> },
>
> % is actually the signifier for a variable array so when I go to the preferences and change the scope to entity then those words that start with %array get a certain color.
>
> The problem is that the whole word including the "%" symbol gets colored.
>
> So here is my question to the textmate gurus.
>
> Is there a way to have the "%" symbol a different color and the word array a different color?
>
> What would be the code to accomplish that. Any pointers or ideas would be appreciated.
>
> Thank you.
>
> John
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
------------------------------
Message: 7
Date: Fri, 14 Oct 2011 05:06:44 -0400
From: DZ-Jay <dz(a)caribe.net>
To: TextMate users <textmate(a)lists.macromates.com>
Subject: [TxMt] Re: problem with Lion's new hidden scroll bars
Message-ID: <7B5F91DF-B98E-429D-A2F1-A839B2E188AF(a)caribe.net>
Content-Type: text/plain; charset=us-ascii
Hello,
I see in that FAQ that the scroll-bars visibility issue is indeed a "frequently asked question," but it doesn't appear to be even a "singularly answered question."
Is there a work-around?
By the way, thanks for the link. TextMate not re-opening its windows on restarting was driving me crazy!
dZ.
On Jul 21, 2011, at 08:25, Luc Heinrich wrote:
> On 21 juil. 2011, at 14:05, Max Lein wrote:
>
>> I've upgraded to Lion yesterday and I've configured TextMate to use a dark background. Lion's new hidden scroll bars are now unusable, I cannot see them when scrolling.
>
> http://wiki.macromates.com/Troubleshooting/Lion
>
> --
> Luc Heinrich - luc(a)honk-honk.com
>
>
> _______________________________________________
> 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
End of textmate Digest, Vol 41, Issue 11
****************************************
Hello,
I have a question about syntax coloring. I am using the below code to signify that this is let's say an entity scope
{name = 'entity.ksp';
match = '(\%)[a-zA-Z0-9_]\w*';
},
% is actually the signifier for a variable array so when I go to the preferences and change the scope to entity then those words that start with %array get a certain color.
The problem is that the whole word including the "%" symbol gets colored.
So here is my question to the textmate gurus.
Is there a way to have the "%" symbol a different color and the word array a different color?
What would be the code to accomplish that. Any pointers or ideas would be appreciated.
Thank you.
John
I thought I would give ctags in Textmate a try. I installed the TmCodeBrowser.tmplugin and got stuff in the CodeBrowser window only for C. ctags is supposed to work for lots of languages so I tried Pascal and Python but the CodeBrowser window remained empty.
To attempt further failure, I downloaded the ctags source and an Ada language extension for ctags. I did the minor editing required of the ctags source to incorporate the Ada thing and built it. It was installed in /usr/local/bin so I moved it to /usr/bin (after re-naming the ctags that was originally there) because /usr/bin appears before /usr/local/bin on my PATH.
Same results--C only.
I can run ctags on an Ada file and a tags file is generated in the same directory that looks like it has lots of relevant stuff in it, so why doesn't the TmCodeBrowser.tmplugin pick it up?
Ideas?
Jerry
I forked sql.tmbundle on github, installed it in my Bundles directory,
and started editing the syntax via the Bundle Editor. They worked,
and I committed and pushed the changes; they ended up in a .tmDelta
file, which sounds right. But a co-worker who cloned the repository
isn't able to install it; TextMate complains that info.plist is
corrupt.
Meanwhile, TextMate somehow deleted all BUT the info.plist and tmDelta
files. Is that normal, too? I pushed that version, but he gets the
same corruption error there. We're both on 1.5.10 (1631), OSX 10.6.8.
Jay Levitt
Hi
I mistyped my email address during purchase, and my license key was
forwarded to someone else email. I sent in requests for another license key,
but I have not received any keys yet. Would you please help me renew my
license key?
The mistyped email was csc326(a)gmail.com, and my correct email is this email(
csc823(a)gmail.com).
Thanks,
Cuong Cu.
Actually, not a newbie, been using Textmate for years but
I'm wondering about something I'm seeing that's obviously
an error or warning indicator.
Bundle: PHP
Version: 1.5.10
Database: MySQL
OS: some flavor of Linux - someone else is hosting
Here's an example of the code
$HTTP_POST_VARS['guest0_zipcode']=$row[9];
Under the string "guest0_zipcode" is dotted red/white
which I assume to be an error or warning but I have no
clue what it really means. I'm baffled, can't find it
in the manual, (or I've completely overlooked it).
I'm using about 20 other variables with the same prefix,
guest0_ (yes, that's a zero, not an OH) and none of them
have the dotted line under them.
Another tidbit - every use of the user-defined variable "zipcode"
is flagged with this indicator, e.g.
$HTTP_POST_VARS['guest0_zipcode']=$HTTP_POST_VARS['zipcode'];
and
$HTTP_POST_VARS['zipcode'] . "',
Is there something magical about the word zipcode in Textmate? I'm
completely stumped.
Anyone have any insight to what's going on?
thanks
Hi,
Is it possible to disable the help-overlay for functions in the R / Rdaemon package?
(so if i start to write a function like mean( … I get a small yellow overlay window with the possible arguments etc.)
It sometimes takes really long on my machine till the overlay appears after I type a function
and during that time, I can't do anything except to wait.
Also, when I mistype a function-name, it seems like this help mechanism is searching even longer since it probably loops through all the function-names.
This half-second in which I can't do anything is kind of annoying and most of the time I don't really get important informations through this overlay window.
thanks!