Hi to all,
I would like to announce that Yummy FTP version 1.0.4, which will be released next week,
will include support for TextMate using the ODB editor suite.
Thanks go to Eric Curtis for his input regarding Yummy FTP and his suggestion to subscribe
to this list.
If any of you have any questions, suggestions or comments regarding Yummy FTP please do
not hesitate to contact me.
Best regards,
Jason
----------------------------------
Jason Downing
Technical Support - Yummy Software
Software so good you could eat it. Yum!
www.yummysoftware.com
----------------------------------
Maybe a 'View' option, that opens in Preview, and a 'Edit' option that
opens based on creator code. (as right click/context menu items)
Then just a pref, that says 'open' = View or Edit?
So even if you have the default 'open'(double click) = View(which would
be a good default), you can right click, and say edit if you need to.
Hope this helps,
-Craig
On Nov 20, 2004, at 5:00 AM, textmate-request(a)lists.macromates.com
wrote:
> 1b) Project Drawer & Image files
>
> Working mainly with web development and graphics/images, I think it
> would be great if you could see the image displayed in the main editor
> window, or alternatively opened by Preview rather than any other app
> regardless of the Creator Code of the image file when you double-click
> the filename. This should ideally be a preference option, where you can
> turn it on or off.
> The file formats in question are: .jpg, .png. .gif. .pdf
I always like SubEthaEdit's New File | Open File command in when
option-clicking on the dock icon. Is this something that TM could
incorporate?
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
Quote of the moment: /Teeth never inflate when you inhale, cause that
would look really stupid./— Davezilla
Hi Allan et al,
I have a small request: Following the recent enhancement allowing you
to enlarge a selection by using shift in combination with the arrow
keys, it would be nice if similar behaviour was exhibited when using
the mouse.
To clarify, I'd like to be able to double click on a word, hold the
shift key and then single click outside the selection to enlarge it. At
present, when using the mouse rather than keys to enlarge the
selection, it always takes the start of the selection as the insert
point rather than switching the insertion point based on whether the
new selection point is before or after the current selection.
This means that trying to enlarge a selection by shift-clicking before
a selection actually results in removing the existing selection rather
than enlarging it.
Thank you for your time.
James
I'm still very much a TextMate (and mailing list) newbie, so haven't
quite got my head around everything - apologies if this is already some
built-in thing I am unaware of or if this has already been covered
before. Here's something that might prove a minor challenge to my
fellow list subscribers (well it does to me).
I have a file which is essentially just a list of things. I haven't
been overly diligent in keeping things in alphabetical order and now I
want to sort the file. I know that I can use the command line and use a
UNIX sort on it. In Vim I used to invoke the ! and run it through sort,
outputting the results back into the buffer without having to leave
Vim. So, is there a way to do it within TextMate?
What if I only wanted to sort a selection and overwrite that selection
with the sorted version of the selection? What about a reverse sort?
Column selections?
I'd be interested to hear your thoughts.
Stuart
Ive noticed that icons in the drawer for files TM doesn't recognize always
seem to be the generic document icon rather than the one the Finder uses,
does TM need to have the icons built in or can it read them from the Finder
when necessary?, I seem to remember earlier version did this, but I could be
mistaken.
Anyway, Id quite like my .fla and .swf files to have nice icons, Id be happy
to supply the icons if they need to be built in, Allan?...
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Allan,
I have attached icons for .fla, .swf and image files (.jpg, .gif etc) if you
need them. If anyone would like to add these to their copy of TM, just open
the TM package and drop the files into the Contents/Resources/File Icons/
directory, don't forget the Bindings.plist file as well.
Regards
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
How do people feel about having TextMate set the creator code for saved
files?
1) should it do it only for files w/o extension?
2) for specific (user setable) extensions?
3) have a global on/off switch?
4) be setable in the save panel?
The "problem" with creator codes is that they take precedence over file
extension, so if for example you save a .html file with TextMate, that
file will open in TextMate (if double clicked) even if you've
instructed Finder to use OmniWeb to open HTML files (but you can change
it pr. file though).
So creator codes does IMHO break the "change all" feature of Finder.
Personally I'd probably like #1 from above, maybe #2, though I
generally do prefer my files to have a blank creator code.
I'm not that creative so I haven't figured out how to do this yet.
I have the following structure
project/
project/classes/
project/src/
projekt/Makefile
I usually create a TM-project for the source-folder.
How can I make a macro that executes the makefile?
Or any other ideas on how to simplify compiling?
Hopefully I will only be using the terminal to start my programs
Regards
Ivar Åsell
Not sure if this has come up as an issue yet ...
When defining files to match a language syntax ( currently fileTypes =
( ext1, ext2 ) in plists), what about defining a file match by way of
shebang/interpreter?
Is there a way to do this that I just don't know about?
kumar
I'm trying to get a command set up in Textmate to open the current file
in FTPeel in order to invoke the Magic Mirror command (uploads the file
to the appropriate directory on the appropriate server automatically).
I found this script to do it in VIM:
> " FTPeel
> fun! MagicMirrorIt()
> let path = substitute(expand("%:p"), '/', ":", "g")
> let nice_path = substitute(path, "^:", "", "")
> execute('!osascript -e "tell application \"FTPeel\" to open \"' .
> nice_path . '\""')
> endfun
>
> map :call MagicMirrorIt()
Basically, it's as easy as calling an Applescript with the command
'tell application "FTPeel" open $TM_FILEPATH'
except FTPeel has a bug with converting the unix filepath to a "mac"
filepath (users:toby:home:sites:file) because it leaves the initial /
in the mac path...i guess what the VIM command above does is remove the
first / (i think)...how would I go about doing this as a Textmate
command?
Thanks for your help!
Toby
Something I have become accustomed to in my Win32 text editor of choice
(Homesite+) is customizing the syntax highlighting so that comments have
a different (yellow) background color.
Is there an easy way to do this?
Robert Occhialini
Thanks, Allan. Now to put my money where my mouth is and buy a license.
Stuart
> On Nov 16, 2004, at 4:03 PM, Stuart Wheeler wrote:
>
> > Now all I need to do is work out how to determine the number of
> > characters and words I am highlighting (without manually counting
> > them). Is it possible to do that in TextMate at the moment? If I can
> > find that out then I'll buy a license.
>
> You can create a command (menu: Command / Edit Commands…).
>
> Set the Command(s): to “wc”, Standard input to “Selected text” and
> Standard output to “Show as tooltip”.
>
> If you bind a key to this command, you get the “lines words characters”
> shown for selected text as a tooltip when you press the key -- it's not
> as convenient as having the information in the status bar all the time,
> but I hope it'll make do until I add it.
From the b4 release notes:
> Navigation -> Go to Header/Source now also work for non-project windows (although the plan is to remove the non-project windows).
I'm understanding this to mean that in future it will be necessary to
create a project for everything. Is that right?
If so, the input I'd offer is that this is how Dreamweaver worked for
years. You had to define a 'site' before you could make even the
smallest edit to a file. It was a PITA and eventually Macromedia agreed
to change the behavior.
TextMate has scratch projects though, which I hope would avoid the
situation whereby the user needs to jump through hoops just to make a
small edit to a file they don't usually work with.
drew.
I notice that if I do a multi-file search across a project with positive
matches, close the project and open up another one, the old list of
files from the previous project will remain in the Find in Project
dialog. I would have thought that the list would be closed with the
project, no?
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
I've just discovered TextMate and am seriously considering buying a
license.
I have tried numerous text editors in the hope that I would find one
that really delivered. Many seem to be ports from other platforms and
haven't truly embraced the capabilities of OS X. SubEthaEdit was
closest I had come to something I liked (especially the price), but it
still lacks a lot and frankly I don't need the collaborative editing.
People kept telling me that BBEdit was the ultimate editor but despite
claims it was totally rewritten for OS X, it's still Carbon (despite
BareBones' earlier claims of it being in Cocoa - the black and white
spinning disk is a bit of a Carbon giveaway), and it really didn't
strike me as such. It seems like a throwback to the pre-OS X era (and
is therefore bound to have plenty of pre-OS X cruft). I tried it
several times and just couldn't get on with it. The file drawer was
klunky and on several occasions I had huge problems saving and opening
files. It's visually unappealing with its stupid little buttons. It
feels bloated and a little buggy. Another major downside I found was
that as I had previously tried earlier versions of BBEdit, the demo
period would suddenly end without warning and any work I was doing was
suddenly lost. Thanks, BareBones, not the best way to woo a prospective
license owner!
The only thing I did like about BBEdit was its ability to tell me how
many words and characters I was highlighting.
Today I read the following article on MacDevCenter about text editors:
http://www.macdevcenter.com/pub/a/mac/2004/11/05/text_editors.html?
page=1
I decided to take a look at TextMate and Smultron. In Smultron I
instantly liked the way I could see exactly how many words and
characters I had highlighted. This is important to me as I have a
number of forms with specific length fields I write text for. It's also
a fairly standard feature of many editors. In fact I prefer the way it
is done in Smultron over BBEdit. There are a few other things in
Smultron I liked, but when I fired up TextMate I was instantly blown
away. It just felt right.
Now all I need to do is work out how to determine the number of
characters and words I am highlighting (without manually counting
them). Is it possible to do that in TextMate at the moment? If I can
find that out then I'll buy a license.
Regards,
Stuart
seeing as how you can open multiple folders in the project drawer (by
shift-arrow selecting them and then arrow-right to open), would it be
possible to allow multiple files to be opened as tabs in one go as well, so,
selecting a few with shift and then enter to open them?
/MS
Is there a way in v1.0.1 to highlight a line or a block and have it
either commented or uncommented based on the current state of the line
(a la Scite)? Could this be done through the use of Macros?
-Brian
Hi Allan and al.
I know it can be done two ways[1] but could it be possible to have a
"Insert file" option in File or Edit? It would be easier and more natural.
Thanks,
[1] Text/Execute Line Inserting Result or Text/Filter Through Command...
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.6.0: Sun Oct 10 12:05:27 PDT 2004
I've also noticed that when I'm working in a project, and I make a
selection that requires horizontal scrolling and then switch back and
forth between another tab, that TM forgets the scrollbar X, Y
coordinates. For now I can hit Cmd-J, but it would be nice if I didn't
have to refocus every time I switch between tabs.
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
I've noticed that when I'm making a mouse selection that extends beyond
the visible editing area, TM doesn't scroll to follow my movements. This
is fairly unintuitive. WIll this be changing in an upcoming release?
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
Currently when you do an extended Find across a project and choose to
replace text, it is not obvious that your changes aren't saved when you
close the dialog box, which would be the expected bahavior.
It wasn't until I had uploaded all the files in the project and was
about to close the project (I had already closed all of the tabs) when I
was asked if I wanted to save the changed documents! I had to go through
to whole upload process again to commit my changes!
This behavior should be much more transparent to the user--either by
automatically saving changes to files that are not open in tabs or to
have a check box on the find/replace in project dialog that offers to
save changes automatically.
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
Hi All,
When "Saving as" a document using for instance "iso-latin-1" file
encoding, if the document contains a character that can not be saved
with this encoding, the file is automaticaly saved in UTF-8. OK, that's
the same with TextEdit. But the point is, we have no warning about it,
which could be confusing.
Could we have a message box that display :
"your document cannot be saved in <the encoding you want>,
so what do you want to do :
[] save as UTF-8
[] edit your document to change exotic character(s)"
And could we have too an utility to track down those characters that
prevent the file from being saved in the chosen encoding? Or does RegEx
Find/Replace allow it?
And (last) for HTML file, when saving, could TM match the
<meta http-equiv="Content-Type" content="text/html; charset=xxx">
with the File Encoding?
Have a nice day,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
I was thinking that it might be useful to be able to view two documents
side by side in a project for easy reference. You could alt-click drag
from the gutter to create a split and then drag tabs between splits up
top...
Any thoughts on this?
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
Hi Allan,
I was thinking that it would be useful if, in the Open Recent menu, you
separated Projects from Files with a horizontal divider. See the
attached for one implementation idea.
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
Would it be possible to have tab-emulation only function at the start of a
line? Extremely few (if any) of the documents I edit directly have a column
layout (where tabs would be useful), I only really use them for
indentation.. and when editing regular text it'd be nice to have
backspace/delete only remove one space at the time.
Regards,
Martin
I know you are working heavily on the project drawer and may know this,
but FYI ...
Bug: TextMate does not consistently move files (on the hard disk) as
they are moved in the project drawer.
Reproduce: Set up a project with several existing files added from a
directory, lets say ~/Sites/lib/php/report . they are not grouped in
the project drawer, just loose. Then, in the project drawer there is a
group called unit_tests, which exists on disk as ~/Sites/unit_tests. I
have a file named settings.ini that is from the reports directory but
not grouped anywhere in the project drawer. I like to alphabetize my
list of files so I can easily find them later, which means dragging the
files into place manually. in doing so, say I accidentally move
settings.ini file into the group unit_tests. What happens is that
TextMate physically moves settings.ini into ~/Sites/unit_tests. Back
in the project drawer when I notice the mistake, I move it out of the
unit_tests group but TextMate does not physically move the file out of
~/Sites/unit_tests back into ~/Sites/lib/php/reports, like it should.
This confuses TextMate (and me) and when i repopen a project, the files
are back in unit_tests.
aside from that ... what about the ability to set a root directory for
the project drawer so the project drawer can be an instance of the mac
os x finder in list mode? Maybe you could have several roots if your
project contained files scattered around the hard disk (which doesn't
seem like a typical scenario to me).
if nothing else, I would like to have the option to alphabetize the
project drawer. This would just make dealing with large amounts of
files easier.
in any event the project drawer is still very useful in its current
state.
thanks, Kumar
Hi all,
Unless I'm doing something terribly stupid, it seems it's impossible to
use a snippet while in another snippet without losing the tab
placeholders of the first... Is that right? That'd be sort of
disappointing, especially since snippets are part of what makes
TextMate elegant and customizable---would that be hard to fix?
And a related automating-stuff point: Would it be possible for find
operations performed by macros not to wipe out the previous find
string? This too I think would immediately make lots of things possible
that were only semi-possible before... (Alternatively, you could get
the same functionality by allowing commands to select text and move the
cursor without the mediation of the separate window, which would be
even cooler---you could do stuff like selecting the current sentence or
the current block---but seems like it might be a larger undertaking...)
Marcin
Hi All,
Using my fingers and RegEx, I hardly manage to convert simple HTML
file to TeX file, something like :
find : <h1>([^<]+)</h1> replace : \\section{$1}
find : <h2>([^<]+)</h2> replace : \\subsection{$1}
find : <ul> replace : \\begin{itemize}
find : <blockquote>([^<]+)</blockquote>
replace : \\begin{quotation}\n$1\n\\end{quotation}
and so on...
Has someone here written a macro that does that job? It would be
very helpfull :)
Thanks,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
wow, accidentally pressed the Help key while typing in TextMate and
found a menu with the following options:
Dictionary Search
Google Search
Thesaurus Search
Wikipedia Search
Yahoo Search
Upon selecting an item, TextMate passes the current word under the
cursor to the said service. very nice. I haven't seen this in other
programs -- is this an OS X thing? Or better yet ... Is there a plist
somewhere in TextMate to add to the list?
k
I noticed that when dragging a .css file into a transitional XHTML
document, the link tag isn't properly closed. Just wondering if you
could add doctype detection for drag-inserting links to files.
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
wondering if this is a bug or intended somehow ...
I opened a file, params.ini, to edit in TextMate. TextMate handled it
fine besides no sytax highlighting since none has been defined
presumably. But when I added it to a project with other PHP files, the
file would not open in TextMate. For example, I clicked on it once
from the project drawer and nothing would happen. if I double-clicked
on it the file opened in SubEthaEdit (which I think was a decision made
by the Finder). Shouldn't undefined text files still open in TextMate
from the project drawer? Do I need to create a syntax plist as a
workaround in the meantime? TextMate 1.01.
thanks, kumar
I'm about to embark on a lengthy and complex project (changing 30-odd
FileMaker tables into MySQL). Usually I use the (excellent) CocoaMySQL
for table creation but I thought I'd explore using snippets in TM...
Basically it works like a charm (create table, add date field, add
varchar, add int...), though I haven't tested it vs CocoaMySQL to see
which will be faster (as CMS offers more tweaking of the field
definitions). But I figure I can whack out the fields in TM then import
the whole .sql file into CMS for the tweaking, adding indexes, etc.
> CREATE TABLE textmate (
> textmate_id int(11) NOT NULL auto_increment,
> tm_user varchar(50) default NULL,
> user_no int(5) default NULL,
> user_email varchar(50) default NULL,
> entry_date date default NULL,
> PRIMARY KEY (textmate_id)
> ) ENGINE=InnoDB;
The one thing I can't manage to sort out is including e.g.
"`textmate_id`" since the "`" is used in the snippets to evoke a shell
command... I tried escaping with "\`" but that didn't work. Am I
missing something obvious?
In any case, it's clear that snippets can revolutionize coding :) Wish
I had more time to explore... embedding shell commands could be
fantastic...
Paul
As the help file suggests, I've tried changing some keyboard shortcuts
with System Preferences->Keyboard & Mouse->Keyboard Shortcuts. I'm
trying to change the following items in the Text menu:
Reformat Paragraph
Reformat & Justify
Unwrap Paragraph
I can get Reformat & Justify to work but not Reformat Paragraph and
Unwrap Paragraph.
I suspect it's because both of those items change their name depending
on wether text is selected. I.e., when text is selected they become
Reformat Selection and Unwrap Selection.
I've tried setting the same shortcut for both, e.g., Reformat
Paragraph and Reformat Selection to try to cover both menu states, but
it doesn't work and the System Preferences warns me of an error
because of the duplicate shortcut key.
Does anyone know how/if I can make that work? Or am I just out of
luck because of the way the item changes names?
Incidentally, I've worked around it by creating a local
KeyBindings.dict, I'd just prefer to do it with the System Preferences
so I don't have to always keep my KeyBindings.dict up-to-date between
version changes.
Thanks much for any ideas!
Hi,
I've noticed from previous mailings in this mailinglist that there are
loads of keyboard shortcuts available in TextMate. Is there a list
available somewhere which lists all of the default ones ?
And I also saw that there are lots of default OS X keyboard shortcuts I
didn't know about, does anyone know of a list of those?
Jeroen.
I created a service that adds “Edit in TextMate” to the Services sub
menu. The key equivalent is command-escape (but there's an OS bug which
requires the menu to have been open at least once before the key
equivalent works).
It opens a TextMate window with the selected text, when you save and
then close the TextMate window, the modified text will be sent back to
the application.
There's currently a 3 hours timeout (the application will have the busy
wheel until you close the TextMate window).
Place the service in ~/Library/Services -- you need to log out/in for
the services menu to be rebuilt. If you launch the service manually,
the service should be available for new programs or programs which
hadn't already had the services menu built (but restart if it doesn't
work).
If you use the service from within TextMate, it may hang (until you
manually break the service) -- I'll add a workaround for this.
It currently can only handle one edit task at a time, and it requires
at least version 1.0.2b3 of TextMate.
The reason that it's an external service and not built into TextMate
has to do with the way services work -- I may be able to find a
combined solution later.
It uses a temporary file for exchanging the text, this is always named
“Data from <application>.txt” and placed in “/tmp/<uid>/TemporaryItems”
-- it doesn't remove the file afterwards and it doesn't ensure that the
file didn't already exist.
Unless I missed something (which, today, wouldn't surprise me in the
least..) it's not possible to create a project from a remote folder over
(S)FTP, is that correct? From what I understand of FTP and ODB this won't be
easy to implement?
Has anyone found a way to mount FTP folders as regular folders in the finder
(with read/write, not Apple's readonly way)?
A workaround I got was to open the files seperately, then dragging the
window's icons to a new project window (or if you open its parent folder
from the titlebar you can drag all the opened files to TM), selecting the
files in the project window once so they get a tab, and then you can close
the original windows - edit/saves will update the version on the server. If
you close the original window without 'tabbing' the file, the temporary file
will be removed (and editing will not be possible).
Regards,
Martin
Hello,
I feel like this should be easy, but I can't seem to figure it out.
How can I make TextMate give .dwt files the same Syntax highlights as .html
files?
Thanks!
Simon
P.S.- .dwt files are dreamweaver template files, by the way.
So I'm not the only one who doesn't bother making a GUI for the
preferences ;)
Begin forwarded message:
> From: David Kocher <dkocher(a)cyberduck.ch>
> Date: 8. November 2004 10:54:19 CET
> To: Allan Odgaard <allan(a)macromates.com>
> Cc: Steven Skoczen <steven(a)quantumimagery.com>
> Subject: Re: Thanks, and support for TextMate via ODB?
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> To test Cyberduck with TextMate, please change the defaults to
>
> defaults write ch.sudo.cyberduck editor.bundleIdentifier
> com.macromates.textmate
> defaults write ch.sudo.cyberduck editor.name TextMate
>
> Thanks!
> - -dk
I'm clearly doing something wrong here but--how on earth do I turn
tabs on?! Every time I open a new file (cmd-O) it opens in a new
window! I've looked through all the menu items, searched the wiki,
help *and* the mailing list and but I'm still tab-less. (I'm
embarrassed to say I can't figure out how to activate the "dynamic
file outline" working either--so I'm actually not able to use features
number 1 and 2 on the homepage...)
--
http://beebo.org
+44 78 2118 9049
Hi,
I'm having a go a writing a syntax highlighting format for markdown
(http://daringfireball.net/projects/markdown/), and I've run into a
couple of problems. The first is the lack negative look behind
assertions which makes matching escaped sequences (eg. * \* *) a lot
more complicated. I can use begin, end and swallow, but there isn't
any way to limit these to single line sequences. Are there any plans
for including them in the future?
The second problem, which I haven't been able to overcome, is matching
multiline sequences that end with (eg.) two newlines. For example:
begin = "\\*"; end = "\\n{2,}" doesn't match what I'd expect. Is this
a known problem?
Thanks,
Hadley
Hi Allan,
A few little suggestions.
1. Find dialogue should remember 'regular expression' setting between
invocations.
1a. Cool if Find dialogue remembered the last few searches and replaces.
2. Option to subtly highlight current line.
3. FYI. On occasions I can't quite duplicate, the last 'pixel' on the
right is not displayed. The document gets into that state and
resizing the window doesn't help. I'll try to collect more data on
that.
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
If I have a bit of text like
$var1 = "some text";
$var2 = "some more text";
cursor-keying past the second quote will briefly light up the first, but the
third quote will briefly lite up the second (and the fourth the third
again). Seems odd?
But keying past a quote where it's matching quote is not visible, the whole
*window* flashes yellow..
This happens when working with syntax coloring for HTML (ASP) and HTML (PHP)
at least, probably others.
Can anyone reproduce?
Regards,
Martin
The latest beta of MarsEdit includes Edit with Textmate support:
> This is just a small update, an internal-only build, mainly for people
> who want to use TextMate.
>
> Other changes -- customizable ping list and Markdown preview support
> -- are still en route, they're just not ready yet.
>
> Changes:
>
> *** Edit with TextMate
>
> Edit with TextMate now appears in the File. ctrl-cmd-J. The feature
> requires TextMate 1.0.2b3 or better.
>
> There appears to be a TextMate bug regarding character encoding. I use
> the exact same code for TextMate as for BBEdit and SubEthaEdit -- but
> TextMate turns curly quotes (and so on) into weird characters. Either
> there's something I need to set in TextMate (that I couldn't find) or
> there's a TextMate bug. If someone who's in touch with the TextMate
> folks want to get the skinny on this, that would be appreciated.
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
I'm wondering about using CTRL-K to cut a line and CTRL-y to paste a
line.
Typing ctrl-k seems to cut the line out, but ctrl-y has no effect. I'm
used to typing
these commands in a terminal and in emacs.
Has anyone else experienced this?
This is an issue I just discovered, and I was wondering if it could get fixed:
TextMate doesn't make coffee yet (black is fine, no sugar or milk needed).
Also, I told it to wake me on time for the news, and it was 8 minutes late.
Allan?
Regards,
Martin
>Date: Fri, 5 Nov 2004 18:20:01 -0700
>From: Curtis Schofield <schofiel(a)telusplanet.net>
>
>I'm trying to get used to the automatic () {} behaviour.. sometimes i
>wrap
>if/parameterlists around existing code and i get an automatic } or )
>when i don't
>expect.
What I do it select the text I want to enclose and then press the '('
or '{' and it's done. It's kinda scary the first time, 'cause you'd
expect the selected text to be replaced by the character you typed.
But the second time will bring a smile to your face.
eg. type 'if' hold the shift key down, press the arrow key to move the
cursor to where you want it, press the '(' and so on...
Carl
>Date: Sat, 6 Nov 2004 18:37:49 +1100
>From: Justin French <justin.french(a)indent.com.au>
>
>Wait 'till you find yourself back in BBEdit or any other program and
>*expect* them (and completion, and snippets) to work and they don't.
>I'm starting to wish everything (Mail.app, where I do the bulk of my
>typing for example) behaved like TM.
Yes. When I have to use Vi or command line psql and no matter how long
I wait, the closing thing never appears. It seems so _broken_...
Carl
Hi All,
Just wanted every web developer to know about these scripts/commands
that I have just created and available here:
[ http://wiki.macromates.com/textmate/show/Howtos ]
1. Preview in Browser: Safari, Firefox and IE5
These commands will take the current file and then load it in a new
browser window. Works with both local files [ file://path/to/file.html
] and
web server based files [ http://www.somesite.com/file.html ] as long as
you create a new project Shell Variable called TM_PROJ_SITEURL with the
full URL.
Please note. Still some issues with Safari not being able to open a new
window on its own to sort out.
2. Reload Browser: Safari, Firefox, IE5 and All 3 browsers.
These commands will do a reload of the current page in each browser
separately or all at the same time.
Hope they are useful to you all.
Kind regards,
Mats
On Nov 5, 2004, at 19:12, Mike Chambers wrote:
> First of all, just bought my license, and want to say what a great
> editor this has been thus far.
> Now, onto my question:
>
> I am trying to duplicate the refresh safari command to work with
> FireFox. Here is what I have thus far:
>
> osascript -e 'tell application "FireFox" to activate'
> osascript -e 'tell application "FireFox" to do JavaScript
> "window.location.reload();" in first document'
>
> This works, except that FireFox does not refresh the active page.
>
> Anyone have any ideas on how to get this working?
> mike c
Hi Mike & welcome to the fold.
You've helped me before on the Flash mailing list (many years ago now),
so I thought I should help you as far as I can tonight (it's 9.30pm
here)
The problems you are having is to do with the AppleScript syntax and
limited AS support in Firefox.
The following Applescript works in Script Editor and just needs to be
converted into TM working code. Don't have time to do so tonight : (
set theActiveURL to "http://www.macromedia.com/"
tell application "Firefox"
activate
OpenURL theActiveURL
end tell
You would use $TM_FILE_PATH to get the path to the file and load it as
a local non-parsed file. IF you are previewing a file through a web
server, then I guess you need to add a Project Shell Variable (info btn
in project drawer when no file is selected) with the URL prefix and
then use a bit of fancy footwork to add the variables together into a
full URL.
I'll think about it over the weekend, but can't promise a solution, but
I'm sure you - and many others - will have worked it out before then. :
)
Hope that helped you a bit on the way.
Kind regards,
Mats
The tab metaphor for opened files works fairly well, especially if you
make the effort to open related files next to each other. The tabs
should shrink smaller imo, but that's a separate issue.
The question I have is -- if you are working on two files that are far
apart in the tab bar, is there any shortcut for switching between them?
My thought is that the program could maintain a history list of viewed
files, and then a key binding could be assigned to navigate back and
forward over that history list. Could this be added? (Or does this
capability exist somehow?)
Cheers,
Wayne
Hi,
When I've got many files open in the project drawer, it's difficult to
track down the one I want. It would be great if there was an option to
sort the files alphabetically.
Cheers,
Andrew.
--
All views are my own - who else would want them?
http://www.andrewsavory.com/blog/
Hello,
Is there a way to adjust the height of the tab bar and force the tabs to
"wrap" (similar to how UltraEdit does it), rather than having to click
on the double arrows and select from the dropdown on the right when the
tabs spill over?
If not, is this something that could go into a future release?
Thanks,
-Justin
Sorry to gripe, but pressing undo after writing a line of code is like
trying to walk up a downward moving escalator. I know it's been said
before but here is another plea to the steadfast, cooperative
developers: at least consider an option to let undo step back word by
word instead of character by character (what would be the nicest is to
step back in logical "chunks" the same way bbedit does).
thanks, Kumar
Hello everyone. I tweaked the folding icons again. Still using the
Stoplight color metaphor, but made them a little less saturated and a little
smoother around the edges. I made the Bookmark Icon blue too. Attached is
a screenshot and the required PNGs.
To install:
1. control-click on TextMate in the Finder and select "Show Package
Contents"
2. double-click on "Contents" in the window that opens
3. double-click on "Resources"
4. copy my replacement pngs to this Resources folder. Accept the dialog to
replace the existing pngs.
Feel free to add this to the wiki.
Simon
Cmd-Shift-L for select line only selects the physical line, not the logical;
if the line was wrapped it will not select the second part. This also causes
the default Duplicate Line macro to not work correctly on wrapped lines I
think. Is this easily fixable?
Regards,
Martin
PS. just ritually sacrificed BBEdit, now that TextMate supports the ODB
Editor Suite.
Hi Allan,
When I double-click on a PHP variable name it selects the whole word
(without the preceding $) as expected. Because I want to select the
whole thing I automatically do a Shift-Left Arrow to add the $ but
something strange happens and I get about half the word selected
without the $. Any chance of fixing this?
My expected behaviour is whichever arrow key (left or right) you first
start using after selecting the text should allow you to expand or
contract the selection at the appropriate end.
Also a suggestion (which BBEdit supports) is that a second shift double
click on a different word should select everything between and
including the two words.
Thanks for your time,
James
Hi,
I am trying to edit some SVG documents. When I open them one at a time
they work fine. When I try to open them in a project (to get tabs even
though I don't want the drawer and stuff :) it doesn't work. They don't
display, and if I click or double-click them in the drawer they try to
open in the browser instead of in the editor.
Is there a list of known bugs to not dupe reports? I couldn't find one,
but then I'm rather tired today.
Thanks,
--
Robin Berjon
Two marvelously useful features that I use heavily for programming all
kinds of language in Emacs and XEmacs are:
- Tab Always Indent: when this option is on, hitting the TAB key
always just indents the current line
- indent-region: re-indent the selection
I see you already have editing over sftp in your todo for 1.1.
TextMate looks like a good start and might find a nice niche. It's a
bit rough around the edges at the moment. And I find it hard to work
without the two indent features I mention above. Maybe I should add
them to the Feature requests page?
-Travis
Hi,
one feature I would really love to have would be the ability to have
tabs without needing a project (if there is I really couldn't find it).
I really like tabs but I only occasionally work using projects. Having
the option to say "any files I open are opened as a tab in the current
window" would positively rock.
Also, having a way of telling TM that you want all your windows full
screen at 0,0 would be really nice and far more usable than what the
default OSX behaviour provides.
--
Robin Berjon
There is really only one rule (apart from normal netiquette) I want you
to uphold:
When you write a _new_ letter to this mailing list, _don't_ use “reply”
on an existing letter (to get the To: filled in).
It screws up threading!!!
If you're using Mail.app, you can control-click the “To” of an existing
letter and select “New Message” to get a compose window with the “To”
header filled in.
Threading is a very useful feature, and especially for me with this
mailing list, since it's basically an archive of user feedback, and I'd
like for the table-of-contents to show _every_ thread, which it
currently doesn't, when one thread contain 2-3 _different_ subjects,
because people have used reply (then it only show the first subject).
So PLEASE remember _not_ to use reply (for new letters)!!!
Is there a compelling reason to use cmd-opt-arrows for tab shifting?
Safari uses Cmd-Shift-Arrow...if there's no reason to stay with the
current setting, I request that TextMate match Safari.
--
(-, /\ \/ / /\/
Hi,
Is it possible to do a "columnar selection" with the keyboard only?
Hold Alt while moving the cursor would be the logical shortcut for
such a thing I think (it doesn't seem to be used for other things?).
I don't use the tabs (ie. they're hidden) whenever I have a project
open (in the project drawer), is it possible to navigate up/down in
the projectdrawer with the keyboard?
-- johan
Does anyone know if there is any way to manually define what TM considers to
be a "word" when double-clicking to select? At the moment a dollar sign does
not seem to be part of what TM thinks is a word, and I use these to prefix
variable names. I seem to remember that within S-E-E there is some way of
defining which characters are legit for variable names or something, is such
a thing planned for TM?
Regards
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
I really liked when folder names were bold in one of the past betas.
Do other people share my point of view ?
Setting this with a preference, should this require to go to the
terminal and type some "defaults..." thing, would be great.
Dominique PERETTI
http://www.lachoseinteractive.net
Allan, I know you made the change to call bash sub-shells with
'--login' in response to people's problems getting their PATHs set
straight, but I'd like to make an argument towards putting it back the
way it was.
Philosophically, it's just not how things are supposed to work with
bash. The reason .bash_profile is only called on a login shell,
.bashrc is only called on an interactive non-login shell, and BASH_ENV
is consulted for non-interactive shells is so that you can separate
initialization code for these very different conditions.
Practically, since, by default, .bash_profile is only called on a
login shell, people use it to put initialization code that should only
be run when they log in ... knowing that that's the only time it will
run. For example, people output stuff to the screen, they mess with
their stty settings to get their keyboard working correctly, etc.
People don't typically protect any of that stuff in if statements so
that it only runs if there is a tty because ... there should always be
one in a login shell.
By changing TextMate to use a login shell, it now executes all that
cruft in the subshell. Every time I run a command it now inserts into
the TextMate buffer all this extra stuff from my .bash_profile that
I've sent to the screen, and errors from my trying to run stty without
a tty. To combat that, I'm going to have to go through my
.bash_profile and surround any of that kind of code with if statements
that test if there is a tty or not.
So, in trying to make things easier for people (not having to set
BASH_ENV in their enviroment) I think this is going to wind up making
it harder for people (having to escape code with if statements all
through their .bash_profile). I would bet that you'll start to see a
lot of problems come in related to this.
What are your thoughts? Any chance I can convince you to change your
mind on this?
Thanks much.
this is a separate note but related to Dominique's message on orphaned
wiki pages ...
I have twice posted a link to a bundle containing snippets for creating
PHP Documentor tags in PHP scripts ... but both times the link has been
wiped out. Now the wiki seems to have been reorganized so I am
hesitant to repost. Should we have a new page for snippet-related
bundles? I'm not sure if maybe people are wiping out my entry because
it is not a syntax highlighter bundle.
The link is still available here btw :
http://farmdev.com/downloads/PHPDoc.tar.gz
kumar
Sorry, but I kinda liked being able to use Cmd-P for my own purposes :-)
Is there a way to disable that shortcut (using the current beta)?
Regards,
Martin
Two things I miss from BB:
a) Opening/saving directly by FTP/SFTP (not going through Transmit,
Interarchy, etc)
b) "show invisibles"!!! I know this has been asked for already... I
just wasted 10 mins on a file where 2 spaces were emulating a tab;
partly my fault (confused about Tab Emulation) but show invisibles
would be great...
Otherwise I'm loving it. The recent HTML-PHP syntax coloring seems
better, or is that my imagination :) I found myself running MySQL
queries directly in TM... cool! Just think of the possibilities with a
macro :)
Paul
>I have twice posted a link to a bundle containing snippets for
>creating PHP Documentor tags in PHP scripts ... but both times the
>link has been wiped out. Now the wiki seems to have been reorganized
>so I am hesitant to repost. Should we have a new page for
>snippet-related bundles? I'm not sure if maybe people are wiping out
>my entry because it is not a syntax highlighter bundle.
Hi Kumar,
I re-posted your link to the wiki. If it disappears, I'll help you
restore it. I suspect it was deleted out of clumsiness and not any
secret standards for what should be on the front page. I think the
nature of a wiki is that all the users have to evolve standards for
how things should be organized and how people should edit. I
personally think nothing should ever be deleted. At worst, it should
be put in a separate link or 'refactored' by being summarized.
I did the last reorganization because (1) most of the front page was
obsolete due to Allan's including them in the distribution and (2)
someone had incompetently edited the front page to nuke most of the
writing people did. It's possible that in restoring the old writing
I accidentally lost some post-nuking changes you made (but I did try
to check).
best wishes, Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
I just joined so I apologize if this is a recurring subject, but I would
like to see TextMate become ODB protocol compliant. Specifically, I work
with a few other programs like MarsEdit which allow editing of the text
in programs like BBEdit or SubEthaEdit. I have talked with a few of the
designers including Brett and for TextMate to also be included it needs
to include the ODB protocol. Is this possible for a future release?
Thanks
Robert
All I want for Christmas is world peace, an end to hunger, and for
TextMate to either support (s)ftp or be supportive of the external
editor thing. As in this:
http://www.merzwaren.com/external_editor.html
I'd become so reliant on Transmit's ability to open a text file in
BBEdit, where I could just sit 'save' and have it upload automatically,
that having to do it by hand again is really getting up my nose.
For the moment, can anyone recommend a way to get around this lack of
support? I still have BBEdit, of course, but I'd rather be using
TextMate. I'm not so good with shell scripting so I wouldn't know the
first place to start where that's concerned.
Can anyone help?
Regards,
Raena
>Just a quick note to stress that there are more and more orphaned pages
>in the wiki http://wiki.macromates.com/textmate/list/ .
>People should pay attention to other's links when they edit a page...
This is a good suggestion in general.
However, that page list isn't working right. The first three links
are from the front page. There are wanted pages that aren't listed...
I don't know how to fix it, so I'm just ignoring it for now.
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
Hey all,
Anyone know what happened to the XML bundle? Last I see from the
archives, whoever had it in an svn repo said he'd post a tarball, but
there's nothing after...then just a message much like this one, asking
where it went...
Just pining for it, s'all
d
Hi All(an),
Yet another smart release, v1.0.2ß2 is really great, print options
match exactly what we need :)
> Added a default set of smart typing pairs, these are: ({[""""]}).
Would you please add "« »"? i.e. something like
"« (caret here) »"
Have a nice week-end,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
This is another minor/major feature request for Allan : )
The order of the open files windows tabs - in top of project window -
has confused me for a while, as the open files have not followed an
immediately identifiable method/structure. Having created a simple test
project with files named a1,a2, b1, b2 etc etc. I have finally worked
it out.
Newly opened files will always be added immediately behind the
currently selected tab, and not in an alphabetical order nor in a order
of opened status which I had kind of assumed it would do just like
Safari tabs do.
Therefore, could it be possible to implement this as an options
preference:
1. follow alphabetical order
2. order of open status (last opened is last in order)
IF this could be fixed I would be very grateful, as working with 10+
files open means I have to look through the tab bar for where my opened
files has been located.
What's the general view on this ? Apologies if this has been discussed
earlier without me noticing it.
Kind regards,
Mats
> Date: Fri, 29 Oct 2004 07:58:15 -0600 (MDT)
> From: William Douglas Neumann <wdnx(a)unm.edu>
>>There already is a feature for this: when you move over a parens/brace/etc,
>>the matching one lights up briefly.
>
> Although this could be improved as well. Right now, the hilighting only
> occurs when you move forward over the closing member of the pair (unless
> I'm missing a menu option somewhere), instead of either direction over
> either opening or closing members. BTW: Consider this a feature request,
> if it's not already an option, and a plea for guidance otherwise.
This feature is too "subtle" for me. I have great difficulty finding
the matched character. I like the way S-E-E does it: a double click on
a paren/brace/bracket selects the contents of the pair. This is very
clear and potentially very useful if you want to relocate the text.
I *reallyyyy* like putting paired characters around selected text.
That has become one of my favourite features. It makes writing nested
conditionals very easy. No more counting pairs. Selecting text between
pairs would be a nice counterpart. Hmmm, would also be useful for
single and double quotes too....
Have fun,
Carl
here is the issue i am having...
1. i scroll to a place deep within a long document to do some editing,
say a css file
2. i then switch to another document to apply some other edits, i
switch documents by clicking on their tab
3. when i return to the first document, the css file in this case, the
caret has returned to the top of the document and i have to scroll
again to find the place that i was editing...
is there anyone else having this issue?
thanks for a great product none-the-less!!
------------------------------------------------------
www.arrival5.com web
336,577,8014 mobile
336,992,3751 home office
I'm trying out 1.0.1. Hard to believe with that list of languages that
Java isn't present. I found the link to Brian Lalor's bundle for it on
the wiki, but the link is currently dead.
-Travis
Howdy textmaters. (that does sound kinda naughty, doesn't it?)
As I live in Denmark I commonly use the special danish characters æøå,
and has tried to make a command to the php htmlentities(9 command on
the selected text:
php -r "echo htmlentities('$TM_SELECTED_TEXT', ENT_QUOTES);"
But, alas, as in the terminal æøå gets mangled into
\303\246\303\270\303\245 before being entitized.
<, &, ", ' and other "normal" special chars gets converted just fine.
Is there a workaround for the brutal mangling of the innocent danish characters?
I know there is already a "Convert to entities" command, but it
converts every character, not just the special ones. And its a bit of
a chore to select every instance of a special character and running a
command on it.
Any thoughts? Anyone?
Nis "Have-a-nice-day" Sarup.
--
BTW: I have 5 Gmail invites. Write me at nis.sarup(a)gmail.com if you
are in desperate need of a new and fancy email.
I just make a rectangular selection of a column about 20 lines long, and
copied it to the clipboard.
Pasting this further down the document failed to create the extra space
needed for the code being pasted, and effectively 'merged' the pasted
code with the existing code following the insertion point.
Hard to explain. Will screen shot the steps if necessary.
drew.
On Mon, 25 Oct 2004 23:55:02 -0500 Kjell Olsen wrote:
> I can't make the date function work within the command - If I execute
> my script outside of textmate it works beautifully, but from within
> textmate I get:
>
> <code>
> date: illegal time format
> usage: date [-nu] [-r seconds] [+format]
> date [[[[[cc]yy]mm]dd]hh]mm[.ss]
> </code>
Timothy Martens' solution of using an external script which is then
called with a command works well, or -- if you'd prefer to keep it all
within TextMate, you could try something like:
ruby <<END
task_text = "$TM_SELECTED_TEXT"
task_text.gsub!("\[ \] ","[X] ")
print ""
from = File.basename("$TM_FILEPATH",".txt")
comp_time = Time.now
datestamp = comp_time.strftime("%d/%m/%Y at %H:%M")
File.open("/Users/me/completed.txt",'a'){|archive_file|
archive_file.puts
archive_file.puts "#{task_text} => in #{from} on #{datestamp}"
}
END
I ran into a similar problem, which I suspect in my case was down to
escaping the quotes in the format string wrongly. The double quotes to
form the Ruby string make this tricky. I decided to side-step the issue
slightly long-windedly by using Ruby's 'date' methods. Note also that
this code works on selected text: I have Standard in = selected text
and Standard out = Replace selected text. The selected task then gets
deleted from the original file and pasted in to the completed.txt file
with a checkbox ([X]).
I also put the date stamp on the same line as the text to make it
easier to grep for; when someone chases me about something I've done, I
can double-check when I did it ;-)
I'm a Ruby-newbie too, so I'm sure more experienced coders could make
it more efficient.
Jackie
--
Jackie Chappell
jmchappell(a)mac.com
On Tue, 26 Oct 2004 13:17:50 -1000 Timothy Martens wrote:
> /bin/sh: line 1: ruby: command not found
>
> why? do I need the full path in line 1?
Hmm. I don't use the full path for Ruby but it works for me. Also
whereis ruby returns nothing for me, but I also have Ruby 1.8.1 in
/usr/local/bin.
my $PATH is:
PATH="/usr/local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current:
/usr/local/mysql/bin:$PATH"
export PATH
in .bashrc, but you can also put it in .bash_profile (I 'source'
.bashrc in .bash_profile). I found that if I put the default $PATH
first, the shell would find the Panther version of Ruby (in /usr/bin)
first before my 1.8.1 version in /usr/local/bin, but YMMV.
I think this must be a path issue. Does the command work if you specify
the full path instead of just ruby?
Jackie
--
Jackie Chappell
jmchappell(a)mac.com
Allan,
Thought you would like to know that my colleague at work is very happy with
the new auto-insert features in 1.02b1, I have even seen her use the
wrap-selection-in-quotes feature.
Well done.
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Allan,
Thought you would like to know that my colleague at work is very happy with
the new auto-insert features in 1.02b1, I have even seen her use the
wrap-selection-in-quotes feature.
Well done.
Chris
DDB London - Effectiveness Agency of the Year
DDB Worldwide - Global Network of the Year
The Information given in the above email
and / or attachment is provided without warranty of
any kind, either expressed or implied on the part
of the writer or the Agency.
______________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
1. I think the program rocks.
2. I was writing some HTML and I had the need to have a command that
jumped to the *inside* of the next tag. I couldn't figure out how to
do this in TM (or any other editor), playing with snippets and Perl
shell command ideas until I realized I could record a macro that did:
find <(.*?)> as regular expression
hit left arrow (to go to start of found selection), hit right arrow
(to skip over the <)
find [^>]* to select all characters up to the >.
It works just great.
3. In some corner of my head I feel like snippets, macros and
commands should really all be one type of automation entity. I'm not
sure how to do that, but it's a little confusing to have so much
power distributed across three different kinds of triggers...
4. Actual interface bug (in my opinion). If you start a selection,
say in the middle of the screen, and drag up past the window top, TM
should select everything up through the first character of the
document. Instead, it only selects up to the first line stopping at
the original column.
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
On 26. Oct 2004, at 19:47, Ian G. Gillespie wrote:
> Does anyone know of a good program that one can use to create a help
> file and a PDF manual without maintaining two sets of documents?
LaTeX does really nice PDF and with tex4ht I think the HTML result is
also reasonable good.
Another option is DocBook, though the PDF is not very nice when using
the freeware converters available.
Basically you just want to settle on some generic markup language that
allows you to convert it to whatever format you desire.
Which markup language is best suited probably depends mostly of what
type of documentation you're writing, i.e. is it heavily interlinked,
using all sorts of "typegraphic" features, footnotes, images etc.
Kind regards Allan
--
http://macromates.com/ ::: TextMate, OS X text editor
http://macromates.com/sigpipe/ ::: Personal weblog about
programming
On 26. Oct 2004, at 23:26, kumar mcmillan wrote:
> when copying and pasting text from one document to another document in
> a project, the pasted text gets shifted to the right one column.
Disable “Indented Paste” from the Behavior menu.
It tries to match the indent level of where you paste -- some
improvements could probably be made though (I think it fails to
properly treat spaces and tabs transparently).
> also... if you select several lines of text (like the require
> statement + comments above), then choose Text > Move Selection >
> Column Right, TextMate only moves the first line, not all lines of the
> selection. The same thing happens for Text > Move Selection > Column
> Left.
Yes, move column left/right only makes real sense for either selecting
sub-lines (e.g. words) or doing a columnar selection.
Kind regards Allan
On my US keyboard the [ ] characters do have their own keys, and if you
shift them they are { } (braces).
-rich
On 10/25/04 6:28 PM, "Allan Odgaard" <allan(a)macromates.com> wrote:
> On 25. Oct 2004, at 23:55, Richard Kilmer wrote:
>
>> I followed the procedure to copy the KeyBindings.dict file to:
>>
>> ~Library/Application Support/TextMate/KeyBindings.dict
>>
>> I want to map shift right/left to xcode-style/command + ] and command
>> + [
>>
>> "@[" = "shiftLeft:";
>> "@]" = "shiftRight:";
>>
>> But it does not seem to work!
>>
>> Any help would be appreciated.
>
> Are you using a US-keymap? i.e. does the [ and ] have their own keys,
> or are they e.g. on option-8, option-9 (as with some european keymaps).
>
> Kind regards Allan
>
> P.S. This is really a mailing list type of question! ;)
>
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
I am making a syntax module for the Rebol language and I am having
trouble getting some keywords to match properly. This expression works:
match = "(action!|any-block!|any-function!|)"
but it is not ideal for I needed it to work with word boundaries. When
I include word boundaries in the regex, the rule is never matched.
match = "\\<(action!|any-block!|any-function!|)\\>"
I think this is a problem with the exclamation point "!". I have tried
using it with these escape sequences: \!, \\!, \041 \\041; with no luck
so far.
I had the same problem with keywords having the question mark "?" in
them, ie:
match = "\\<(about|abs|absolute|action?|add|alert|type?)\\>"
Ideas would be most welcome. Is there a limitation in the regex engine?
Thanks, Jaime
It would be useful if smart typing wasn't active when writing code
comments. The reason being you're more likely to be writing natural
language sentences than code.
for example:
<?php
// Don't forget the elephants!
$elephants = true;
?>
with smart typing comes out like this:
<?php
// Don't forget the elephants!'
$elephants = true;
?>
What do other's think?
drew.
I am making a syntax module for the Rebol language and I am having
trouble getting some keywords to match properly. This expression works:
match = "(action!|any-block!|any-function!|)"
but it is not ideal for I needed it to work with word boundaries. When
I include word boundaries in the regex, the rule is never matched.
match = "\\<(action!|any-block!|any-function!|)\\>"
I think this is a problem with the exclamation point "!". I have tried
using it with these escape sequences: \!, \\!, \041 \\041; with no luck
so far.
I had the same problem with keywords having the question mark "?" in
them, ie:
match = "\\<(about|abs|absolute|action?|add|alert|type?)\\>"
Ideas would be most welcome. Is there a limitation in the regex engine?
Thanks, Jaime
Allan,
I will do that, Ive asked her this morning, she's working on some other
stuff at the moment but I'll let you know as soon as possible. For myself
its a huge improvement, definitely works for me, I had made a few commands
that would wrap the current selection with quotes etc, but this is much
better, TextMate seems more and more to able to read my mind!
Nice one.
Chris
On 25/10/04 9:44 pm, "textmate-request(a)lists.macromates.com"
<textmate-request(a)lists.macromates.com> wrote:
> If you can make her use the latest beta, it would be cool to hear if
> the problem is fixed with the new rules -- even if it's no benefit for
> her (i.e. she doesn't use the new "wrap selection" or the general
> auto-insertion), alone the fact that it no longer clashes with her
> style would be a nice improvement!
>
> Of course other people are also welcome with their input! Just remember
> to give it at least five minutes before you deem it a success/failure!
> ;)
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Yes, I tried this also as these keys are the same as BBEdit and its one of
those habits I just cant shake...
Be nice to be able to change it.
On 26/10/04 3:27 am, "textmate-request(a)lists.macromates.com"
<textmate-request(a)lists.macromates.com> wrote:
> I can second Richard on this one. I have a US keyboard where [ and ]
> are on their own keys, but when I change by KeyBindings.dict to have:
>
> "@[" = "shiftLeft:";
> "@]" = "shiftRight:";
>
> ... TextMate doesn't pick it up.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
It's great to see such weekly improvement of this product!
Smart typing is almost incredibly cool. I like the 'no doubling if
there's text in front' and the 'surround selection with braces' is
awesome... I was about to try to write a macro or command to simulate
this.
Issue 1. Documents with syntax highlighting disabled don't have smart
typing turned on, regardless of setting. I assume this is a little
bug and not intended behavior.
Issue 2. If I'm typing in the middle of the ()'s, I still have to
right-arrow over the last ) to get to the rest of the typing. Am I
supposed to be able to Tab out of the braces somehow? Otherwise,
it's not really saving me a keystroke since -> and ) are about
equally hard for me to hit.
Alpha under OS9 had an interesting implementation of this, where they
used bullets like • to mark tab stops; then when you hit Tab,
you knew you were jumping to the next bullet...
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
Hi All,
In some (many?) applications, one can activate internet protocols by
command-clicking on a portion of text that looks like an internet
address. For instance in MacSOUP, a command-click on :
www.macromates.com
will launch <http://www.macromates.com/> in my prefered browser.
Other text editor can do so. Is that feature system-dependant? Could
it be easily implemented in TM?
Have a nice day,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
I just installed the latest beta, and now all the Syntax highlighting
options I had set for PHP are gone (I can't stand the white background,
and prefer the darker ones).
Anyway, the bundle is still in my home directory (~Library/Application
Support/TextMate/Bundles), but does not show up in Syntax Highlight
As...I removed it from that directory, and reinstalled it, but no
luck...Any ideas????
Ben
So after a few days of (hopefully) well deserved vacation, I'm back to
TM development, and I'm currently adding support for printing.
But printing plain text from a plain text editor is really alien to me
;) so I was curious, what options do people expect to see?
I.e. should it always be soft wrapped? Should the font be changeable in
the printing dialog, or just use the document font? Should it have the
option to print with/without line numbers? Another tab-size? How about
syntax-highlight, should that be turned into b/w (there's a quartz
filter to turn it into grey-scale by default)? etc. etc.
If you do use/desire printing, let me know which “options” you use
(let's try not to mention all the things printing _could_ have) and
what stuff you actually do print (as plain text), especially the latter
will help me better understand the target audience for this feature!
Kind regards Allan
On 25. Oct 2004, at 14:02, José Campos wrote:
> I've just tried the print option in v.1.0.2ß1 : *very nice!*
> (apart from the vertical bar of the final "d"'s that are missing ;-)
Can you send me the resulting PDF (and also the text file and tell me
which font you used)?
> Could wrapping be improved so that the wrapping of a line that
> begins with tab(s) be done at the position of the tab instead of the
> left side of the page?
Yes, this sounds like a good idea (as an option).
Kind regards Allan
I just tried the new Print... option. I know syntax highlight is not on
and that it is using the document font but it seems that the text is too
big for a 12pt font. Marging are too high too.
Nice job.
--
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
Ive been watching a few colleagues of mine using TextMate and one of them
has switched off the smart typing as she finds it doesn't really help her,
the reason is to do with the way she works, which admittedly is slightly
inefficient, but I myself have fallen foul of this as well, here's what she
does:
She types a word and then decides it needs to be a string, so she steps the
caret back to the start of the word and types a quote, but 2 quotes get
added so she then has to delete one of them, then she moves to the end of
the word and types the closing quote, and the same thing happens. So she
switches the feature off as its "annoying". Now she could make a command to
wrap a selection in quotes (as I have done), but it would be nicer if it
could be smarter about when to insert the pair.
Perhaps the pair of characters only get added if they are surrounded by
white space, or if some customisable regex is matched?
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
>> Insert header in every page of the document with file path, date
>> last saved, insert page footer with page number and total number of
>> page of the document etc...
>
> And if this header was customisable with TM_* variables (and some new
> vars), etc etc, that would be great.
I second this idea, and I also think that print options should be
relatively simple: use the document font and tabs, and allow a choice
of printing with syntax highlighting on or off (or just use the
greyscale Quartz filter). There should also be an option to print to
PDF, as in the standard MacOS X Print dialog.
Would it also be possible to print from the web preview? I often write
short notes for others in Markdown, so that I can send them a
marginally more pretty version to them as hard copy or PDF, but keep a
simple text file for myself. It would be nice to be able to print it
from the rendered web preview, without having to render it as a
separate HTML file, open that in a browser and print from there.
Jackie
--
Jackie Chappell
jmchappell(a)mac.com
Hello,
I am trying to improve the syntaxe for the Latex bundle. However, I am not familiar with plist.
In addition to structures of the type
\begin{..}
\end{...}
I would like to add a folding of the \section, \chapter, \subsection structure.
For this, I thought of adding in a snipped a line at the end of these structures which would be considered as a comment by Latex:
\section{This is a section}
%\end-section{This is a section}
\section{A new section}
....
I have tried to modified the current Latex.plist to :
<key>foldingStartMarker</key>
<string>(\\begin\{.*\}|\\(((sub)*section)|(chapter)|(paragraph)|(part))(\*?)\{.*\})</string>
<key>foldingStopMarker</key>
<string>(\\end\{.*\}|%\\end-(((sub)*section)|(chapter)|(paragraph)|(part))(\*?)\{.*\})</string>
However, this does not work very well as if there is any substructure in a \section of the type (\end{equation}, for example), the folding occurs from \section to \end{equation}.
Anybody could tell me how to correct that??
I thank you in advance!
Normand Mousseau
I am trying to improve the syntaxe for the Latex bundle. However, I am not familiar with plist.
In addition to structures of the type
\begin{..}
\end{...}
I would like to add a folding of the \section, \chapter, \subsection structure.
For this, I thought of adding in a snipped a line at the end of these structures which would be considered as a comment by Latex:
\section{This is a section}
%\end-section{This is a section}
\section{A new section}
....
I have tried to modified the current Latex.plist to :
<key>foldingStartMarker</key>
<string>(\\begin\{.*\}|\\(((sub)*section)|(chapter)|(paragraph)|(part))(\*?)\{.*\})</string>
<key>foldingStopMarker</key>
<string>(\\end\{.*\}|%\\end-(((sub)*section)|(chapter)|(paragraph)|(part))(\*?)\{.*\})</string>
However, this does not work very well as if there is any substructure in a \section of the type (\end{equation}, for example), the folding occurs from \section to \end{equation}.
Anybody could tell me how to correct that??
I thank you in advance!
Normand Mousseau
On 23. Oct 2004, at 9:23, José Campos wrote:
>> [...] the extension is a 8-digit number representing the date the
>> document was edited (*.20041023 for instance)
> and added : <string>[0-9]+</string>
> But it does not seem to ork
One of the few places I decided not to use a regex or shell command ;)
Would it be possible for you to add an extra .txt to the file names?
I _could_ make the file extensions regular expressions, but I would
prefer a user workaround, since the rest of OS X does use fixed text
extensions more or less exclusively (if we ignore the legacy stuff with
four characters creator/type codes).
Kind regards Allan
Emailed VersionTracker earlier today and just got this reply:
>
> On Oct 23, 2004, at 2:06 AM, Allan Moult wrote:
>
>> How come you haven't got TextMate listed?
>
> Good pointer - just got it. Thanks for keeping us on the ball, and
> have a great weekend!
> --
> Michael Kincaid - Mac Content Editor
> VersionTracker: http://versiontracker.com
Looking forward to the feedback.
Allan [the other one]
Hi All,
In the project drawer, a right-click on a file icon opens a dialog
where one can find :
Treat Files with ".xxx" Extension as Text
Where does TM store this infos afterwards? Did not find anything in
"Application Support" nor in "Preferences"
The point is to have TM consider files with a variable extension as
text, like the ones I have to deal with : the extension is a 8-digit
number representing the date the document was edited (*.20041023 for
instance)
Thanks,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
Hello all.
I'm not sure why people have seized upon this font-size issue. It is,
as a few people have already noted, a minor point, and anyone who
really cares can change it just like I did. What is *really* important
are the other, functional behaviour changes I suggested:
1. Store the Base URL in the project file. Why must I retype this every
time the Preview disappears, speaking of which:
2. Keep the preview open until *I* close it, don't make it disappear.
If a user opened it, chances are they're doing web design, and they'll
want to use it again. This shouldn't be hard, right?
3. Change the preview to display the contents of the current tab *if
that tab is HTML*. Quick Hint: if you are syntax-highlighting something
as HTML, you should sensibly be able to preview it. Likewise for PHP.
This is a bit trickier, yes.
4. Have an option to update the view if *any* project file changes.
This is probably on a par in implementational difficulty with the
previous suggestion.
---
Justin says:
> Firefox and Safari and pretty much every other browser ship with 16px
> -- I'm 99% certain of this. Eventually a preference is planned for
> you
> to pick your own I think. When the first betas shipped, it was set to
> 12, but people complained about it not being like Safari and Firefox,
> so whatyagonnado?
Set it to the same value as Safari and Firefox - surely the majority of
the mac browser share. Why would you ever set it differently? Why
12pts? ...
> Can't please everyone until there's a font size preview -- and even if
> TM were to preview things EXACTLY the way YOU prefer (14px), it's only
> previewing your Safari/Firefox set-up, not previewing my set-up, or
> some guy down the road surfing the web on his XBox.
... if the font value was the same as the default for other browsers,
you'd please *most* people. If that's 16pts, not 14pts, fine - i was
just guessing as I hacked around. I could be wrong, and in this case,
my eyes were a few pts out :)
My point is, why is TextMate deliberately different from what seems to
be the standard here?
> It's a quick and handy HTML preview, not a full-on browser... and isn't
> that good enough?
For a preview to be useful, it needs to be somewhat accurate,
especially if you are using it for CSS design. I don't ask for a full
on browser (presumably by that you mean history, bookmarks?), just a
quick pane that displays reasonably accurately what the page I'm
hacking up will look like in most browsers.
Timothy says:
> I have to side with Justin here. You
> should leave the Browser default text size alone especially when
> testing design & accessibility.
I'm not suggesting that I'd want to change it as part of my design
process. Just that it be set to a better default value.
I'll repeat - I don't understand why the OakWebPreview sets it's
default to 12pts if the two most popular browsers are different. I'd
love to hear a justification. A preference to change it at some point
would be great, but clearly isn't high-priority, nor do I feel it
should be. Just set the default sensibly - doesn't that better fit the
TextMate philosophy of "no preferences"?
Someone wondered if anyone codes static HTML pages any more. Surely the
answer is YES! Pretty much everyone does. Most design takes place using
placeholder content - a static page - which is the broken up and fed to
the appropriate dynamic parts of Rails, Smarty or whatever. If there
are people designing html using only fragments and relying on dynamic
systems to put them all together without even once just checking that
the html jigsaw pieces they are carving fit together nicely, well kudos
to you :) I must be old school, but I design the whole page first (with
forethought, of course), and then separate the components into
different files/functions.
Kumar said:
> I would also vote to not put too much development
> into WebPreview since Safari is only a command-tab + command-R away....
> unless there was a feature like SubEthaEdit that did WebPreview in
> realtime as you type.
The Web Preview *does* auto-update, like SubEthaEdit, unless I am
imagining things, and that is what makes it most useful. Why hit the
keyboard at all if you don't have to.
---
I've suggested some simple aesthetic changes, and some simple
behavioural changes that AFAIK won't take more than a few hours
consideration, but will surely improve the usefulness of the Web
Preview feature for those of us that do feel it is handy. The font-size
note is tiny compared to these other 'ideas'.
Does anyone else think Web Preview is useful? If you don't use it...
you've not lost anything. If you do, you've gained a lot.
I hope I've made my case more effectively here, thanks for reading guys.
- James
Hello!
I have to get this out of my system: this is possibly my favorite new
mac app. Amazing work!
Anyway, these are my thoughts about how TextMate should respond to
double-clicks on text, based on my preferences and the way other mac
applications like BBedit or TextEdit perform.
When I double click on whitespace, I like for the selection to stop at
the beginning/end of the line, or the nearest adjacent non-whitespace
character, whichcever comes first:
[ ]word word
Textmate selects the white space until the beginning/end of the line,
or the nearest adjacent word, whichever comes first:
[ word] word
When I double click on a word, and then shift click to the right or
left of the selected word, I like the selection to expand to include
the word or whitespace I shift-clicked on:
[word] --> [ word]
Textmate, interestingly, does this when I click to the right of a
selected word, but when I click to the left of one, the selection is
changed to the characters between where I clicked and the beginning of
the old selection:
word [word] --> [word ]word
I'd say it's praise that this is my biggest gripe after switching to
TextMate a little less than 24 hours ago. Yeay textmate!
John
def self.extend_object( obj ); self.setup_for( obj ); end
In the above, TextMate (v1.0.1) is treating everything from the first
paren to the last paren as the argument list. Should account for the
above, as well as:
def foo( bar=")" ); puts( 'yay' ); end;
--
(-, /\ \/ / /\/
(copied from http://interblah.net/2004/10/22/textmate-web-preview/ )
I have posted some feedback about the Web Preview to the
[wiki](http://wiki.macromates.com), along with a
[screenshot](http://www.lazyatom.com/media/images/textmate-web-
preview.jpg). I'm happy to provide my revised .nib file too.
In summary, and in order of perceived importance, the changes are:
* changed the base font size of the OakWebPreview to 14 - this way it
matches at least my setup for Safari and Firefox, and I'm not aware of
every having changed the defaults in those apps. Either way, ENSURE
that the font sizes are similar, otherwise the preview is pretty much
useless.
* move, resize, relabel and re-anchor the "Back", "Forward", and
"Reload" buttons. The top row of controls is now Back, Forward, URL,
Reload. This more closely-matches real browsers. The Reload could be
placed to the left of the URL, the important point is that these
controls go on top
* Remove the window texture - it's unnecessary, and unattractive. This
isn't a rant against metal, I like metal, it's just *better* as aqua
here.
* Resize the "Show Options" checkbox to "small", and place it flush
against the bottom of the view. Then Increase the vertical size of the
OakWebPreview accordingly.
### Feature Requests
1. Have the web preview always shown, if it has been opened. It should
then display whatever is in the selected tab, if the file meets some
"web previewable" criteria. If the current tab is showing an html file,
or a php file, or a .asp file, change the web preview to it, otherwise,
leave it displaying the last file that did match.
This will enable a lot of very useful editing, like changing the CSS
and having the preview update automagically, as outlined next.
2. Have another option which updates the preview, after whatever delay,
if ANY file in the project is changed. This way, I can:
* edit an html, open the web preview
* check the NEW "update if any file is modified" option on the web
preview (a project-persistent option)
* switch to the CSS (or JS, whatever) in the project. Note that
since CSS/JS aren't "previewable", the web preview window still shows
the html file
* as changes are made to the file, the web preview is told to
update, with whatever delay
* now, the consequences of any changes I make to external files are
updated automatically in the preview
This feature would REALLY kick ass. You know it.
3. Keep the "Base URL" persistent within a single project. Store the
base url within that project! This doesn't require a preference, just
each time it's manually updated, change the entry in the .tmproj file
None of these features/fixes are very hard, nor can I think of any way
that they negatively impair the current workings of TextMate - what are
the chances of seeing any of them in 1.0.2?
i'm not sure when it happenend, but it sopped working, so I plopped a
copy of Markdown.pl in:
~/Library/Application Support/TextMate/
which is same as:
/Users/tim/Library/Application Support/TextMate/
yes?
and now I get:
Base URL: file:///Users/tim/Documents/projects/GTD/waitingOn
/bin/sh: line 1: /Users/tim/Library/Application: No such file or
directory
help???
This is a very simple set of snippets to automate your PHP Documentor
tags [http://www.phpdoc.org/] while writing PHP classes using TextMate.
download: http://farmdev.com/downloads/PHPDoc.tar.gz
Here are the commands:
phpdoc_c : creates a PHPDoc class block
phpdoc_d : creates a PHPDoc definition block (constant definition)
phpdoc_f : creates a PHPDoc function block
phpdoc_h : creates a PHPDoc header for the top of your script
phpdoc_v : creates a PHPDoc class variable
** There is a very nice feature in TextMate that allows you to
reference a cursor position in a snippet by simply repeating the
numeric variable. What I like to do when writing functions is always
comment the end of the function with its name so you know what the last
trailing bracket is closing. This is fully automated for class and
function blocks. As an example:
function do_something($input)
{
// lots of code ...
// lots of code ...
// lots of code ...
// lots of code ...
// lots of code ...
// lots of code ...
// lots of code ...
// lots of code ...
} // END function do_something($input)
I must also say that with TextMate 1.0.1 I am sold! Many thanks to the
dev team and hopefully my license will help keep things moving. And
feel free to include this in the default package if you see fit.
---
Here is a complete example of how a script would look using these
snippets :
<?php
/**
* Description of document
*
* @author Author Name
* @version $Id$
* @copyright Author Name, 22 October, 2004
* @package default
**/
/**
* Define DocBlock
**/
/**
* undocumented class
*
* @package default
* @author author
**/
class Some_Class
{
/**
* undocumented class variable
*
* @access public
* @var string
**/
var $some_var;
/**
* undocumented function
*
* @access public
* @return void
* @param string $input
* @author author
**/
function do_something_cool($input)
{
} // END function do_something_cool($input)
} // END class Some_Class
?>
I'm working on a big php class file (with heavy coloring syntax bundle).
I modify something.
I save the file.
I go to Safari and test.
When I switch back to TextMate, it looks like TM is refreshing
everyhing, being unavailable for 2 or 3 seconds with the spinning
wheel. Then it seems to move to the caret (like when one presses
command-J).
Note that this does not happen if I don't save the file before.
Dominique PERETTI
http://www.lachoseinteractive.net
Can anyone tell me how I should checkout the svn bundles (java + xml)?
I get this error:
Expected version '2' of repository; found no version at all; is
'/media/subversion/repos' a valid repository path?
Kind regards Allan
i'm part of those weird guys that 'HATE' text wrapping.....
in text mate disabling text wrapping leads the gutter to disappear when
scrolling horizontally .... do the gutter has to be attached that way
to the text? i don't think so ...it should be a static bar on the left
of the GUI..... no? seems crazy to all of you ?
thanks
olivier
Hi there
When I fired up the latest release, it seems that it has overriden my
custom PHP/HTML syntax coloring.
I had my own version in my home directory in the correct location.
All of a sudden my php pages are with a dark background (#2e2e2e) when
set to HTML(PHP) coloring.
The weird thing is I can't find a reference to this hex value in any
of the bundle files so I'm at a loss to correct it.
I thought the bundle file saved as HTML-PHP.plist set the syntax
coloring for HTML(PHP). If so, why is my local version with it's
background color of #efefef not taking effect?
Any clues appreciated...
bongoman
Hi,
It may just be me but Find doesn't seem to work very well at the
moment. (b8 btw)
I've got a reasonably large file open (about 400 lines) and if I have
no text selected I can Find no problem.
If all of the text is selected (Through Select All) then Find doesn't
work with either 'Entire File' or 'Selected Text'.
If a small portion of text is selected then 'Entire File' appears to
work but 'Selected Text' functions the same as Entire File, i.e. it
ignores the selected text boundaries.
Anyone seeing the same thing?
Thanks,
Richard
1) If I put the cursor at the front of a collapsed, folded section and
press tab, I expected (and desire) it to be the equivalent of
performing a Shift Right on the entire fold.
2) (more controversial, perhaps) if I select a few lines, starting in
the middle of the first line, I expect/desire Shift Right and Left to
apply to the start of the line where the selection starts, not to
insert tabs in the middle of it.
In the following example, | marks the start and end of the selection:
class Foo
def bar
puts "That's gre|at it starts with an earthquake"
puts "birds and snakes and aeroplanes"
puts "and Lenny |Bruce is not afraid."
end
end
This selection is because I was in the middle of the word 'great' and
performed shift+down arrow twice.
When I Shift Right, it should do this:
class Foo
def bar
| puts "That's great it starts with an earthquake"
puts "birds and snakes and aeroplanes"
puts "and Lenny Bruce is not afraid." |
end
end
And not this:
class Foo
def bar
puts "That's gre |at it starts with an earthquake"
puts "birds and snakes and aeroplanes"
puts "and Lenny |Bruce is not afraid."
end
end
A workaround that I suppose I could get used to is to perform Select
Line after selecting the text, before shifting...but that should happen
automatically. (As noted in the example, the act of shifting left/right
should not only affect the entire line, it should also select the full
lines.)
Operating in rectangular selection/column mode is a different story,
but doesn't change how it should (IMO) behave in this case.
--
(-, /\ \/ / /\/
hi....switching from tab to tab in textmate leads to a recentering of
each page on the cursor...is it a feature or a bug?
if it's a feature it would be cool to be able to switch it off on a
user preference basis .... i find this terribly annoying cause that
prevent me to scroll a text to see a portion of code, and then to
switch back and forth ....
i also have this undo stack disappearing ....
very strange
keep up the good work...textmate rocks
thanks
Hi all,
With window splitting implemented, I may consider switching from
emacs. One thing that gets me though is that 'Set Mark' does not seem
to work properly. I use this all the time to select a block of text
without having to hold down shift. "setMark:" is set in my Default
Key Binding, yet I get the blip of unknown command from TextMate when
I try to use it. This works great in TextEdit, btw.
What do other people use to select text without using the mouse? I
could hold down shift, but then that blocks me from using my other
bindings (^p and ^n for line up and down respectively). Is shift and
the arrow keys the only option?
Thanks,
Wayne
From the release notes :
> Changed default key binding for “select line” to option-shift-l.
Hopefully TextMate now sucks less in Germany ;)
Yeah, but now it does in France !!
Dominique PERETTI
http://www.lachoseinteractive.net/
Backdrop Folders : Open "views" of your folders at desktop levels and
interact with them
(http://www.lachoseinteractive.net/en/products/backdropfolders)
Heres another idea which Im pretty sure would satisfy my original
comment. Currently TM inserts the closing character of the pair at the
same point as the user types the opening character, if on the other
hand it waits for one more key press before deciding whether to insert
the closing part of the pair, it could perhaps make a better guess as
to whether that is what the user wants. For example; moving the cursor
could be construed as a cancelling operation, so the closing character
would be omitted if the user simply pops back to add a quote character
to the start of a word and then clicks somewhere else in the document
(or uses the arrow keys), whereas simply continuing to type after
pressing the opening character would be construed as a confirmation and
the closing character inserted as it is now.
so what im saying is: wait to see what the user types next, and then
decide whether to insert the closing part of the pair.
does that make sense?
Chris
I'm not sure if this relates to my system or a particular (undocumented)
tweak in the latest build, but all the outstanding text peculiarities
have cleared up.
For example, in ProFont 9pt anti-aliased I was seeing a lowercase 'L'
being represented at double thickness (2px). This has all gone, and it's
*beautiful*.
Along with all the other visual tweaks in the latest build, TextMate is
really sweeping me away.
My dollars are going down today. New customer.
drew.
I like being able to start a new document from a template when you are
working in a project, but it would be nice to have that feature when
you are not working in a project.
- Juan
Not sure if this has been suggested before (or even if it already lies
hidden beneath the sleek exterior of TM and I'm just an idiot), but I
would like to be able to shift-click or alt-click on a fold to select
all contained text rather than expanding or collapsing the fold. This
can then be used for drag/drop, copy/cut and paste and, most
importantly for me, search and replace criteria, i.e. allowing me to
use search within selection to quickly do replaces within a single
defined function or other logical block.
A further possibility, which may be a step too far, is to use shift-alt
click to select multiple, non-contiguous, folds though I suspect that
this would be too confusing and not useful enough. Views?
Thanks again for a great product.
Cheers,
James
Yeah, that's what I figured, in fact the more I think about it, the less
simple it seems to become!
Its one of those classic software problems, in making something "smart"
there are always occasions when its not so smart. Perhaps Ill just get my
friend to adjust her typing style.
> "only surrounded by white space" doesn't work -- consider something
> like $foo[' which smart typing should match with '] automatically, yet
> neither the [ or ' are surrounded by white space.
>
> "only FOLLOWED by white space" is a bit better, but still doesn't work
>
> "only surrounded by white space or other smart typing pairs" is a lot
> better
>
> ... but I think in practice, it will take a lot of thinking before a
> real solution is found... no quick patch here :)
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
hi,
i found something quite annoying and possibly dangerous.....when
editing a script its very usual to delete a block just to see what
happens....but hitting the Apple-S seems to kill the undo list
sometime...
can't get this behavior repeated each time....
weird
The ruby regexp highlighting works much better now, but still gets
confused by something like:
%r{hel{2,10}o}
(The highlighting stops at the first "}").
Adding this:
{ name = "Arbitrary repetition"; match = "({\\d+(,\d+)?})";
foregroundColor = "#CCCC33"; }
to the Regular Expression II set in Ruby.plist appears to sort this.
Doesn't work if you have a regexp like this though:
%r{foo\{2,10}
Admittedly it's a bit of an extreme edge case, but if someone with
better regexp skillz feels like figuring it out...
(Note: I don't subscribe to this list, but do check the archives every
so often.)
- Peter
I just tried to delete a file by dragging it from the Project Drawer to
the Trash. It didn't work.
Is that an absent feature or an unrealistic expectation?
drew.
I don't know if TM now sucks less for germans but when I press
alt-shift-L to select the current line, I get a fl ligature character
instead :-p.
--
Sune.
"Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
http://cyanite.org -- Content follows ;-).
hi,
when scrolling horizontally a 'non wrapped' document the gutter scrolls
with the text.
has it been already mentioned ?
it's quite annoying cause scrolling to the right means loosing
bookmarks, folding and line numbers....
if it's not a bug , why such a design choice?
thanks
this text editor is becoming THE TEXT editor on macosx....way cool
There currently is no way to define foldingstopmarkers for these things.
Allan informed me that he is planning to rewrite the folding code so that
it is possible to fold these things.
Jeroen.
PS. Please don't use reply on a message to start a new thread. It messes
up the threading display in clients that support it.
Hi All,
I'm trying to create a new command to submit current file to W3C
html validator. This one does not work :
open http://validator.w3.org/check/$TM_FILEPATH
Of cours I could install the validator directly in MacOS X as
<http://developer.apple.com/internet/opensource/validator.html> but the
first way seemed easier.
Any idea?
Have a nice day,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
OK, I might be opening my mouth and removing all doubts about my
stupidity here, but I can't think of a solution to this problem, so
here goes..
I have a project in the following location: [
/Users/mats/Sites/projectName/ ]
In my template I use Custom Shell variables to auto-enter the relevant
info.
The "TM_FILEPATH" returns: [
/Volumes/WorkDisk/Users/mats/Sites/projectName/index.php ]
*but* I would prefer to have: [ /projectName/index.php ]
in other words remove [ /Volumes/WorkDisk/Users/mats/Sites ] from the
TM_FILEPATH or alternatively create a new shell variable with this
info only.
I guess that I would use some form of 'grep' and remove the bits that I
don't want, but I can't work out how.
Any help would be greatly appreciated.
Kind regards,
Mats
A few Find&Replace problems:
1. If you Replace and Find without a prior Find, it will just insert
the replace text at the carret. This could be a feature, but I think it
would be better if it just did a Find in that case instead.
2. When a window is outof focus, selection highlighting is dimmed. This
makes it _very_ hard to see where Find has found a particular word
since the Find window is the active one during F&R.
--
Sune.
"Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
http://cyanite.org -- Content follows ;-).
I'm on a 17" PB @ 1 GHz with 1 GB of RAM, running a few apps (mozilla, a
dozen iTerm, Mail.app, X, iTunes and TM). In my current project I have 9
open files (a few hundred lines of Ruby total) and switching from file to
file take a noticable amount of time. Am I the only one?
--
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
On Oct 19, 2004, at 12:11, Allan Odgaard wrote:
>> Here's a really wacky feature request: a way to specify an argument
>> to the command each time I run it. When I'm developing, sometimes I
>> want to run "make" then "make set-up-test-data" then "make test", or
>> do things in a different order.
>
> I think this will be possible when I introduce project-specific shell
> variables, as requested by Ivan (IIRC).
In a very spooky coincidence I was just writing an e-mail with this
feature request when the above appeared in my inbox. : )
So here's my take on project-specific shell variables. As a web
developer I have a number of current projects on the go in my ~Sites
folder. For each project I have a number of variables that are common
and would ideally be possible to collect and auto-enter into new files
or Macros.
Examples:
Project Dev URL: (local desktop URL)
Project Live URL:
ClientName:
Development Version:
etc etc.
So I was thinking that we could have the following section in the
.tmproj file, (which is a .plist file really):
<key>ProjectShellVariables</key>
<dict>
<key>TM_PROJECT_CLIENTNAME</key>
<string>MacroMates.</string>
<key>TM_PROJECT_VERSION</key>
<string>1.0</string>
<key>TM_PROJECT_LIVEURL</key>
<string>http://www.macromates.com/</string>
<key> TM_PROJECT_DEVURL</key>
<string>http://macromates.dev/</string>
</dict>
Later on there could be a GUI for this functionality as well - sort of
a copy of Macros/Snippets/Commands window -, but to begin with we could
open the .tmproj file in TM / Property List Editor and add/change our
own variables.
If these variables could be accessed in Snippets, Commands and when
creating new files as well it would be even greater.
Also if the .tmproj file could remember the toggled state of
groups/directories inside the project drawer when closing the project
it would be great as well.
Kind regards,
Mats
Hi,
There seems to be a small problem with registering files in projects. I
created a new file, dragged a folder to the project pane and created a
new 'normal' project folder. In that new folder I created a new file,
which then also shows up in the 'finder' folder. I end up with two
references to the same file in the project drawer and have to remove
either one by hand.
Another small thing is that commands that are run by TextMate are not
killed once I kill TextMate using Force Quit. Not sure whether this is a
problem of TextMate or from how job management works on OS X.
Jeroen.
Hello,
Is there any easy way to get the path of a file if you haven't opened
it in a project window?
Today I had to edit two csv files in different directories with the
same filename, copy parts between files. It got very confusing very
quickly!
Something in the statusbar perhaps, or a tooltip when you rest over the
window title?
Thanks,
Richard
It would be nice if I could specify a per-file-type command. The same
key stroke would run different commands for different file types. For
example, I'd like to run "rake" for Ruby files, "ant" for Java, etc.
Actually, I'd like TextMate to read my mind and figure out if I use
make or Ant for a particular project. Hmm...that gives me an idea for a
script: start at the current directory, looking for a makefile,
Rakefile, or Ant build.xml file. If none is found, look in the parent
directory. Lather. Rinse. Repeat. Execute whichever comes first. I
already have a script that looks for makefiles this way; it shouldn't
be too difficult to modify to look for the three kinds of files.
Here's a really wacky feature request: a way to specify an argument to
the command each time I run it. When I'm developing, sometimes I want
to run "make" then "make set-up-test-data" then "make test", or do
things in a different order.
Thanks for listening.
Jim
--
Jim Menard, jimm(a)io.com, http://www.io.com/~jimm/
"Indeed, an upsettingly large part of academia right now seems to be
working on bringing Java into the 1980s... sigh." -- Avi Bryant
A very handy little feature in jkEdit is the ability to jump to
functions/classes/methods from a dropdown at the top of the page, is
this viable? This along with the split views would keep my programmer
(and I'm sure a lot more JEdit users) VERY happy.
Kind Regards,
Jamie
I think the new tabs are looking nice, the darker colour for deselected tabs
is clearer, (although I did like the blue original ones), but Im not sure
that the truncation of the width at 100 pixels is a good thing, if there is
enough space in the header bar then Id like to see the names in full,
perhaps the names could get truncated when the bar gets full up?
The new tabs would work well with a bar ala BBEdit with function list and
stuff in it, perhaps even the status bar could make its way back up to the
top? (see attached mockup).
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Had another go at the tab thing tonight, trying to get it a little more
"aqua"... The result is attached.
Both Allan and myself have pretty much turned down the idea. Whilst I
think they look great, they're a little too small, and the X and dot
don't stand out enough... I'd probably have to start again with a new
(slightly larger) "red ball" (this one was borrowed from OmniWeb).
But these flat crosses are becoming a little bit of a de-facto OSX
standard in one form or another -- most tabbed apps are using them, so
I figure there's no need to rock the boat.
We're also ummming and ahhhhing about coloring the selected tab from
white to something else (like an Aqua blue), but my preference is
definitely white.
For what it's worth (Drew, et al), yes, I'd love to have the selected
tab bleed into the document, but Allan doesn't dig it, and it does have
some issues in regards to the colour of the document (eg Ruby's black)
which are a not exactly simple to work around. One day maybe :)
Justin
With regards to Allans comment about the window splitting, this would
be great as I have a couple of guys who won't move from JEdit because
of this one feature. They are doing PHP, XHTML and CSS.
Keep up the good work, this is turning out to be a cracking little
editor.
On 18 Oct 2004, at 20:30, textmate-request(a)lists.macromates.com wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/mailman/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: Window splitting? (Allan Odgaard)
> 2. Re: Shift Left, Shift Right (jeremy*pinnix)
> 3. Re: Left Padding (Allan Odgaard)
> 4. Leave the tabs as they were (James Hill)
> 5. Show Web Preview... options ( Jos? Campos )
> 6. Re: Re: folding idea (Ivan Pan)
> 7. Re: TM 1.0.1b7: Switching Tabs issues (Allan Odgaard)
> 8. Re: tabs, tabs, tabs (Andrew Green)
> 9. Re: Couple little gnats (Phil Aaronson)
> 10. Re: suggestion: Grouping the commands/snippets (Raena Armitage)
> 11. Re: b7 project drawer visuals (jeremy*pinnix)
>
> From: Allan Odgaard <allan(a)macromates.com>
> Date: 18 October 2004 19:19:49 BST
> To: TM Users <textmate(a)lists.macromates.com>, Ivan Pan
> <ifanpan(a)gmail.com>
> Cc: Subject: Re: [TextMate] Window splitting?
> Reply-To: TM Users <textmate(a)lists.macromates.com>
>
>
> On 18. Oct 2004, at 16:47, Ivan Pan wrote:
>
>> Just a suggestion. Maybe lay out a roadmap or a check list, so we
>> won't keep nagging you about something that's already in the work.
>
> I have considered that, but I fear that it may actually lead to the
> opposite situation, also I really cannot make any estimates to when
> what will happen -- people should consider, “is this a common editor
> feature?” if the answer is yes, most likely I know about it and
> eventually plan to get around to it ;)
>
> For now there is the feature requests in the wiki -- I do read these,
> but currently do not comment on when what is planned.
>
>> It's already a great text editor and certainly an editor that would
>> make BBEdit worry. Keep up the good work.
>
> That's another reason, don't want to give them too much insight in
> planned features, as some stuff is sort of "new" :)
>
>
> Kind regards Allan
>
>
>
>
>
> From: jeremy*pinnix <jpinnix(a)pixelgrazer.com>
> Date: 18 October 2004 19:22:50 BST
> To: TM Users <textmate(a)lists.macromates.com>
> Subject: Re: [TextMate] Shift Left, Shift Right
> Reply-To: TM Users <textmate(a)lists.macromates.com>
>
>
> Option-Tab for shifting to the right
> Shift-Option-Tab for shifting to the left
>
> On Oct 18, 2004, at 11:05 AM, Michael Gregoire wrote:
>
>> Ok, there is one nagging problem I've been having that no one has
>> seemed to bring up yet. What is the arrow symbol (for Shift Left and
>> Shift Right) equivalent to on my powerbook? I've checked the Mac help
>> and the symbol isn't even listed in it's Special Key guide. I've
>> attached a screenshot of the help page, as you can see it's not
>> there. I've tried every combination of keys that I can think of, but
>> nothing works. I have to resort to choosing it from the menu.
>>
>> Thanks
>> Mike
>>
>>
>>
>>
>>
>> !DSPAM:41740bd42504201718993!
>> <Picture 3.pdf>
>>
>>
>>
>>
>> !DSPAM:41740bd42504201718993!
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/mailman/listinfo/textmate
>>
>>
>> !DSPAM:41740bd42504201718993!
>
>
>
>
>
> From: Allan Odgaard <allan(a)macromates.com>
> Date: 18 October 2004 19:23:57 BST
> To: TM Users <textmate(a)lists.macromates.com>
> Subject: Re: [TextMate] Left Padding
> Reply-To: TM Users <textmate(a)lists.macromates.com>
>
>
> On 18. Oct 2004, at 16:01, Michael Sheets wrote:
>
>>> There already is 2 pixels?!?
>> Sorry, I meant 2-3 more, not total. If the small padding is so good
>> why is there more on the top? ;)
>
> That's a bug! ;)
>
> Well, I think I initially did 6 pixels on each of the sides, but when
> I added gutter-stuff, I made it 2 pixels between folding-markers and
> end of gutter (and/or line numbers etc.), so I removed some to make it
> symmetrical.
>
> I don't like too much padding, e.g. NSTextView seems to be using 1.5
> times the width of a character or so, and that makes it hard for me to
> see how much stuff is indented.
>
> But I can probably be persuaded to add two more pixels.
>
>
> Kind regards Allan
>
>
>
>
>
> From: James Hill <jamie(a)soniciq.com>
> Date: 18 October 2004 19:28:19 BST
> To: textmate(a)lists.macromates.com
> Subject: [TextMate] Leave the tabs as they were
> Reply-To: TM Users <textmate(a)lists.macromates.com>
>
>
> I thing the tabs should be as they were in the first release. Clean
> and just fine. Too many programs today end up with fancy bevels etc
> all over the place. Keep it clean and lightweight I say.
>
> On 18 Oct 2004, at 19:18, 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/mailman/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: tabs, tabs, tabs (C J Silverio)
>>
>> From: C J Silverio <ceej(a)spies.com>
>> Date: 18 October 2004 19:08:57 BST
>> To: TM Users <textmate(a)lists.macromates.com>
>> Subject: Re: [TextMate] tabs, tabs, tabs
>> Reply-To: TM Users <textmate(a)lists.macromates.com>
>>
>>
>> On Oct 18, 2004, at 6:02 AM, Justin French wrote:
>>> For what it's worth (Drew, et al), yes, I'd love to have the
>>> selected tab bleed into the document, but Allan doesn't dig it, and
>>> it does have some issues in regards to the colour of the document
>>> (eg Ruby's black) which are a not exactly simple to work around.
>>> One day maybe :)
>>
>> You might find something to use in Camino's take:
>> <CaminoSnap001.png>
>>
>> The selected tab bleeds into a stripe that goes across the window,
>> but is still separate from the document display. This helps indicate
>> "this tab is live", but doesn't war with the rendered page.
>>
>> --ceej
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/mailman/listinfo/textmate
>>
>>
>
> From: jose.campos+tm(a)galacsys.com (José Campos)
> Date: 18 October 2004 16:44:07 BST
> To: textmate(a)lists.macromates.com (TM Users)
> Subject: [TextMate] Show Web Preview... options
> Reply-To: TM Users <textmate(a)lists.macromates.com>
>
>
> Hi,
>
> "Show Web Preview" is very nice but...
>
> + on a computer where PHP is enabled,
> + for files that are located somewhere in the ~/Sites/ folder,
> + instead of opening them as :
> "file:///Users/jo/Sites/path/to/file.php"
> + it would be nicer to open them as :
> "http://127.0.0.1/~jo/Sites/path/to/file.php"
>
> ...so that the PHP code could be fully seen
>
> Have a nice day,
>
> --
> Jo <W:00°04'37" ;
> N:47°15'36">
>
> 1....'....12.....'....24.....'....36.....'....48.....'....60.....'....7
> 2
>
>
>
>
> From: Ivan Pan <ifanpan(a)gmail.com>
> Date: 18 October 2004 15:34:56 BST
> To: TM Users <textmate(a)lists.macromates.com>
> Subject: Re: [TextMate] Re: folding idea
> Reply-To: Ivan Pan <ifanpan(a)gmail.com>, TM Users
> <textmate(a)lists.macromates.com>
>
>
> On Mon, 18 Oct 2004 13:51:11 +0100, Chris Jenkins
> <chrisjenkins(a)mac.com> wrote:
>> Here's a screenshot. The vertical lines join identical levels of
>> hierarchy
>> and should always be paired with a set of folding markers in the
>> gutter (I
>> changed the folding icons), perhaps the joining lines could in some
>> way also
>> be clickable? Im not sure about this however, I principally see it as
>> a way
>> of identifying which close bracket belongs to which opening bracket
>> over
>> long pieces of code that cant all fit on screen at a time.
>
> 1. tab icons: more visually intuitive that what we have, though I am
> fine with what we have.
> 2. connector's subbranch: I like the idea to have multiple folding
> markers within the same indentation.
> 3. explicit folding markers: I want to be able to clear some of the
> markers in the gutter by manually setting the marking. I sometimes
> have too many markers together.
>
> ip
>
>
>
>
> From: Allan Odgaard <allan(a)macromates.com>
> Date: 18 October 2004 19:44:00 BST
> To: TM Users <textmate(a)lists.macromates.com>
> Subject: Re: [TextMate] TM 1.0.1b7: Switching Tabs issues
> Reply-To: TM Users <textmate(a)lists.macromates.com>
>
>
> On 18. Oct 2004, at 12:49, Mats Persson wrote:
>
>> When you switch between tabs (open docs) your window moves to centre
>> the current line where the cursor happens to be. Although I can't
>> swear that this was not the case before, I had not noticed it, but
>> now I do, and it is a bit irritating.
>
> It has always been the case ;) I realize that not all like it, since
> some e.g. scroll w/o moving the caret. It'll be improved down the
> road.
>
>
> Kind regards Allan
>
>
>
>
>
> From: Andrew Green <andrew(a)article7.co.uk>
> Date: 18 October 2004 14:32:23 BST
> To: TM Users <textmate(a)lists.macromates.com>
> Subject: Re: [TextMate] tabs, tabs, tabs
> Reply-To: TM Users <textmate(a)lists.macromates.com>
>
>
> On Mon, 18 Oct 2004 23:02:35 +1000, Justin French wrote:
>
>> For what it's worth (Drew, et al), yes, I'd love to have the selected
>> tab bleed into the document, but Allan doesn't dig it, and it does
>> have some issues in regards to the colour of the document (eg Ruby's
>> black) which are a not exactly simple to work around.
>
> I think the reason this seems necessary is the way that the tabs adjoin
> the document area. You'll notice that Safari puts the tabs the other
> way up, so that they adjoin the toolbar instead.
>
> Admittedly, TM doesn't have a toolbar, but I do wonder if the tabs
> would work the other way up anyway, adjoining the window title bar
> rather than the document area. Sadly, no mockup is forthcoming from me
> on this!
>
> It could be a really bad idea, of course. I'm just wondering.
>
> Cheers,
> Andrew.
> --
> ::
> article seven Andrew Green
> automatic internet andrew(a)article7.co.uk | www.article7.co.uk
>
>
>
>
> From: Phil Aaronson <phil(a)hinkty.com>
> Date: 18 October 2004 19:53:30 BST
> To: TM Users <textmate(a)lists.macromates.com>
> Subject: Re: [TextMate] Couple little gnats
> Reply-To: TM Users <textmate(a)lists.macromates.com>
>
>
>
> On Oct 18, 2004, at 12:35 AM, Jeroen wrote:
>
>> Phil Aaronson wrote:
>>> Sure, the output is plain text. I'm there. But TextMate doesn't
>>> exist in a vacuum. We all use word processors. Take vim (I'm not a
>>> BBEdit user which may be adding to my confusion here), if I fold
>>> some text in vim, say ':.,.+5 fo' to fold the next 5 lines under the
>>> cursor. Undo ('u') undoes the fold. Its what I've been trained to
>>> expect.
>>
>> You're right, I thought Vim did not put folding on the undo stack,
>> but it does indeed.
>
> For the record, in vim, undo also undoes text selection.
>
>> However, I still don't think it should be put on the undo stack,
>> simply because it doesn't have anything to do with the text itself.
>
> I'm getting that impression :) Not that this is a big deal, but most
> apps I use seem to break it down along command vs. setting line, not
> content vs. representation of content. That said a command vs. setting
> undo is a little more difficult line to walk with TextMate than a lot
> of other apps.
>
>> And word processors != text editors, there's a world of difference
>> between them.
>
> Fair enough.
>
> Phil
>
>
>
>
>
> From: Raena Armitage <raena(a)raena.net>
> Date: 18 October 2004 16:57:22 BST
> To: TM Users <textmate(a)lists.macromates.com>
> Subject: Re: [TextMate] suggestion: Grouping the commands/snippets
> Reply-To: TM Users <textmate(a)lists.macromates.com>
>
>
> On 18 Oct 2004, at 8:28 pm, Allan Odgaard wrote:
>
>> Currently there's no way to group (or drag-sort) the items. But it's
>> something which'll be introduced real soon now! :)
>>
>> Though I'm still not entirely sure how to do it.
>
> Outline view would make the most sense to me as a user.
>
> José Campos adds:
>> Drawers, just like the project drawer would be nice, just add
>> radio-buttons in the tab bar to select which drawer to open
>> (Project-Command-Macros-Snippets-Clipboard history-Templates)
>
> ...that's a lot of things, and I personally wouldn't feel that the
> project area (where documents live) is an appropriate place to also
> find bundly things -- although I wouldn't find it strange to find
> templates there.
>
> Perhaps the contextual menu could accommodate something, though?
> Currently it has 'Filter through Command,' but perhaps some oft-used
> snippets wouldn't go astray here?
>
>
>
>
> From: jeremy*pinnix <jpinnix(a)pixelgrazer.com>
> Date: 18 October 2004 14:26:39 BST
> To: TM Users <textmate(a)lists.macromates.com>
> Subject: Re: [TextMate] b7 project drawer visuals
> Reply-To: TM Users <textmate(a)lists.macromates.com>
>
>
> I would also prefer they not be bold. The folder icon is sufficient.
>
> On Oct 18, 2004, at 3:24 AM, Johan Sörensen wrote:
>
>> Hi,
>>
>> I know I'm being anal about this, but then again I am a mac user, but
>> I'm not really sure I like the bold for the folders in the
>> projectdrawer. They are already plenty visually marked with the
>> standard mac os folder icon, no need to bold up the text, in fact,
>> this is probably the first application where I've seen this (afaik).
>> I'm also not too sure about the file-texts being ~80% black, but that
>> I can live with, it's just the boldness of the folders that's a little
>> too much!
>>
>> If you do want them to be like that, and I'm the only one bothered by
>> it, would it be possible for a way to turn them off? (preferably with
>> a defaults write)
>>
>> -- johan
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/mailman/listinfo/textmate
>>
>> !DSPAM:41738104679981142865824!
>>
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
>
> The CSS validator uses a different form variable and a different URL.
> This seems to work (Gmail is going to break this up into multiple
> lines ... be sure it's all one line in TextMate):
>
> curl -o /tmp/`id -u`/results.html -F file=@$TM_FILEPATH
> http://jigsaw.w3.org/css-validator/validator && open /tmp/`id
> -u`/results.html
OK, very nice, it works fine :)
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
Hi All,
Just a couple little usability gnats (beta 6):
1. Cutting and pasting of code pretty much always doubles the indent.
Which drives us newbies to drink for a while until we finally discover
the indent paste behavior that you can set. Does anyone have this on?
Seems like turning it off would make the better default behavior. It
would have saved me several days of swearing under my breath each time
:)
2. I noticed that the code folding actions are not in the undo stack.
Sort of a bummer. I've caught myself trying to undo a fold only to have
some change I made previous to that be undone.
Thanks,
Phil
What shortcut does a circled question mark point to? I haven't
encountered it before.. I could redefine it, but I'm just curious :-)
It shows up with the search commands
Hiding then showing the status bar can move the insertion cursor off
the bottom of the displayed document.
To reproduce:
Scroll to the end of a document, put the insertion cursor at the of a
document.
Hide Status Bar
Show Status bar
I guess it depends on where you want the status bar to 'steal its
display space. I would think you would want to avoid moving the
document which you currently do. That means 'stealing' from the top of
the display (suggested new behavior and the inverse of of what Hide
Status Bar does)). However, if the cursor is in the region to be
stolen, you should probably push it down (current behavior).
This is a just a little tip for folks who run their life in TextMate
(as I have begun to).
I have a single TextMate project in which I keep and maintain all my
todo lists, project files, reference notes, etc. I'm a bit of a
"[Getting Things Done][1]" nerd, so I admit to spending a lot of time
fiddling around with lists. :)
I've evolved a standard header that I use for most of my txt documents
that is similar to this example from my "Next Actions" (aka "to-do")
list :
## Next Actions
* _file_: "next.txt"
* _purpose_: list of next actions needed for projects
* _meta_: todo, next actions, task
Nothing too spectacular, but the little metadata line has really
started to come in handy; I now can do a "`Find in Project`" on all my
files and pick up any relevant hits--even when the term is not
expressly mentioned in a given line of text. It's a great way to bubble
up hidden content--even when it's many layers deep in the Finder.
The other, related tip, which I've mentioned before on [my site][2] is
to try and standardize your vocabulary for TODOs or anything else
you'll want to locate in a pile. I try to begin all of my TODOs with a
verb followed by a fairly detailed phrase. E.g. :
Buy propane at Albertson's
Google the best way to run DynDNS on a Linksys; how to retain links?
Email John about his site updates for Friday
This becomes really useful for GREPing a list of related topics and
even generating a new one.
TextMate has really made me want to hone my modest shell skills to
learn what it can do, because it seems pretty limitless. I'm just
starting to install a few commands that will concatenate related files
and generate these kinds of searches on the fly. I'd love to hear how
other folks are using TM and the shell for tasks outside development,
web design, etc. There's an awful of of power under that hood.
Best,
mm
[1]: http://davidco.com (David Allen Site: Home of GTD, etc.)
[2]: http://43folders.com (OS X and productivity stuff)
Out of idle curiosity (and because I use subversion a lot), how far down
the list is the proposed svn integration?
I know it's early days so I'm not nagging for it already, but I just
wondered ;)
drew.
Here's a screenshot. The vertical lines join identical levels of hierarchy
and should always be paired with a set of folding markers in the gutter (I
changed the folding icons), perhaps the joining lines could in some way also
be clickable? Im not sure about this however, I principally see it as a way
of identifying which close bracket belongs to which opening bracket over
long pieces of code that cant all fit on screen at a time.
Anyone got any other ideas?
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi Allan,
Not sure this is a bug or some hidden feature, so therefore the posting
here.
Just played with b7 for a few seconds, and love the improvements
overall, but found this irritation:
When you switch between tabs (open docs) your window moves to centre
the current line where the cursor happens to be. Although I can't
swear that this was not the case before, I had not noticed it, but now
I do, and it is a bit irritating.
Is there some setting hidden away somewhere or just one of those things
that will be changed in b8 ??
Hope I made myself clear ??
Kind regards,
Mats
I thing the tabs should be as they were in the first release. Clean and
just fine. Too many programs today end up with fancy bevels etc all
over the place. Keep it clean and lightweight I say.
On 18 Oct 2004, at 19:18, 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/mailman/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: tabs, tabs, tabs (C J Silverio)
>
> From: C J Silverio <ceej(a)spies.com>
> Date: 18 October 2004 19:08:57 BST
> To: TM Users <textmate(a)lists.macromates.com>
> Subject: Re: [TextMate] tabs, tabs, tabs
> Reply-To: TM Users <textmate(a)lists.macromates.com>
>
>
> On Oct 18, 2004, at 6:02 AM, Justin French wrote:
>> For what it's worth (Drew, et al), yes, I'd love to have the selected
>> tab bleed into the document, but Allan doesn't dig it, and it does
>> have some issues in regards to the colour of the document (eg Ruby's
>> black) which are a not exactly simple to work around. One day maybe
>> :)
>
> You might find something to use in Camino's take:
> <CaminoSnap001.png>
>
> The selected tab bleeds into a stripe that goes across the window,
> but is still separate from the document display. This helps indicate
> "this tab is live", but doesn't war with the rendered page.
>
> --ceej
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
Could there be some padding on the left side of the text? It's so
close, kind of distracting. 2-3 pixels maybe, or just even it up with
the padding on the top.
Ok, there is one nagging problem I've been having that no one has
seemed to bring up yet. What is the arrow symbol (for Shift Left and
Shift Right) equivalent to on my powerbook? I've checked the Mac help
and the symbol isn't even listed in it's Special Key guide. I've
attached a screenshot of the help page, as you can see it's not there.
I've tried every combination of keys that I can think of, but nothing
works. I have to resort to choosing it from the menu.
Thanks
Mike
Title says it all, is this a planned feature? You know, a single window
split into 2 or more different views of the same document?
Actually what would also be very cool, would be the idea of 2 panes within a
single window showing *different* documents, but I cant quite see how the UI
could handle it elegantly (without repeating the tabs), other editors have
tried this but it usually ends up looking rather confusing.
Probably someone will reply and tell me that its in the current version and
I just cant see it!
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Allan,
That's good to hear, I didn't mean to be pushy, the product is fantastic and
you deserve a lot of recognition for not only making the thing, but for
bothering to listen so closely to the community, there's many a company that
doesn't. I haven't been this excited about a new product in a long time!
Regards
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
I don't know if anyone has mentioned this yet, but I'll throw it out
there --
My collections of commands and snippets are both getting a little long,
and as I add more I can see it becoming a bit of a task to pick them
from a popdown menu. Is it possible to group these somehow, so that we
can choose from submenus instead of the super-long scrolling menu from
hell?
I know that using the trigger+tab shortcuts sort of obviates the need
for this in the snippets, but I'm still getting used to the idea of
using the triggers and need to lean on the menu -- plus I can see it
being a pest for the commmands.
thanks,
Raena
Hi,
"Show Web Preview" is very nice but...
+ on a computer where PHP is enabled,
+ for files that are located somewhere in the ~/Sites/ folder,
+ instead of opening them as :
"file:///Users/jo/Sites/path/to/file.php"
+ it would be nicer to open them as :
"http://127.0.0.1/~jo/Sites/path/to/file.php"
...so that the PHP code could be fully seen
Have a nice day,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
I don't know if this only apply to v1.0.1b7. When in single window
mode, the status bar is on top. When in project management mode, the
status bar is on the bottom.
Can we have an unified position for status bar, on the bottom for
example? Or is there a reason for the alternating positions?
A cool addition to the folding would be to draw some form of connector
between the start of the fold and the end, not in the margin, but actually
within the code, then not only do you get an indication of which folding
markers belong together, you also get a nice indication of where ifs and
loops end, which if they are very long is quite tricky, (even if the
indenting is correct). The Actionscript editor SEPY does something like
this, but it runs like crap on the Mac.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi,
I know I'm being anal about this, but then again I am a mac user, but
I'm not really sure I like the bold for the folders in the
projectdrawer. They are already plenty visually marked with the
standard mac os folder icon, no need to bold up the text, in fact,
this is probably the first application where I've seen this (afaik).
I'm also not too sure about the file-texts being ~80% black, but that
I can live with, it's just the boldness of the folders that's a little
too much!
If you do want them to be like that, and I'm the only one bothered by
it, would it be possible for a way to turn them off? (preferably with
a defaults write)
-- johan
I've now spent a couple of weekends writing code with TextMate, which
is I
think enough time to understand its way of working. Some of the things
I like
most about it come from the language syntax bundles, which are really
powerful and flexible. That's a great feature and a real selling point.
Typing close characters for me: nice. Auto-completion: nice. C++ class
templates: nice. I like the spare look, no stinkin' toolbars cluttering
stuff up and distracting from my all-important data.
Love the new tab look in b7. (Maybe a tad darker to set them off more
from their background? Eh, maybe not.) Also love the sharp new approach
to drawing the selection. Much more readable!
Inevitably, I have suggestions. Users, they're so annoying that way!
Most of my suggestions have to do with searching. TextMate doesn't feel
quite right, yet.
(I've scanned a bunch of the previous messages to the list, but not
enough to be sure these weren't discussed already. Apologies if I'm
repeating the past.)
- Keyboard accelerator for "replace and find next". For the love
of god, Montresor!
- "Find the selection" action, with keyboard accelerator. (Yes, it can
be macroed, but why should I have to macro such an important action?)
- Scroll the text to keep the cursor in the "hot zone" when possible.
E.g., if you have to scroll to make the result of a search visible,
scroll enough to put the new selection in the middle of the screen.
Repeated find-nexts though large files always seem to end up for me
with the selection on the bottom-most line, with no context visible.
Yuck!
- For extra points, place the selection where it won't be hidden by
the Find dialog, which is often covering up the text. (But you're
going
to add a replace-and-find-next accelerator, so the Find dialog won't
be shown so often and this won't matter as much. Right?)
- Bigger fields in the find/replace dialog, please! Try copying some
text that spans multiple lines and pasting that into the find field.
Hard to deal with, yes?
- Whole word matching option, please, controlled by a checkbox on the
find
dialog. I often want this without wanting the bother of writing a
regular expression every time.
- Multi-file search outside of project groups, please! Minimal
implementation searches all the files in a particular directory with
optional descent into subdirectories. This is a switch-blocker for me,
and I bet it would make lots of other people happy.
More controversially:
You're probably sick of hearing this, but please reconsider adding
an app preferences dialog. It will do two things for you:
- It will clear out rarely-changed items that are currently
cluttering your menus.
- It will make clear which preferences are app-wide, and which
ones are settings for the current document.
- Bonus: your app will feel more Mac-like than it does now.
Remember, it does me no good to have easy access to stuff I set once,
then never ever change again.
As I think about that suggestion and fiddle with things, I begin to
realize
that TextMate doesn't have per-document settings, and that the
appearance of
having them is a bug. For instance, open two documents. Turn on text
wrapping
in one. Note that only the selected document at the time you change the
setting is affected. This leads you to believe that wrapping is a
document
setting. But if you quit TextMate and restart, suddenly all documents
are
getting text-wrapped. Whoops.
I would suggest that some choices should be saved with the document, as
part
of its state (cursor position, selection, wrap, font choice, etc). Those
settings belong in menus. Consider making anything you expect the user
to
change often part of the document state. Any setting that affects all
documents probably belongs in a preference dialog, tucked out of the
way.
I can argue this the other way, that adding document state is more
trouble than it's worth. BBEdit does it, and I like it. Soft line wrap
in
particular is something that I definitely want on some documents and
definitely don't want on others. Worth thinking about, anyway.
Boy, I got longwinded. Hope at least some of this is helpful.
Thanks for making such a solid editor, and hope you enjoy that new G5!
--ceej
hi,
sorry to say that but new tabs doesn't pop to the eye like the old
ones...with the old ones the selected one was instantly seen because it
was blue....
what's your opinion about that?
olivier
Hi there,
My fingers are itching to get the latest beta, as everyone raves
about, but I can't seem to download it. TM itself says "Remote file or
URL was invalid" when checking from within the app, and I can't
contact the macromates website either.
Could some kind soul make 1.01b7 available somewhere, pretty please?
Oh, and Allan et al. TM is the first editor I ever paid for (been
using a mix of vim, SEE, and Smultron so far).
Cheers,
Jonas
A few more suggestions on minor issues:
- Chunk up undo actions. E.g., undo shouldn't undo a bunch of typing
by single letters, but instead by the whole typing episode.
- When I'm selecting big ranges of text, and I've moved the mouse to
or beyond the top or bottom of the page, scroll to reveal more text
and extend the selection.
- Selecting lines is funky with lines that consist of only a newline.
For instance, triple-click to select a line that's part of a block,
then sweep the cursor down. The selection will "stick" above the first
blank line, then snap down to grab that and the first non-empty line
as
you sweep downward. What if I want to grab a block with its trailing
whitespace and move the whole thing? I can't.
- Tiny bug: To reproduce this, cut or delete some selected text, then
undo the cut. The restored text is selected, good. Now move the cursor
with an arrow key: doesn't move as expected! It seems to be offsetting
from the middle of the selection, instead of from the bounds. This
happens
if you make a selection and copy it, as well.
--ceej
TM 1.0.1 B7 (which I just downloaded) feels really nice. The new tabs
I'm experimenting with feel and look nice, the added preferences are
great, and everything just feels a lot more refined.
SO MANY of the "gripes" and "deal breakers" mentioned on this list have
been nailed by Allan, and the app feels much better for it.
Applause.
Justin
Here's an idea (stolen from BBEdit):
A dialog of some sort that appears when running long shell scripts would be
very useful, I have one that runs a compiler, which can take several minutes
and I might want to cancel it rather than wait for the script to timeout.
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
To what extent is TM applescriptable?
Is it at least possible to somehow replicate this chunk of script re TM?
tell application "BBEdit"
set theSelection to the contents of selection
end tell
I'm wanting to use TM with the PHP Function Index from artis:
http://www.artissoftware.com/phpfi/
bongoman
Is it possible to get more encodings in the "Open with encoding..." entry
in the menu please? The system's list is pretty long (maybe too long) but
having at least Latin9 (ISO-8859-15) would be nice for us Europeans :-)
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
Hello,
When reindenting code, I usually doubleclick on the whitespace to the
left on the first word on the line. I'm expecting the whitespace only
to get highlighted, TextMate highlights all the whitespace and the
first word. Very annoying!
//johan
Allan,
I've found a bug with mirror typing in that I seem to be able to get stuck
in mirror typing mode. It seems related to how many tab completions there
are, if I tab all the way through them and then press tab one more time then
mirror typing is cancelled, but if I ignore one of them then the file in
question gets stuck with mirror typing on and some very odd things happen
(like multiple copies of whatever text Im typing appearing on the same
line). Once in this weird mode the line upon which the mirror typing was
initially active seems to remain in this mode, other lines in the same file
are fine, hitting tab again seems to kill it off.
I reckon there are a couple of possible solutions to this seeing as how it
is difficult to tell when the user wants to abandon mirror mode and return
to normal, you could use a key press to cancel the mode, like escape for
example, and you could supplement that with some form of user feedback about
which mode you are in, an icon in the status bar or something would be
useful, or I guess you could just improve your rules for automatically
figuring out which mode the user is in.
Anyway, just thought you should know, keep up the good work, the betas are
looking great!
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
First: I´m delighted and impressed with the frequency of
beta-releases, A joy checking for updates every night :)
On Beta6 it was really nice to see the interface improvements. Border
on the gutter, and a elegant wrap-line really, makes a difference.. So
much so, that I instantly made replacements for the folding widgets.
Based on my previously released mock-up; The arrow-directions are more
visible, and the ellipsis got a minor tweak to work better on dark
backgrounds. It still looks a bit messy when a document has many
foldings, so I included a set of light arrows which I propose to use
on level 2 and below.
Differencing background-color of the folding column from the rest of
the gutter, would also be nice.. I believe :)
My files are available on the following address:
http://homepage.mac.com/hpeikemo/AlternateFolding_1710.zip
hp.
Is there any way to disable the double click open thing?
Since double click the the finder-way to open files, Whem I want to
open a file (with TM), I often double click the drawer items instead of
single clicking them.
With the new "open with finder" feature/bug, I end up launching
subethaedit and jedit accidently all the time.
I want to be able to insert separators in the project drawer. For
example, when I create a rails project, I have the following roots:
- controllers
- models
- helpers
- views
- javascripts
- stylesheets
- rails
I want to use separators to be able to view them as follows:
- controllers
- models
- helpers
- views
-----
- javascripts
- stylesheets
-----
- rails
I guess I could use groups or something, but I prefer to avoid nesting,
otherwise I'd just do it with the rails dir and nothing more.
I'll most likely be releasing 1.0.1 later today, and I'll try to ship
it with all user submitted bundles.
So if you've made changes or you have something you haven't published,
please add it to the wiki [1]. When there are multiple bundles for the
same language, be sure to add comments to why (or merge them ;) ) so
that I can quickly get an overview of this stuff.
I'm planning to include all syntax highlight files in the
"SharedSupport" folder of TextMate, so these will be available
out-of-the-box. And then I'm also adding an external "support" folder
to the disk image, where bundles are located which contain more than
just syntax highlight files, which the user can then double click to
get that extra support (TextMate will merge the default bundle with
syntaxes with the installed bundle that contain the added
functionality).
I'd hoped 1.0.1 would have had better bundle management from within
TextMate, but this will take a little more time, and I think it's about
time the 1.0.1 update was released -- this also means that some of the
other things some of you may have been expecting for 1.0.1 didn't make
it. Don't worry, I do write down every suggestion I get, so there's no
need to re-send your feedback, at least not if I replied to it.
Kind regards Allan
[1] http://wiki.macromates.com/
Create a file test.as, open this in TextMate.
Type: if (x = y)
After typing y, using the mouse to move the caret outside of the
closing bracket hangs TextMate. This doesn't happen if you use the
right arrow key.
(This may only happen with my ActionScript bundle installed: haven't
tested this with any of the other ones).
On 16. Oct 2004, at 20:15, Max wrote:
> I'm developing a web application in PHP. Is there any chance to work
> on a php page, and then see if it works through
> http://localhost/mypage with a command? Just like F12 from
> Dreamweaver... Or do I have to switch to Safari and click on the
> bookmark I made?
I don't know what Dreamweaver does on F12, but you can do a command
like this:
open `echo $TM_FILEPATH | sed
"s|.*/$USER/Sites/\(.*\)|http://localhost/~$USER/\1|"`
Before running command: probably save ;)
Input/output: none/discard
If you are editing a page named:
/Users/max/Sites/project/page.php
It will open Safari (if default browser) and point it to:
http://localhost/~max/project/page.php
And you can of course assign F12 to this command.
Kind regards Allan
P.S. Generally send these type of questions to the mailing list:
http://lists.macromates.com/mailman/listinfo/textmate
Hi,
I've put money where my mouth is and created a PList bundle:
http://www.os3.nl/~jeroen/tm/plist_tm.tar.gz
It contains a syntax highlighting file for syntax highlighting ASCII-PList
files and a template file (with some comments and pointers).
Jeroen.
Hi,
I'm having a bit of a trouble to match a '.' which is part of a string
surrounded by " ".
I've tried: (?=\".*)\.(?=.*\".*$), but this doesn't seem to work.
Can anyone please help out?
Regards, Jeroen.
Hi,
Could the path in the file shell variables (e.g. TM_SELECTED_FILE) be
surrounded by "" if necessary? Currently it doesn't work if there are
spaces in the path.
Jeroen.
I just did a beta 5 build, this has preliminary support for the
discussed drag commands (although the GUI editor didn't make it to beta
5).
I'm thinking about calling them "Anchors", any objections?
I unfortunately broke reformatting in beta 4 (and didn't make a fix in
beta 5), the problem is that paragraph selection in soft wrap was
changed, so it won't find the paragraph automatically (if soft wrap is
enabled). Either select it manually or disable soft wrap (cmd-option-w)
temporarily. Slightly related is also that when at the begin/end of a
paragraph, selecting the paragraph selects too much.
Kind regards Allan
Hi,
We can, in a project, create a new file using a template. We can of
course customize/create new template(s), but as they are located in the
application packet, we have to re-do the job every time the application
is upgraded (every night in fact:).
Could we have customized templates stored in :
~/Library/Application Support/TextMate/Bundles/Custom.tmbundles,
side-by-side with Macros and Snippets?
Or could we save "template" files "as stationery"
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
Hi All,
(Is there|Will there be) an option in TM "Save as..." dialog box to
set document's creator?
i.e. when we edit an old BBEdit *.txt file, change encoding and line
ends through the "Save as..." dialog box, we also could change creator
to "TxMt" (or choose any application in a scrolling menu)
(in fact, as what happens in BBEdit "Save..." menu)
Have a nice day,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72