Hi Folks,
inspired by the UI thread I hacked together a TextMate plugin. It
shows all bundle shortcuts applying to the current scope whenever a
modifier key is held for more than a second.
It really is just a proof of concept and missing some features. I am
not even sure if I will continue to work on it and am kind of busy
the upcoming week, but I was curious about what people thought about
that one. Is it useful at all?
Get it here: http://www.cocoabits.com/TmShortcutSnitch/
Gerd
hi Sebastian Friedrich,
I am copying this reply to the textmate user list (which you can join
at http://lists.macromates.com/mailman/listinfo/textmate), since I am
a bit crunched for time right now.
Original request:
>i saw that you are maintaining the perl bundle for textmate. if
>that's the case, is there any possibility to add html (or even sql
>for that matter) syntax coloring in HERE documents in similar ways
>that js/css/php scope is activated within html. I find myself having
>to edit lots of html within perl scripts (yeah, nobody i work with
>uses templating) and it would be quite helpful if there's a way to
>turn on HTML scope within those HERE blocks.
>
>for instance, a HERE keyword like HTML_BLOCK would trigger all
>content to be html scope with variables ($, @) highlighted as such.
>
>print <<HTML_BLOCK;
>[HTML]
>HTML_BLOCK
>
>any chance you would like to implement that or could give me some
>hits on how to get this to work. Thanks so much in advance.
I think this should be pretty straightforward, declaring the .heredoc
scopes to inherit styling from html (in cases where all heredocs are
HTML styled) or making a new .heredoc-html scope to match only names
with "HTML" in them which then inherit from HTML styles.
Could someone on the list help out with details?
best wishes, Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
Has the problem with using environment variables for macros been
solved yet? I have a problem using the macro "Generic Completion" in
the LaTeX bundle. It complains about "/Macros/LaTeXcomplete.pl" not
being found, and since the command line is
command = "\"${TM_BUNDLE_PATH}/Macros/LaTeXcomplete.pl\"";
I suspect it's a problem with setting TM_BUNDLE_PATH.
/Ola
> I'm working on a solution which takes the output from MTASC and
> outputs HTML when there's an error, and a OK tooltip when things are
> fine. It's almost there but the links back to the files don't quite
> work just yet... I just don't know enough about bash and regular
> expressions :(
http://tinyurl.com/d8syh ought to help you out with the HTML error list.
As far as real-time syntax checking, I've been thinking about throwing
together a solution with a combination of the technique mentioned in
the above link and the awesome stakeout.py script to watch for file
saves. I'll let the list know if/when I get anywhere with it. Peace,
Ben
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 2256-1022
ben(a)incomumdesign.com
http://www.incomumdesign.com
Hi
Can anyone tell me how to get syntax checking support...perhaps through using MTAC??
having to compile every time I want to check syntax is a real bottleneck....
Thanks
Jim Bachalo
[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca
--------------------------------------------
"...all improvisation is life in search of a style."
- Bruce Mau,'LifeStyle'
hi there.
somehow i list the symbol-popup and symbol-search functionality in
textmate. no matter what language, the popup is just empty and the
symbol-finder doesn't find anything.
is there perhaps any bundle i should not filter or s/th like this?
i'm clueless.
any help highly appr., regards, niko.
--
____________________________
niko dittmann <ni-di(a)web.de>
____________________________
I must say, when I first started using TextMate I had no idea all the
commands even exited. And even now, after I've developed a fully
functional bundle of my own, I'm still discovering things about
TextMate that are kind of hidden.
Clearly Allan wants the app to be completely transparent, that the
code should be the most important focus of what you are doing and
that the interface should completely disappear and become an
extension of the code itself. And that's what I love about TextMate.
That being said, I think more needs to be done to expose the true
power of TextMate to people who are unaware of that fact that
commands in multiple bundles could apply to what they are doing. I
often don't know of all the possible commands that I could be using
at any given time. Aggregating those commands into a list so that
people can see what is possible, given the current scope, would be a
good thing I think. Be that in a drawer, palette, floating box,
whatever. And I don't think that that would significantly impact the
transparency of the app.
This keyboard combination does nothing when I type it. I have no
idea how to track this down. I have not noticed it doing anything in
any other context (program) either.
Considering the recent spate of "my keyboard bindings are broken"
messages, this sort of thing may not be an uncommon problem.
eo
On Feb 8, 2006, at 12:54 PM, Charilaos Skiadas wrote:
> On Feb 8, 2006, at 2:41 PM, porneL wrote:
>>
>> I second these opinions. Macro menu is tiny, smaller than less
>> used language and tab size choosers.
>>
> true, but they need to show their information. What information
> does the macro menu need to show?
>> And if that wasn't enough I additionally have to maneuver through
>> submenus - when TM's window is very near bottom of screen (I have
>> dock on side) current language's submenu isn't under cursor and
>> sometimes it's not even immediately visible!
>>
>> IMHO it should be much larger, and maybe there should be two
>> buttons - one with macros for current context/language *only* and
>> another with all the submenus.
>>
> Do people really use the mouse to navigate this menu? I just press
> control-esc, then the first two letters of the bundle I want, then
> right arrow, left arrow if I want to go back and so on. Plus, by
> default when you pop the menu up, it's in the current language, so
> you don't need to start typing. So for me the size of the button
> doesn't really matter.
>> --
>> regards, porneL
>
> Haris
I've written several commands that access Rails functions (such
as script/generate scaffold) via osascript. They serve me well, and
I'd now like to give them out to the RoR/TextMate community as a
plugin. It would be great to package them together into a single
floating window with a drop down or similar item to provide quick-
access under Window>RailsTools or similar. Both TextMate and plugin
development are fairly new to me -- can anyone give me some hints or
sample code that would help me on my way?
Is it possible to change the key binding for completion, everywhere?
Unfortunately, I'm a converting Emacs user, and very used to hitting
Alt-/ to do completion...
I had a brief look in the manual, but I couldn't see an obvious way to
do this.
Thanks,
-Dom
Just downloaded your bundle, the Balance Jr Macro is pretty sweet.
Indeed not exactly what I was looking for, and what was previously
very thoroughly and precisely explained by Eric O'Brien, but
nevertheless a very useful addition and a good example to study and
see if I can figure out how to code the functionality myself.
I thought there was a shortcut out of the box for that though, I used
to use it all the time in BBEdit and somehow assumed it was also in
TM. My bad! :) Time to brush up on my regex...
On Feb 6, 2006, at 3:20 AM, textmate-request(a)lists.macromates.com wrote:
> I've written a couple of pretty handy macros that do something pretty
> handy, although not precisely what you guys are talking about.
>
> Check out the ScreenCast!
> http://subtlegradient.com/articles/2006/02/05/my_textmate_bundles_etc
>
> You place your caret inside something and the macro will select
> everything in between enclosing characters. It's kinda like the
> balance command, except it grabs everything INSIDE the characters,
> but not the characters themselves.
>
> it works with:
>
> [], {}, (), '', "", word="", <>, ><, $word, @word, /* word */, <%
> word %>, <%= word %>, <%# word %>, <%@ word %>, integers, and
> probably more, but I forget now.
>
>
> How it applies to this conversation. If you want to select the
> "paragraph text" section of the following HTML, place your caret
> somewhere in the text and hit the macro. It'll select everything
> between the > & < characters.
>
> <p class="blah">
> paragraph text
> </p>
>
> It's hip, you'll hate it!
Sorry if this has come up before and sorry if I'm missing something
obvious...
I like to work with tab stops set to 4 characters and use spaces
rather than hard tabs for indentation - otherwise everything gets
messy when you process your file with something that expects 8 column
tabs.
Something seems a little counter-intuitive with the soft tabs setting
in TM. With Soft Tabs (Spaces) selected hitting tab still inserts a
hard tab character. Additionally with Soft Tabs selected Text >
Convert > Tabs to Spaces doesn't seem to do anything - it certainly
leaves plenty of tabs in the files. With Soft Tabs turned off I still
get hard tabs when I hit the tab key - but at least Tabs to Spaces
works.
This is in Perl mode - I haven't tried other modes yet but shall if
it's likely to make a difference.
So - what's the blindingly obvious solution I've missed? :)
--
Andy Armstrong, hexten.net
I use Change to Column Selection as a quick way of commenting out
selected lines. For instance, if I've got a LaTeX selection that
looks like this:
%\captionwidth{\textwidth}
\begin{comment}
\begin{figure}
%\includegraphics{table2.pdf}
And I want to comment out the entire selection, then I can't use the
Comment Selection command (Command-/) because that simply removes the
existing comments. (I think this is a bug in the Source bundle.)
To work around the problem, I can do Change to Column Selection, then
hit '%', which achieves the desired effect of commenting out all lines:
%%\captionwidth{\textwidth}
%\begin{comment}
%\begin{figure}
%%\includegraphics{table2.pdf}
However, if I later want to remove the commenting I've added, Change
to Column Selection does not work. It seems I am only able to add,
not delete, text during column selection. Is this a bug?
Trevor
P.S. The Comment Selection does work properly for removing the
comments in the latter case, but it seems wrong to have to use one
technique for commenting out a selection and a completely different
one for removing the commenting.
I'm evaluating Tetxtmate and I found a behavior that I'm trying to
see if it is a feature or a bug.
The caret position doesn't match where the character gets inserted.
For example:
function myFunction()
if I position the caret inside the parentheses and I start typing the
character will be inserted to the outside the parentheses
function myFunctionpVal()
instead of
function myFunction(pVal)
I tried it on 2 systems and iMac G5 and a PowerPc Dual G5. same behavior
TextMate version 1.5 (906)
I like the feature set of the editor and would love to use it on
project, but unless I find a way to place the characters at the caret
position is would be really hard to use it..
thanks
The patch below for the Diff Syntax modifies it so that diffs
produced by the Perforce bundle are properly recognized and syntax-
highlighted.
BTW aren't the shortcuts for the commands in the diff bundle
incorrect? They all use 'Shift-Ctrl-Alt-D', which I thought was were
reserved to select a syntax (Diff Syntax did not have a shortcut
assigned, the patch below includes that). Shouldn't the command use
'Shift-Ctrl-D' instead?
Gerd
Sorry if this is a FAQ, but I couldn't find reference to the problem on
the wiki, so I thought I'd post to the mailing list.
I's using Textmate 1.5 (build 906) under OS X 10.3.9. Whenever I copy
some text to the clipboard, the program crashes. This happens
consistently, whether I'm using new documents or existing files.
Can anyone help?
Thanks!!
Dennie
Dennie Hoopingarner, Ph.D.
Associate Director for Technology Implementation, CLEAR
Director, Language Learning Center
Michigan State University
hi all and alan -- thanks for a great product.
One suggestion: I think a split pane ala mail.app would be an
improvement over the current drawer. Use of a drawer implies to me,
an optional part of the interface, but when working on a project, the
file list is hardly option, in my opinion. Is there any here that
opens and closes the drawer repeatedly to access their project
listing? A drawer makes window resizing a two step operation -- you
have to first position your window to accommodate your drawer before
doing the resize.. Try it, you'll see what I mean. I think really,
managing the use of space *inside* a window is much more natural than
managing it outside.
.niels
niels gabel
firewire cpu software
apple computer, inc.
This, I am sure, is super newbie basic material, but somehow it
eludes me with tenacity...
What's the shortcut to select text within tags in html? Let's say,
for instance, to select "I am a paragraph" in:
<p>I am a paragraph</p>
I'm ashamed to ask that, so go easy on me, thanks ;)
It seems TextMate fails to notice a c++ function definition if I
write it like this:
static void
foo(
void * a,
void * b,
void * x )
{
}
but all on one line works fine:
static void
foo( void * a, void * b, void * c )
{
}
Has anyone else noticed this? Is there a way for me to fix this
myself or should I wait for an update?
Thank you.
.niels
niels gabel
firewire cpu software
apple computer, inc.
I just checked in a new Scheme language bundle into the svn
repository if anyone's interested.
The bundle is really just syntax coloring at the time being. I cannot
find a working solution for indentation with what TM currently
offers, but maybe someone else can, or we'll get some new nifty
feature into the editor someday that allows me to solve the problem.
Anyway, enjoy! And if you haven't ever programmed in Scheme, please
do! It's a really elegant and fun.
/M
--
Mikael Säker <mikael(a)sicher.org>
http://www.sicher.org
"Strangers have the best candy."
Howdy.
I was just editing some embedded SQL today and though of an
interesting idea.
Modify the new Edit In TextMate global function to work with
selections, and work inside of textmate.
The flow would go something like:
I'm in an asp.net document
I select some embedded SQL
I hit the 'Edit In TextMate' command
It opens my selection in a new textmate window (saved as a file in a
temp folder)
I edit my text like crazy
Save & Close
My original document shows and it replaces my selection with the
contents of that temporary file
This would be SO totally hip!
I'm sure I could whip something like this up as a command, but I
think native support for it might be better.
It might just be easier to modify the global command to either select
all & activate or use an existing selection and activate.
Then just make it work IN textmate and you're set!
yay!
Thanks again for completely changing my life for the better! (the
coding section, anyway)
I LOVE the Edit In TextMate action!!!
See http://subtlegradient.com/articles/2005/12/27/gus-mueller-flyopts-
inputmanager
Hello list!
I'm absolutely loving TextMate - $50 seems insane for a text editor
until you use it. :)
I'm doing a lot of work with Subversion, and want to be able to
commit a change and upload it to the server as easily as saving a
file. Is there any way to modify the bundle so that it saves the
frontmost window without any dialog asking for a summary? I'll still
use the dialog sometimes but I don't want to have it pop up all of
the time. I realize I can just press enter to move on, but I'm
looking for the fastest possible solution, as I save and refresh
files quite often.
Thanks for any suggestions you may have!
Trev Copland
_______________________________________________www.trev.com
I hate feeling like a pest, and was curious if there was a formal
place to post bugs.
What I noticed is that when you use the SVN bundle, if you pop open
the menu on a selected file in the project drawer, you -must- have a
file already open or you get no menu ;)
Sorry to be a pain :p
Eric Coleman
home: 412 399 1024
cell: 412 779 5176
I notice that there are a lot of great snippets in the ruby bundle,
but I'm wondering if there is a way to do the self-modifying versions
of these methods. For example, there is collect, but not collect!
Thanks,
Carl
In other text editors (in my pre-mac days), I very commonly used the
block editing feature to quickly align code. I would use a regular
expression match/replace to insert in a bunch of whitespace where I
need it, then block select where I want the column to start and shift-
tab to squeeze all of the text back into a nice column.
TextMate does most of the above quite nicely, with the exception of
the shift-tab. Shift-tab does not shift everything left, eventually
squeezing out the whitespace and leaving a nicely aligned column. Can
I do this somehow, and if not could it be added? (I really miss this
feature)
Thanks...
Jim Leask
Hey all, sorry for the mass email. If you are not using the LaTeX
bundle, you can safely ignore the rest.
I am currently working on the various completion commands in the
latex bundle, and I am considering dropping bibdesk support in the
completion commands in the following way: Instead of asking bibdesk
for the completion list, I have a command read that does the following:
It collects a list of bib files from the following locations:
1. the files pointed to by the environment (or project specific)
variable TM_LATEX_BIB, space separated (use quotes if the filename
contains spaces).
2. If either the file pointed to by the variable TM_LATEX_MASTER, or
the current document (if saved), or both, contain any text of the
form \bibliography{bibfile}, it adds this bibfile to the list of bib
files to examine.
It scans all these bib files for the cite keys, and uses those for
completion. It will look for titles for the pop-up menu. So there
will be (actually there already are) two commands, one that works
with Esc (normal completion) and one that brings up a pop-up of
possible completions.
The above will be faster than calling Bibdesk through applescript.
And you can of course still create citations by dragging them items
from Bibdesk and dropping them in textmate.
The main question is whether calling Bibdesk has any advantages
compared to the approach I outlined above, and whether the approach
above misses something. Your feedback would be much appreciated.
Haris
Hi everyone,
I'll be getting a Mac in the near future, and am completely convinced
that TextMate will become my text editor from day 1.
Until then however, I would really like to get used to the key commands
that TextMate uses (by default), to make the transition as smooth as
possible. Basically, I want to mimic TextMate's key bindings in my
current Windows editor, Komodo.
I've been using 'Emacs shortcuts' in Komodo for a while now, but I
understand that Textmate's key bindings are not completely similar to
Emacs (and I am sure Komodo's 'Emacs' key bindings are not 100% similar
to the real Emacs either).
Is there a complete list of all default TextMate key bindings somewhere?
Also, I've seen messages come by about 'key bindings for switchers' on
this list, but that seems to be focused on people trying to emulate
Windows key bindings in TextMate... Is there anyone that has tried the
opposite, like I would like to do?
Sincerely,
Yuri van der Meer
I used subversion to retrieve the Source bundle, but it doesn't show
up in the bundle editor. Any suggestions?
Checked out revision 2645.
LewyG4-2:/Library/Application Support/TextMate/Bundles lewy$ ls
Source.tmbundle
I'm trying to write a command that will open the current document in
an external app, here is what I've got:
open -a Final\ Draft\ 7 $TM_FILEPATH
The problem I'm having is that the FilePath (as constructed by
TextMate) does not insert "\" before a space, thus the command in
question is unable to find documents with spaces in the filenames to
pass on to the external app.
Is there another way to do it? What am I missing?
Request:
The Ctrl-T action should see the space as a - directory - separator, and
not bluntly ignore it. (except if some files names contain a space)
Example
/store/index.html
/cart/index.html
/client/index.html
Command 1:
[Ctrl-T] + "in"
=> displays
index.html - store
index.html - cart
index.html - client
Command 2:
[Ctrl-T] + "in cl"
=> SHOULD filter and display
index.html - client
Alain
Hi, I'm a very new user of TextMate and it seems to be just what I have
been looking for.
However, I do have a couple of questions that I haven't managed to
resolve from the documentation, Wiki, mail list, etc.
1. Is there a way to highlight (or move the cursor to) a matching
parenthesis, bracket, quote mark, etc?
2. Also, could some kind person step me through the process of Change
All In selection? I seem to keep ending up with a change all in
document....
many thanks in advance
- Jonathan
Allan,
Any reason there's no "Page Setup" link in the File Menu? I want to
print out this document, but I want it landscape so the code is all
on 1 line instead of wrapper..
Anyone have another solution? I opened the file in bbedit for now to
print it.
Eric Coleman
home: 412 399 1024
cell: 412 779 5176
I tried the toggle between single and multline block with the following block:
domains.each do |d|
f[1].sub!(/^#{d[0]}$/, d[1])
end
It converted it into a single line block just fine, but when I toggled
it back to multiline I got this:
domains.each do |d|
f[1].sub!(/^#{d[0]
end$/, d[1]) }
Haven't yet examined the bundle regex but figured I'd post it in case
someone wanted to know.
Thanks,
Carl
I'm trying to maximize my use of textmate. One of the first things
I'm doing is looking through the ruby bundle to see what snippets I
can use. I first noticed the hash key/val snippet, which starts with
a colon.
The first thing it does is highlight the key so that I can type in a new key.
The next thing it does is highlight the sample string so that I can
type in something different. However, I'm having trouble typing
something in at this point. If I want to edit the string inside, is
there a key I can type that will put the caret inside the quotes? If
want to edit the string contents, I have to move my cursor over then
back. If I start typing, it erases the quotes. If I type quotes, it
surrounds the quotes in another set of quotes. Is this behavior there
because the snippet writer assumed I would not always want to put
strings in the hash buckets? This is understandable, but as a
shortcut for creating symbol/string combinations it is actually quite
tedious.
I figured maybe I was missing some secret keyboard shortcut that would
put me inside a fresh set of empty quotes instead of the sample that
is highlighted.
Thanks,
Carl
I'm using the run script command in the ruby bundle. Is there a way
that I can tell it what to pass as the command line parameters? It
seems to be passing in the filename of the script to itself.
Thanks,
Carl
What's the best way you've found to open some remote folders/files in TextMate?
* the files are kept remotely on a Linux box
* there is SSH (and presumably SFTP) access; I'm not sure if there's
Samba access enabled
* I want to be able to use the built in Subversion tools
* I absolutely want to use the various "project" features of TextMate
that I'd get if I open a folder with TextMate
I briefly tried using Cyberduck, but that would only let me open
individual files (rather than whole folders).
Any suggestions?
-d
Has anyone experienced this. Im running Textmate 1.5 (v906) with rev
2643 checkout of bundles. Tidy used to work fine but I now get:
-e:5: undefined method `match' for #<String:0xc5dd0> (NameError)
when I use it. Anyone got any ideas?
TIA
Stephen
> I put together and polished some commands Allan made in order to get
> the TextMate Documentation under way. As I worked on a documentation
> project at the same time, I used his scripts, bundled them and
> adapted them a little to my needs. If you are curious as to what
> happens behind the scenes… Here it goes.
Great work!! +5 :D
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 2256-1022
ben(a)incomumdesign.com
http://www.incomumdesign.com
Hi all,
Is there a way to select some text in TextMate with the mouse, then
drag it to another application? What I'm trying to do is grab some
text out of TextMate and create a note in Yojimbo by dragging it to a
folder in Yojimbo's Drop Dock. I'm trying not to copy/switch app/
create note/paste.
Is there any way of doing this? I hope I'm not missing something
obvious.
Carpe viam,
Mike
Michael Larocque
Chief Cook and Bottle Washer
Prolumina Communications Inc.
http://prolumina.com/~mlarocque/
Good Morning :)
I put together and polished some commands Allan made in order to get
the TextMate Documentation under way. As I worked on a documentation
project at the same time, I used his scripts, bundled them and
adapted them a little to my needs. If you are curious as to what
happens behind the scenes… Here it goes.
This bundle is for compiling a Documentation project made of several
Markdown files to HTML. It generates a TOC, a print version with all
chapters on one page and HTML files for each chapter. You can use
references to easily link between your pages.
I appended the bundle “Markdown2Book” plus, as an example how to use
it, the first three chapters of the TextMate manual.
Have fun,
Soryu.
PS: For quick reference the Help file from the bundle (also available
from the bundle itself via the “Readme” command):
# Setup
You will need a TextMate Project (a Scratch Project will do) to make
this work.
## Structure
The following files & folders are needed:
* `pages`
This is where all your markdown files go. You need to make a new
file for each chapter. It should have one first level heading which
will be used for the name of the chapter (in the Table of Contents,
for the Navigational Links & in the HTML title).
The files in the `pages` directory are converted to HTML (using
Markdown and SmartyPants) with the _Generate_ Command. They have to
be in the right order, so they have to be named beginning with
numbers followed by a space or an underscore (as seen in the included
example). This prefix will be stripped by the Generate Script.
* `html`
The generated files will go here.
* `index.html`: Table of Contents from which you can navigate to
all chapter.
* `all_pages.html`: A single files with all chapters. This is
mainly for printing and it uses the `print.css` Stylesheet.
* `*.html`: Every chapter has it's own file.
Also this folder holds two links to the css and images folder.
When "deploying" your compiled book, just replace these by the actual
folders.
* `templates`
This folder contains three html templates. Adapt them to your
needs.
* `all.rhtml`: template for the `all_pages.html` file which
contains all your chapters.
* `chapter.html`: template for each chapter
* `toc.html`: template for the `index.html` file containing the
Table of Contents
* `css`
This folder contains the stylesheets (`stylesheet.css` and
`print.css`). Adapt those as you like. The default style resembles
the [TextMate Manual](http://macromates.com/textmate/manual/).
* `images`
This folder should hold all your images. When the book is
generated `height` and `width` HTML attributes are added to the
images. The source path could be changed, too, to make it absolute.
## References
You can use reference style links (`[link description][link id]`) in
your text. There is a command _Update References_ that will collect
them from all `.markdown` files in the `pages` folder and write them
to a file `markdown.references` in the project root. It notifies you
of missing or duplicate entries via a Tooltip. You can then edit this
file and insert the link targets within your text. The _Generate_
Script will add `id` attributes to your headings, so you can
reference them directly. Is converts some characters (`- \/_`) to
underscores and strips non-alphanumeric characters afterwards.
I wrote a command _Show References_ that brings up a dialog with all
the references from the `markdown.references` file and inserts a
reference snippet.
## Generation process
The _Generate_ Command is a Ruby Script, which does some
transformation, constructs the Table of Contents and runs all your
Markdown files through [Markdown](http://daringfireball.net/projects/
markdown/), [SmartyPants](http://daringfireball.net/projects/
smartypants/) (for good Typography) and the Image-Script.
<hr />
> Credits to Allan for writing the initial version of all this. I,
Soryu, bundled it up in a TextMate bundle and added/polished some stuff.
Hi guys, i've been a textmate user since i developed a shopping cart
system for a non profit website that bought me a license because i
refused money. I absolutely love textmate.
Just about an hour ago though, i made a little change in a database
class i use on my own website, only edited one file and suddenly
strange things happen on a couple of pages where the class is used
(front page and news page) textmate remembers where i've put the
caret in a file, but now it shows that info on my website (without
being able to find the text in there anywhere)
I work on the site over an AFP connection, i've tried everything i
could think of to get rid of it to no avail. anyone have any idea
what's going on and/or how to get rid of that one line of awkward text?
the site is on http://www.theredhead.nl, the line of text that's
bothering me is:
&7{"com.macromates.caret" = "{column = 0; line = 0; }"; }
hope someone can help me here.
Kind regards,
Kris
Thanks for the tip! Always a pleasure to avoid applescript...
I actually tried that before and couldn't get it to work. The problem seems
to be that saving from the menubar (or from the keyboard shortcut) is not
recorded during the macro. Do macros only record automations (snippets,
commands, etc.) or do I have something setup wrong? I couldn't find this
documented anywhere.
I ended up getting around this by defining ANOTHER command that saves the
current file but then does nothing, then recording a macro where I execute
both actions. Seems to work great, except it doesn't seem to be saving new
files, so I have to just save it twice the first time. Not a problem for
me, personally.
Oh course, it's ugly to have two commands and a macro sitting around in a
bundle, when there really should be only one. Anyone else think it might be
useful to have a ''save after'' check box or something in the command
window?
Thanks again,
Jim
Hello,
I am new to this list, so this question may have been asked before.
Since TextMate 1.5 I keep getting a spinning beach ball for 20+
seconds so often that it makes using TextMate very cumbersome.
Are my documents too long (2000+ lines)? Are there too many files in
my projects? Am I using the wrong color scheme (iPlastic)? Is there a
problem with LaTeX (what I am using TextMate for)?
Any suggestions are appreciated.
Thx,
Wolter
Whenever I try to use the 'Convert Selection to Entities' command it
results in the following error.
env: ruby -KU: No such file or directory
I'm using TextMate 1.5 (v906) on OS 10.3.9. Typing ruby -v in the
Terminal reveals I'm running ruby 1.6.8
Thanks for any help.
Trying to make a set of Emacs-like bindings for TM, I discovered that
setMark: and others are defined at a low level in the operating system,
http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSResponder_index.html
Some keys I wanted to use with these, e.g. ^q and ^h, are defined
downstream, for examples in the bundles or in
/Applications/TextMate.app/Contents/Resources/KeyBindings.dict. I
got rid of all those bindings, I think, but I still am unable to use
the Mark commands in TM. I am able to use them in Mail: set a mark,
move, press the key bound to deleteToMark: and the block is cut, Yank
it back, etc. Am I missing some interfering bindings or does TM
somehow not respond to the xxxMark: commands?
Thanks,
Subversion Log
NoMatch
mhh, something with with the regex or svn must be wrong. this should
never happen.
last line: r525 | eric(a)whmautopilot.com |
2006-01-30 04:33:57 -0500 (Mon, 30
Jan 2006) | 1 line
please bug-report.
Assuming this should go here ;)
Eric Coleman
home: 412 399 1024
cell: 412 779 5176
I've managed to hose the binding for my keypad Enter key. It doesn't do
anything now. It could have had something to do with using the
'defaults' command, but I'm not sure. Any suggestions? I would even
consider a return to all default keybindings.
ADVthanksANCE!
Regards,
JJ
---
Help everyone. If you can't do that, then at least be nice.