It seems that folding isn't working in CSS documents. I'm using 1.01b1,
but didn't try folding in 1.0 so I don't know if this new or not. There
are down arrows next to each selector, but never any up arrows...
On 11. Oct 2004, at 2:02, Aaron Swartz wrote:
> The Behavior menu appears to be entirely undocumented. What do its
> menu items do?
Would be nice if such questions where sent to the mailing list! :)
Freehanded edit: allow cursor to be moved past end-of-line
Overwrite mode: overwrite instead of insert typed characters
Smart typing: insert ), }, ", etc. when typing (, {, ", etc.
Tab emulation: use spaces instead of tabs (and treat multiple
spaces as a tab)
Indented paste: will re-indent pasted text to match current
context
Tab expands snippets: controls if a snippet can be inserted by typing
its trigger and pressing tab.
Kind regards Allan
Update of my previous C/C++/Objective-C bundle update.
* Correct C99 keywords and C++ ISO 646 keywords.
* Correct handling of whitespace around preprocessor keywords.
* The makefile syntax module now lives in a new Unix bundle, which also
contains both a generic shell script syntax and an "old-style" plist
syntax.
<http://www.cjack.com/tm/C-and-Unix%20tmbundles.zip>
Share and Enjoy,
Chris
There is a beta version of the upcoming 1.0.1 release with several bug
fixes and small feature inclusions. Normaly, TextMate doesn't check for
beta versions with the automatic version check system, but if you wish
to have it do so you can type the following in your favorite shell:
defaults write com.macromates.textmate OakCheckForBetaVersions 1
..and 0 to disable beta check again of course. When starting TextMate
the first time after download, a window with release notes will
automatically open to show you the latest changes additions and bug
fixes. Have fun :-).
PS: If you for some reason can't get the beta version from within
TextMate, the URL is:
http://macromates.com/textmate/files/TextMate_1.0.1b1.dmg
--
Sune.
"Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
http://cyanite.org -- Content follows ;-).
Hello - new b question:
Is there a way to:
1 - route the preview browser through a local server that server side
capabilities are displayed
2 - turn off display of code such as PHP that the browser currently
interpets as text.
Thanks
_: thanks
from
__: mikeBoutté
mobile
__: 615 969 9654
http
__: mikeBoutté dot Com [ http://www.mikeboutte.com ]
email
__: Mike at mikeBoutté dot Com [ mike(a)mikeboutte.com ]
aim
__: mrbigbooties [ aim://AddBuddy?ScreenName=mrbigbooties ]
Thanks to both Ian and Phillip for kicking us into gear about doing
something to track both bundles and other end-user innovation points.
We've now put up the official wiki at:
http://wiki.macromates.com/textmate/
It's of course free to edit for all, so please do add pointers to more
bundles, improve on those that are, and otherwise take advantage of the
shared space.
Enjoy!
--
David Heinemeier Hansson,
http://www.rubyonrails.org/ -- Web-application framework for Ruby
http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby
http://macromates.com/ -- TextMate: Code and markup editor for OS
X
http://www.basecamphq.com/ -- Web-based Project Management
http://www.loudthinking.com/ -- Broadcasting Brain
http://www.nextangle.com/ -- Development & Consulting Services
I'm experiencing a very annoying (and productivity destroying) delay
everytime I switch to TextMate from another application. This happens
when I have about 2 windows with ~30 files in each drawer. Only 2-3
open files in each window though.
Has anyone else seen this?
/ Carl-Johan
On 9. Oct 2004, at 22:34, Isaac Rivera wrote:
> I came up with a pretty decent syntax file mysefl.
Okay, Rob also did some ActionScript support:
http://one.textdrive.com/pipermail/textmate/2004-October/000422.html
> Trying to do a class template and have gotten most of it.
>
> Can you tell me how to have the perl script input the date in the
> template file?
>
> Its not one of the shell variables, I know, but maybe its accessible
> to the script.
These questions really belong on the ML, so I'm cc'ing the list :)
You can add your own variables to the environment by changing the
command in the Info.plist, for example here I setup TM_DATE to be
YYYY-MM-DD:
{
name = "Date Test";
extension = "txt";
command = "[ -f $TM_NEW_FILE ] || TM_DATE=`date +%Y-%m-%d` perl -pe
's/\\$\\{([^}]*)\\}/$ENV{$1}/g' <index.html >\"$TM_NEW_FILE\"";
}
So it's basically just 'var=value' before the perl command (you can set
multiple variables). And the back-ticks (`) means that it's a command
to execute, so TM_DATE is set to the result of running date +%Y-%m-%d.
All this is of course related to bash and not really TextMate.
Another neat one is the full user name which we can get with niutil,
here's an example:
command = "[ -f $TM_NEW_FILE ] || TM_DATE=`date +%Y-%m-%d`
TM_USERNAME=`niutil -readprop / /users/\\$USER realname` perl -pe
's/\\$\\{([^}]*)\\}/$ENV{$1}/g' <index.html >\"$TM_NEW_FILE\"";
One important note: the commands above are prefixed with '[ -f
$TM_NEW_FILE ] || '. This is to check if the file already exists, and
if so, it won't do the "or" branch (i.e. overwrite it).
I really should have added this to the default templates! I'll be
adding it to all templates shipping with 1.0.1 -- if you create your
own templates, please add it to avoid templates from overwriting files!
The reason TextMate doesn't perform this check is, that the template
could generate multiple files, or not generate TM_NEW_FILE at al.
Also, remember that you're not limited to using perl as command. You
can write your templates in e.g. PHP and use php as the command to
generate them.
Kind regards Allan
On Oct 9, 2004, at 8:25 PM, Alan wrote:
> So what should escape do? And which dialog box are you talking about?
I'd like the escape key to map to the cancel button. Referring here to
the save dialog box; excape/cancel in the open box works fine. :)
Hi there
I'd love to see Textmate notify me if I attempt to set a keybinding
that the application is already using.
At present, I can enter the same keybinding twice (or more) without
any notification. BBEdit alerts you if you attempt to do this and it
is quite helpful.
I'm guessing that if you do enter a shortcut that has already been
taken, TextMate fails to then display it in the corresponding menu?
bongoman
Hi there
Am wanting to create a macro or snippet to allow me to comment out a
selection thus:
/* commented selection */
But am a little unclear if this is via a macro or a snippet. Either
way, I'm having trouble seting this up.
Any clues appreciated...
bongoman
I like that there's a per-file header added when you drop a bunch of
files into a new txt doc.
Where would I go to change the appearance and content of that header?
tx,
mm
--
Merlin Mann
43Folders.com
Hello,
I've setup a wiki[1] to collect various TextMate add-ons. The general
layout is still under construction, but feel free to modify anything.
This is obviously temporary solution until macromates configure their
own repository. I'll make sure that useful content gets transfered
later on. Also the wiki is not intended to replace Ian Phillips bundle
page[2], but rather to complement it.
I took a liberty of using TextMate icon. Please tell me if that's not
ok, and I'll remove it.
[1] http://glyf.org/TextMate/
[2] http://ianp.org/articles/textmate.html
---
Philipf
I quickly created an alternate icon that is distinctive in the dock and
says a little bit about what the application does. (It's not brilliant,
but I think it's functionally a little better). The icon may be used
freely for non-commercial purposes.
Alternate Textmate icon
http://www.spahr.org/share/textmate_icon.zip
Updated Smarty Syntax (same URL as previous version)
http://www.spahr.org/share/PHP_Smarty.tmbundle.zip
James.
I like that there's a per-file header added when you drop a bunch of
files into a new txt doc.
Where would I go to change the appearance and content of that header?
tx,
mm
--
Merlin Mann
43Folders.com
Hi all,
There were a couple of bugs in the Snippets, Commands, Macros and
Languages bundled with 1.0 (What can I say, I was in a rush!).
I'd like to use this thread to document any problems you've encountered
or suggestions you have specifically in regards to the Bundles.
Please, no feature requests, or anything related to the general TM
application.
Here's what I have so far:
Snippets:
- br and hr snippets are redundant (use "Make HTML Tag 2" command
instead)
- meta snippet didn't have any placeholders
- PHP function snippet didn't have a placeholder for the function name
- The three PHP tag openers are a little much... will make one
redundant, and people can customise top suit their own preferences
Languages:
- swapped SCRIPT and STYLE patterns around the wrong way in HTML.plist
Macros:
- nothing yet
Commands:
- rename "Reload in Safari" to "Refresh Safari", since that's all it
does
- add a php.net manual look-up command for the current word
I'd appreciate any suggestions for more snippets, macros and commands
to add to the default set. Please keep them all in this thread, so
it's easy for me to keep track of what's going on. Anything that can
help people speed up their productivity or solve repetitive or boring
tasks is a great candidate.
Justin French
It´s great to finally have folding in a native osx application.
Although the current implementation has a few usability issues:
First, the folding column needs to be rightmost in the gutter,
next to the text. Currently, when line numbering is active,
matching folding widget with line is harder than it could be.
Second, the present top and bottom widget icons are too
similar, making it hard to read a structure overview off the
document. It´s primary function is to show start or end of
the block, thus arrow direction must be the most visible
feature.
In addition i suggest a highlighting feature, allowing us to close
a fold(?) by clicking anywhere on a line between between
folding icons. A mouse over effect shows what parts will be affected.
This will allow easier matching of open and closing arrows, as well
as reducing mouse travel.
View the attached mock-up for a clearer, visual description.
(note in the image I am experimenting with a x-code style top-bar as well ;)
hp.
Greetings!
So, have anyone started to make some custom syntax definitions for the
various laguages out there? Lets share!
I wish I could say "I'll start" but I've just started on one so I'm
still wrapping my head around it. It still baffles me why colours
arent global (like, often i want the same color for strings regardless
of laguages for instance)
(apologies if this has been bought up already, I'm the list newbie)
Cheers,
johan
--
Johan Sørensen
Professional Futurist
www.johansorensen.com
I added an alias in my .tcshrc file to open files similar to the
bbedit command line utility.
(alias tm open -a TextMate)
When trying it out, i figured i´d test opening folders using my new command.
so typing "tm ." worked great! but unfortunately I was in my home folder:
TextMate halted, loading some 20GB worth of files to my new project.
And my point is is :) : There ought to be some handling of this
situation (when dragging folders to the dock icon as well) either
trough a warning, an option to add none-recursively, abort button in
shelf etc.
Greetings,
It seems like people are starting to go hog wild creating TM bundles,
so I have started a (currently very crude) bundle editor for TextMate
last night, which looks like this:
(note: this is not a Photoshop mockup, it's an actual screenshot of a
running Cocoa application ;) ).
If you guys think that this kind of tool would be useful until Allan
and friends come up with an integrated bundle editor, let me know.
Allan and friends, if you have something like this up your sleeves that
you are ready to ship, like, in 2 weeks, let me know as well ;)
--
Luc Heinrich - lucsky(a)mac.com - http://www.honk-honk.com
As well as jumping to the correct line in files when there's a
compilation error, it now does the same with NAnt builds (for the csc
task at least).
Also included now:
Selective builds: in your nant.build file highlight a target and it
will be built, this uses the $TM_CURRENT_WORD variable, if nothing's
selected it will try to build "all" as before.
Build File syntax highlighting.
Enjoy,
Ian.
#ifndef __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | http://ianp.org
#endif
Hey,
This might have come up already, but I think it would helpful to have a
single page that collects (or at least points to) all the available
add-ons folks have put together for TextMate, such as bundles,
syntaxes, snippets, and so on. A two-line summary of what it does (with
screenshots where possible) would also be great.
I agree that the power of TextMate comes from unlocking its _insane_
amount of configurability. But, I also suspect that some of the
nay-sayers--especially those less experienced with the power of a
shell--would be much more inspired if they saw what they could *do*
with TM (without having to build the actual widgets themselves).
For inspiration, I think Alcor has done a nice job with [Quicksilver's
plug-in page][1], which folks can sort by alpha, popularity, or update
freshness. Best of all, users can click to install any of the plug-ins
right from that page. Takes a lot of the mystery out of the process.
Just one data point. If ya'all need help with bandwidth or what have
you, please let me know how I can pitch in. I am, as the kids say, a
fan.
[1]: http://quicksilver.blacktree.com/plugins.php (Quicksilver's
plug-in page)
--
Merlin Mann
43Folders.com
Hi
It would be excellent if one could set a custom selection color in
syntax plists. I was rather excited to see the feature under View: Show
Color Settings, but unimpressed that it was not used when syntax
coloring was enabled. Might there be an undocumented property to set it
in a syntax file?
- craig davey
I'm trying to work out a couple of bugs in my XML syntax. I may have
uncovered a bug in the folding code, or I may just be suffering from
regexp brainfade...
What I was originally trying to accomplish was two types of folding. I
wanted the following to fold up:
(begin) <foo>
<bar />
(end) </foo>
... and I also wanted this to fold:
(begin) <foo key="value"
(end) key1="value" />
The latter would ideally fold to
<foo key="value"(...)
Am I correct in believing that this second form can't be accomplished
with the simple folding marker regexps available now? The help doc
says that it expects the end folding marker to be on the same indent
level as the start folding marker, and the second form definitely is
not.
Now, for the part that may be a bug:
I haven't found a regexp that will make TM *ignore* the abbreviated
(but multi-line) XML element above (the 2nd one). Perhaps this is all
well and good, except that TM seems to rather arbitrarily match the
would-be end tag for the shortened element. I'll annotate the
screenshot below:
Line 62 starts one of those singleton elements. Note that there is no
closing tag, but at line 67, another element begins as the same indent
level. In the current state, if I use the folding start button in the
gutter at line 62, TM folds the document to line 72 (the end of the
first </target> text). If I fold the "clean" target (lines 67 to 71)
and then fold the <target> at line 62, TM folds all the way to line 92.
It seems to me that TM should stop searching for a match if a new start
fold marker is discovered at the same indent level. Is that correct,
or are my regexps just more sloppy than I thought they were? :-)
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
Is it open to me to set HTML attributes to have a different color to
the tag itself? I'm aware that I can edit the relevant file in the
Bundles directory to configure my syntax coloring but recall reading
something somewhere that this was not possible as yet re attributes &
tags.
Hi folks,
I wanted to try TM for Perl programming, so I whipped up a quickie
syntax coloring bundle, available at
<http://math.sfsu.edu/hsu/textmate>. You might not like my subtle
colors. Feel free to change them for yourself.
I'm certain this work can be improved. If you do modify it, I'd
appreciate your sending me the improved copy!
best wishes, Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
James A. Baker asked me for a BBEdit feature where the selection is
wrapped in a tag, which you pick from a list of tags. But then his
stream of thoughts derived the following TextMate solution, which I
think was very neat:
Create this snippet, name it _wtag:
<${2:tt}>$1</${2:tt}>$0
Then select Start Macro Recording and type:
cmd-x, _wtag, tab, cmd-v, tab, stop recording, save it for later.
Now you have a macro which wraps the current selection inside a tag
pair (the default tag name is tt, but you can change it). Press tab
again after having typed the name to leave the snippet.
Another neat trick I saw on a blog (but unfortunately lost the
reference) was a command configured to do:
open http://php.net/$TM_CURRENT_WORD
So simple, and yet so powerful (it looks up the word under the caret in
the PHP reference documentation).
It's really fantastic to see this end-user innovation, keep it up! :)
Kind regards Allan
Has anyone successfully unsubscribed from this list? When I hit either
the "password reminder" or "unsubscribe" button in the Mailman web
interface, I don't get any email from the Mailman. But he's happy
enough to deliver the list messages.
Guan
Just thought I'd chime in with my experiences of using TM over the last
couple of days.
Firstly, may I heap lavish praise on the developer(s). The
live-updating project drawer (despite its shortcomings, below) is
fantastic, and the Esc autocomplete is nothing short of magic. How does
it *always* seem to guess the right completion for a given start string
out of many possibilities? Regardless, this has made coding a lot less
laborious. The snippet and macro features are also great time savers.
But enough of the praise, here's my comments and suggestions :-)
* I rarely want to view the ASCII version of an image file. How about a
preview of the image in the editor pane instead?
* Whilst speed is generally not an issue, there is an annoying 2-4
second delay (i.e. spinning beach-ball) when switching to TM when I've
got an (open) project located on an SMB share.
* By default, TM requires a lot of keyboard mashing for relatively
common commands. For instance, I see no reason why the Command + Option
+ Control + D for toggling the project drawer can't simply be Command +
D (in fact, I've hacked this myself in IB and it works fine)
* How about a split view (i.e. the ability to see different sections of
the same document at once)?
* TM doesn't seem to remember the window scroll position if you do the
following: open a document (that scrolls), and scroll down without
changing the insertion point. Switch to another document/tab. Switch
back. The window scroll position is back to its original position, and
is no longer at the section of text I was looking at.
* When searching within a document for a string located "below the
fold", the matching string barely creeps "above the fold", i.e. is
bottom aligned relative to the window. This makes it harder to see the
match in context. I prefer the behaviour (which I believe BBEdit
exhibits) whereby the matching string is centred vertically in the
window, making it easier to spot and put in context.
* How about being able to create a "real" folder (as opposed to a
group) in the project draw?
* I would like the group name to be selected and editable immediately
after its creation, à la "New Folder" in the Finder
* The Shift Left/Shift Right commands exhibit weird behaviour. I expect
them to work like Command + [ and Command + ] in BBEdit or SubEthaEdit,
but they don't. (Sorry for the vagueness. It's easier for you to see it
yourself than for me to describe how.)
Overall, I like the direction TextMate is going in.
Regards,
Rich Barton
I found the single pixel cursor rather difficult to see with a black
background (even though I've edited the bundle for Ruby now). I'd like to
see an option to use a block cursor.
Thanks,
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.5.0: Wed May 12 16:58:24 PDT 2004
I have just downloaded textmate and I looks like a very promising editor. I hope to be able to use it soon!
I would very much like to see an environment for both latex and python. Those two environments are those I am in most of the time. I am sure that I not alone.
Also, to me the tab behaviour of Emacs (where you can press tab anywhere on a line to align the content of the line) is a big plus when programming. It helps structure back the code rapidly. This feature would be part of a more global automatic formatting for programs but at least it is almost essential.
This being said, you are doing an excellent work!
Congratulations and I look forward to your next version which might include these features.
Hi All,
Been a bit busy at work today, but the list is updated now. So far we
have:
C
C/C++/Objective-C
Java
JavaScript
Mono/C# (now updated with compile output support thanks to Jan Sabbe).
OCaml
PHP Smarty
Python
XML
Have a nice day!
Yours,
Ian.
#ifndef __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | http://ianp.org
#endif
When editing Ruby code, everything after the first "/" in code turns
yellow. For example, in the code
class Foo
def bletch(num)
@foo = num / 12
end
end
everything from the "/" to the end of the file is yellow.
Is this a known issue? What can I do to fix it?
Jim
--
Jim Menard, jimm(a)io.com, http://www.io.com/~jimm
"...it uses Smalltalk, rather than modern-day kludges such as Java,
which
resembles a modern object-orientated environment in the way that a pub
ashtray
resembles a cigar store."
-- Andrew Orlowski, "Forgotten language enables nonstop gadgets",
The Reg
Hey,
Thanks for a really neat product. I'm still messing about with it, but
I think it's a keeper.
I've noticed some things, though --
Odd help behaviour: the tooltip that appears when you hover over the
Commands textarea says that you can use the purple help icon to get a
full list of TextMate's exported variables, but that just goes to the
Commands reference page instead. There's a small link to the list of
variables, sure, but maybe the list of variables belongs on that page
too? (or it should link there as advertised, instead?)
Also, why does selecting Help *from the Help menu,* while the commands
window is open, mean that it goes to that page? I understand that
context is cool, but I expect to find that choosing '(AppName) Help'
from the Help menu would take me to the app's help index page.
Second: the whole dealie about the preferences window has been
discussed, it seems, but it's also something I miss. While there's
nothing that really *has* to be in a preference window, it seems
logical to me that per-document options ought to be kept well away from
the permanent ones.
Third, I'm not sure if it's my own font problems or not, but I've never
noticed it any other place -- when I'm using any bitmap font the first
character in a line has a larger gap between it and the next character.
You can see this in action here:
<http://www.raena.net/images/gappy.gif>
Fourth, why is Page Up and Down moving the insertion point? Can one
change that at all?
And finally, I'm not really concerned with (s)ftp support myself since
I prefer to use Transmit, but does anyone know how i can tell Transmit
to make TextMate available in its list of external editors? Can that be
done at all?
Hi,
Are there any known issues with TM and saving files that needs
authorization to view/edit?
I opended /etc/hosts with sudo from the cmdline, and TM doesn't seem
to want to save the changes, no error, it just remains unsaved.
--johan
--
Johan Sørensen
Professional Futurist
www.johansorensen.com
I usually work with an additional monitor plugged into my Powerbook at
home, but not at work.
If I accidentally leave anything open on the external monitor before
disconnecting everything, on restoring the affected application the
window is pulled onto screen. That is to say, if at any time the desktop
area is reduced, windows readjust their position so not to be lost.
TextMate doesn't seem to be doing this.
I connected up my external monitor this evening to find a window that
had been 'lost' all day!
drew.
Does anyone know if it would be possible to use the various extensions
within TextMate to provide a navigable list of functions within a class
file? A bit like the one BBEdit or SubEthaEdit has.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
hi,
Just starting using RubyonRails....and each time i create a project i
want to modify .htaccess to enable mod_ruby....and it's not possible.
would be cool if the contextual menu of the drawer propose a 'toggle
invisible file view' item or something like that
thanks...
textmate is really the best 40$ i ever spent
Hey Allan & David,
First, thanks for filling a major void in OSX land. I've been using
UltraEdit on Windows for several years until I bought a Powerbook in August.
I love everything about OSX except the lack of a solid (and reasonably
priced) text editor. Thanks to ditto, I think I found one.
So far I'm pleased with TextMate, though I haven't been able to use it much.
The single biggest problem I've found so far is that it seems to load files
entirely into memory. Try loading a 100MB enterprise server log in TextMate
and you'll see it die while consuming megabyte after megabyte of memory.
UltraEdit by contrast only loads what it needs into memory, making it very
very fast while viewing and manipulating large files. UltraEdit handles
GB-size files without breaking a sweat. I think the only complication
around that is line numbering becomes slightly more involved.
The second feature I'm looking for is a hex view/edit/search&replace. Being
able to locate and fix an invalid UTF-8 character sequence inside an XML
file that is causing my application to bomb has proven to be a critical
feature. Hex search&replace comes in handy when I need to remove all 0x00
characters from a file, for example.
Finally -- and this should be the easy one -- please add a "count" button to
the search window. Often I want to count the occurrences of a certain error
message in a log, or see how many things I'm about to change by
search&replace.
That's it (for now ;) Keep up the good work!
Thanks,
Kevin Hunt
Couple of questions regarding syntaxes:
I'm working on modifying the HTML syntax to support JSP. I've created
the following definition for comments; JSP and HTML comments are
similar. JSP comments look like <%-- comment --%>. I can use a simple
regexp to search for <!-- or <%--, but is there a way to be smarter
about how the comment ends? I'd like to make sure an illegal JSP
comment gets highlighted as such:
WRONG:
<%-- -->
... or maybe ...
<%-- --> --%>
I've currently got the (not quite smart enough) pattern:
{
name = "Comments";
begin = "<[%!]--";
end = "--%?>";
foregroundColor = "red";
},
How is the "include" keyword supposed to work in a pattern? I've tried
this:
name = "Embedded Java";
backgroundColor = "#E5E5E5";
begin = "<%";
include = "Java";
end = "%>";
... but that only highlights the background of the excursion, not the
text within. I've created a Java bundle with "Java" defined in
Syntaxes/Java.plist.
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
I do not know if this has been mentioned before, but the undo/redo
functionality needs improvements. What bothers me is that the undo
functionality will "undo" stuff character-by-character, and not by
block. I want block undos. Ideally, I would like to have more of a
VIM-like undo functionality.
You may wonder what would be defined as a "block undo"? One definition
would be: any time when I type in text (or remote text with the
backspace/delete) would be one block. When I move the mouse, or use the
arrow keys, or use PGUP,PGDOWN, etc. the undo block would end.
Nick
Interarchy supports ediiting files over sftp. It would make me überhappy is
TestMate would support this feature. I asked the Interarchy developer what
details you would need to know to make this work. He replied with the links
to the info below.
I know you intend to support editing files over sftp with TextMate in
version 1.1, but I like Interarchy and adding compatability to work with
Interarchy looks pretty simple. So pretty please with sugar on top, add
this feature. :-D Thanks,
Simon
------ Forwarded Message
From: Peter N Lewis <peter(a)stairways.com.au>
Date: Thu, 7 Oct 2004 10:06:08 +0800
To: Simon Dorfman <Simon(a)SimonDorfman.com>
Subject: Re: Edit with... TextMate
>I want to ask the developer of a new text editor (TextMate macromates.com)
>to support your "Edit with..." feature. What does he need to know to make
>it jive with Interarchy?
The details are at:
http://www.merzwaren.com/external_editor.html
and Bare Bones' original specification is at:
http://www.barebones.com/support/developer/odbsuite.html
If they drop me a line when it is implemented we'll be happy to add
TexMate to our list of possible editors.
Enjoy,
Peter.
--
<http://www.stairways.com/> <http://download.stairways.com/>
------ End of Forwarded Message
Hi all,
I just downloaded the PHP & Smarty syntax bundle, and found that it too
was based on a dark background. Can someone please explain this
seeming 'obsession' with dark backgrounds when 99% of all other apps
are the basic white background with black/coloured text ???
What is it that I don't get about it ??? (I personally find it very
hard to read text that way.)
Kind regards,
Mats
I hate .textClipping files, they are some kind of bastard
implementation of a file. They really aren't terribly useable but they
are easy to create and so show up far too often. I've never looked into
the format but I don't understand why Apple didn't just make them txt
or rtf files. Instead they created a specially functioning file that is
not well supported.
.textClipping files are supported as expected if you drag from the
Finder to an open document in TextMate, i.e. the contents are inserted
at the insertion point.
Dropping a .textClipping file on TextMate's app icon opens a new empty
window with the textClipping's name. Desired behavior would be to
display the textClipping's contents. Bonus points for making the
textClipping editable!
Selecting a textClipping in the project drawer displays an empty window
with the title set to the textClipping file's title. Desired behavior
would be to display the textClipping's contents. Bonus points for
making the textClipping editable.
Dragging a textClipping file from a project window to the currently
displayed document results in no change to the current document.
Desired behavior is to insert the contents of the textClipping file at
the insertion point, i.e. the same behavior as dragging from the
Finder.
thanks for listening!
Hi All,
I was wondering if anyone's been working on js syntax highlighting.
I derived one from the ruby file, but it's still a tad bit buggy.
Perhaps we could join efforts?
I'll post the bundle as soon as I get back to the mac.
>Given that TextMate is pretty good at piping output from shell
>commands, would it not be possible to automagically generate a running
>"TODO" list in a file using a command similar to this...?
> `grep -r FIXME /Users/USERNAME/Sites/FooProject/`
Merlin:
You could pipe it to an external file. In the Filter Through Command window, choose "Document" and set it to "Show as tooltip" so it's non destructive to your current file, and run:
grep -r FIXME >~/project/TODO; open -a /Applications/TextMate.app ~/project/TODO
It will auto-generate and pop open for ya.
Regards,
Joe
I can't decide if this is a TextMate question or a GREP question, but
here goes.
Like a lot of people, I frequently use HTML comments like this to
remind myself where known problems exist:
> `<!-- FIXME sibling P tags not taking margin/padding in IE/Win -->`
Given that TextMate is pretty good at piping output from shell
commands, would it not be possible to automagically generate a running
"TODO" list in a file using a command similar to this...?
> `grep -r FIXME /Users/USERNAME/Sites/FooProject/`
Is that sensible? And how might I set that up in a doc to refresh
itself? Better as a separate shell script I'd call up somehow? Maybe
better off as manual macro I run when I want updates? TIA.
(Man, I'm just *loving* the possibilities of this app)
mm
--
Merlin Mann
43Folders.com
Hello,
I'm just trying out TextMate and I very much like the feature for collapsing
brackets. (I remember seeing a post on some mac blog about using
OmniOutliner to write code just so a similar feature could be achieved.
Anyway...)
However, I have a suggestion. I have trouble distinguishing between the
little triangle icons used on the left side. I was thinking adding color to
them would make it much easier to see which is the top and bottom and which
is collapsed. So I looked in the resources of the app and found the graphics
files and tried changing them. The colors I chose are perhaps a bit much,
but perhaps this post will inspire someone else (or the developers) to come
up with a better color scheme.
I went with a red-yellow-green stop-light color metaphor. Green is the top
of an open triangle. Red is the bottom of an open triangle. And Yellow is
a collapsed triangle. If that makes any sense...
Basically, I changed these files:
Folding Bottom Cap.png -> tint Red
Folding Collapsed.png -> tint Yellow
Folding Ellipsis.png -> tint Yellow
Folding Top Cap.png -> tint Green
I've attached a zip containing my newly tinted PNGs. I'm not sure if this
mailing list will let attachments go through, but if it does, enjoy.
Otherwise, I guess you'll have to tint 'em yourself.
Simon in New Orleans