Hello Mates,
Folding is probably what drives me with open arms to you, guys.
If I'm getting it to work, that is.
A pathological case is this vhdl construct:
loop
do_something;
exit when signal='1';
do_something_more;
end loop;
My first attempt looks like this (just longer):
foldingStartMarker = "(?i:(loop|case|if))";
foldingStopMarker = "(?i:end)";
But this does not work, because the "loop" also matches the stopMarker!
TextMate will not mark the end line at all, and get quite screwed up
in building its folds. The same for "end if", "end case", to name a few.
Any reasonable ideas how to write a foldingStartMarker pattern
that will _not_ trigger on the final line?
Peter
Hey all,
I was wondering if there was a way to setup different file types to
use the "Tab -> space" conversion feature, and others... not.
I.e. for Ruby on Rails code (.rb and possibly .rhtml), I'd like to
have Tabs automatically get converted to spaces.
But for .txt files and other file types where I would like to keep
tabs... is there a way to do this somehow?
Just finally registered my copy of TextMate... and, knowing how
incredibly versatile it is, I'm just figuring there's got to be a way
to pull this off somehow (w/o making it a new feature, which, imho
would be nice too!) =)
Shanti
To test what this could look like you can use a font size of like 5
in prefs.
After you zoom in, it won't let you zoom back out past 9.
If we (I, really... who cares about anyone else :D ) could zoom out
past 9, we could get a good visual overview of the whole document.
Not a big change, but it'd be handy to me atleast.
1.0b4::
1. Added a preference setting to handle the snippet output
behaviour, so that it can handle both my style
( spaces_within_brackets ) and the PEAR standard style
(no_spaces_within_brackets) styles on the fly independent of the
stored snippet format.
2. Minor change to notify users of the documentation issues (no
local documentation or internet access = empty documentation)
You can find out more information about PHPCC 1.0b4 from here
[ http://www.imediatec.co.uk/tm/phpcc/ ]
or the download it directly from this link [ http://
www.imediatec.co.uk/tm/phpcc/PHPCodeCompletion-1.0b4.zip ]
Please keep me informed of the ideas, problems and so on.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
I think the scope for the symbol list preferences of the Latex bundle
ought to be set to "text.latex entity.name.section"
The default of "text.latex entity.name" shows every "\item” in the
"Go to symbol ..." (cmd-shift-t) list.
Berndt
Sorry if this is Obvious Question #37... but I swear TM used to have
Rails-specific syntax highlighting and that disappeared (is this
possible?) in one of the recent betas or something. When I look at my
Language selection, I only see Ruby.
Am I crazy? Wasn't there a Rails one? Can I just grab that from
somewhere? It seemed to highlight more detailed and specific syntax
than Ruby does....
Thanks,
Raymond
I saw there was a ruby script posted to the list a while ago for
integration with ctags, but it's not working for me... before I go
off and start writing my own, is anyone using ctags with TextMate?
Thanks,
-Oscar
--
pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1
Hi All,
I'm really liking TM - it's taking a while to get my non-programmer's
head around, but I'm learning lots in the process.
I really like the "Save files when focus is lost" preference
(Preferences > Advanced > Saving > Other), but if you haven't saved
the file yet (still 'untitled') TextMate has a heart attack when
swapping to another program. As an aside I really need to kill dock
bouncing already. I think it'd be even better for the file (if not
yet saved) to be automatically saved as a temp file, either in a
similar way to using command-enter from other programs, or using the
first few words of the file as filename in a TextMate folder in
Documents. This temp file could then be automatically deleted when
the user saves for the first time.
just a thought you probably had already. keep up the great work!
peace - oli
Check it out.
All new. All oldschool.
Back to the heart of the medium. The only color that isn't a direct
ANSi color is the background color on non-source pages (just cuz it
looks keener )
this one should look pretty slick for javaScript, CSS & RUBY (as well
as HTML, XML & ASP)
I thrive on entertaining insults & opinions. Please cater to my
sickness.
I have the following ASP.net code
<tag attribute="<%# Users.PageSize %>" />
the scope of the #... part is coming up as comment.line.number-
sign.ruby instead of source.asp.embedded.html
I've tried messing with everything I can think of. I can't figure out
how to keep it from defaulting to the ruby deal.
any suggestions would be lovely.
Say I begin to edit stuff like furious in the bundle editor, and then
a new version comes along with some new stuff, how do these two get
merged, if at all?
Same goes for themes.
Seems a bit short, but I hope the question is clear.
Andreas
Howdy.
I first got started in computers with a DOS pc. I was an artist for
dial-up BBS boards before the internet was.
I know most people are into Mac chic, but I've always had a fondness
for my oldschool CiA agent_42 days.
Check out http://www.sixteencolors.net/Artist/?Artist=agent_42 to see
what the 'scene' was like back in 'the day'.
This theme is a first release. I can't code without a good basic
theme, but I need to make it better, especially for other languages.
This theme has been tested with html, xhtml, XML (and friends), ASP,
ASP.net, ruby on rails, javascript & CSS.
I'm not too thrilled with how it looks for javascript & CSS, but i
don't code in those (with textMate) too often.
The theme rendering & code view does get a bit slowish with all the
fancy stuff going on with transparency & background colors. If anyone
can suggest ways to speed up the rendering that'd be swell.
I have Quarts 2D extreme turned on (using quartz debug & force
quitting to keep changes) for faster text-rendering & better anti-
aliasing. I'm using proFont 9px anti-aliased. The bold only shows up
with anti-aliasing off though.
please check this out & share your reactions, good or bad. I know
this is not for everyone, but I was just so psyched about the AWESOME
theming & scope capabilities of textMate not to share.
Recently I've noticed the keyboard shortcut for "Insert Closing Tag"
from the Automation menu no longer works in 1.1b16. If I click the
menu item the closing tag is inserted, but not if I type the shortcut
Option-Cmd-. I haven't customized any Bundles, but I am using the
latest Bundles via svn.
Anybody else seeing this?
Thanks,
Michael Irwin
is anybody working on an ASP.net bundle? Specifically, VB.NET
i've got some work-arounds to make the regular ASP bundle work for
it, but there are still a few niggling problems.
I'm just getting started with all this fancyness & don't really have
much time to mess with stuff. I have a custom color theme done & i've
made some snippets & commands. I'm addicted to macros.
I work in an all windows office (we actually just got a macMini
server for the 'blog') so I've got to deal with a lot of 'classic'
ASP 3 & poorly written ASP.net code.
In the mean time i've got this workaround to make serverside script
tags work like <% ... %> tags.
This takes advantage of the fact that the ASP language bundle
incorrectly ignores the closing %> tag if preceded by a
comment_this_line character "'" (what 'tard came up with the idea of
using a quote mark as a comment_this_line character!?!?!1!).
So, nobody fix that problem without also making an ASP.net bundle,
thanks.
<%'textmate fix for ASP.NET script tag' %>
<script runat="server">
...
</script>
<!-- ''<%'textmate fix for ASP.NET script tag'
%> -->
i know you're all thinking: "coding ASP.net on a mac, what are you a
masochist?"
ANSWER: It's better than the alternative. (IE: using a PC to code
ASP.net)
--------------------
SQL.
Is there anyone working on an advanced version of the SQL language
module? The current one is... not good. (isn't it nice to know that
your efforts are being appreciated? :D)
Hi all.
First up -- congrats to Alan. Textmate's continuing to improve faster
than any other editor I know of, and is already unarguably one of the
best.
so ,
any chance we can have both pairs of (){}[]s better highlighted when
the cursor is adjacent to one of a matching pair? it'd be nice to
have theme elements for the bracket fg/bg colours. I think the short
blink we have at the moment is far too little, and it makes more
sense to me to have both characters highlighted.
------------
cheers,
David
I appreciate cmd-T as a more flexible replacement for old-school
keyboard buffer switchers like the traditional Emacs c-x b action.
However, one of the most critical uses of c-x b, in my experience, is
the ability to instantly toggle between the last 2 buffers in the
current window/pane, which cmd-T (and the stationary ordering of the
tabs, as compared to something like the stack ordering of the File
History dropdown in XCode editor panes) cannot accomplish.
I understand that certain special cases of toggling, like switching
between matching, identically-named header and implementation files
can be accomplished with special commands and that toggling can be
achieved by manually reordering tabs in such a way that the desired 2
files are adjacent in the tab list, but this misses the deeper point
that toggling between the last 2 files -- no matter how they were
reached, what their file name relationship is, or where they fall in
the tab list -- is one of the most central and frequently performed
actions at least in my programming experience. (And it is, of course,
all the more critical without split pane support ;).
It seems to me, however, that this can be addressed quite simply and
elegantly in the context of the current cmd-T system. All that would
have to happen is that the first item in the list would always default
to the last active tab when the window is first opened. Given that
the list ordering is dynamic and adaptive, á la Quicksilver, it hardly
seems that this very subtle reordering would present any sort of
usability issue or confusion. Of course, how this most-recently-used
item might be prioritized in the list after the user starts typing, if
at all, is an open question, but one which need not even be answered a
first version (the behavior can perfectly reasonably be just as it is
now after the first search letter is typed).
The general issue of fast toggling and navigation between files also
brings up a small related thing I've been wanting to see for some
time:
I would love to have the ability to re-order tabs using the keyboard,
alone -- just something akin to select next/previous tab, but which
moved the current tab right/left.
That's it for now. Back to the code.
-jrk
Does anyone (maybe Jeroen van der Ham, or some other Applescript
maven) know how to make BBAutoComplete (
http://c-command.com/bbautocomplete/ ) work with TextMate? (For broad
spectrum text autocompletion.)
Thanks!
I think this was a prob in b15 as well. Constructions like
function() {
// tabbed automatically
}
now come out like this:
function() {
// left on same indent level
}
A small annoyance but it adds up :)
Ben
Just hacked TextExtras to do auto-completion on space... however to get
it to work I had to alter DefaultKeyBindings.dict, which is now messing
with TM as I assume it's using a different InputManager and can't find
the functions I assigned to the space key. It would be nice to be able
to use the completion functionality within TM, but if it's not
technically possible then I'll settle for just resetting the bindings
for it.
How can I override these bindings just for TextMate? I'd assume it
would be possible by editing the KeyBindings.dict file in TM's
Resources, however I have no idea how (or if it's even possible) to map
a key binding to an NSTextView method with arguments. My first try
would be
{
" " = "insertText:@' '"; /* space */
}
However I read somewhere about @-initialized strings being defined at
compile-time, so this doesn't work.
Any ideas? I'll make sure to put together a nice write-up when I'm done
:)
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Hello,
I am trying to create a new plist entry for editing files in the
SuperCollider
language (see:
http://www.sourceforge.net/projects/supercollider/
or
http://en.wikipedia.org/wiki/SuperCollider
)
I started by duplicating the entry for c++ and editing the initial
entries as follows:
{ scopeName = "source.sc";
fileTypes = ( "sc", "rtf", "txt" );
However this did not work. It works for files of name
<filename>.sc.rtf, <filename>.sc.txt but not for <filename>.sc
Could someone please help me correct the plist entry so that it works
for <filename>.sc?
Otherwise the syntax definition for c++ works quite well to cover also
the
actual syntax of SuperCollider (some adjustments will be needed
to make this complete).
Thanks,
Iannis Zannos
So, I've set up this great 'thingie' (is it a macro, command,
snippet? who knows?) triggered on 'foo'->tab.
Works great, I love it. Now I want to change it.
Damn if I can remember where I put it and, now that I've looked
everywhere I can think of, can anyone tell me how to find a lost
'thingie' by name?
Thanks,
S
Hi,
As much as I love to keyboard shortcuts, coming from an avid
QuickSilver user, I will love to have a floating windows sometimes for
less-used macros and commands. Navigating through three levels of
menus really bores me. I really don't want to assign yet another
arcane keyboard command either.
Is a language specific floating palette (like a tear-off menu from
Automation) a sound idea?
Ivan
Dan,
Just to be safe, I’ll move the conversation over to the regular list.
Though questions about adding to the development I think do belong on
the developer list too.
The Gri and View command works great. Thanks, your effort is much better
then the one I was coming up with.
On 07/08/2005, at 15.24, Jeff Powell wrote:
[ I have cc'ed the mailing list since the info provided may be useful
to others as well ]
> How then do I take this glossary from BBEdit and copy it over to
> the TextMate drawer.
I'm not familiar with BBEdit's glossary functionality, but I
downloaded some example glossaries and made a perl script which
converts these to TextMate snippets (placing them in a bundle).
You run it with the folder containing a set of glossary items as
argument. It will then create a tmbundle named after this folder,
containing the items in the folder (as snippets). It removes
#indent#, converts the #placeholderstart/end# to TM-notation for
placeholders, does the proper escapes, and saves this as a property
list (the format used for TM snippets) in the created bundle.
It uses the first word of the filename (in lowercase) as the tab-
trigger. And you can supply a scope to be used for the script by
using -s <scope> as first argument.
So for example I downloaded Marc's Bourne Shell Glossary. After
mounting the disk image I ran this command from Terminal:
./glossary_to_snippet.perl -s source.shell '/Volumes/Bourne Shell
Glossary.sh 1.0/Bourne Shell Glossary.sh'
Then (re)start TextMate, and there's a new bundle named “Bourne Shell
Glossary” which contain the snippets.
This (TextMate) bundle is placed in ~/Library/Application Support/
TextMate/Bundles -- from Finder you'll need to use Show Package
Contents to inspect the bundle, but you can drag it to TextMate to
have a look at the contents.
I hope this provides you with enough details to convert your
glossaries. If you're not familiar with what the scope is, I
recommend this blog posting [1].
Kind regards Allan
[1] http://macromates.com/blog/archives/2005/07/06/introduction-to-
scopes/
Hi all,
I'd like to add support for highlighting the syntax of BBCode, but I'm
not really sure where to start. The main feature I'm looking for at
the moment is to turn on PHP syntax highlighting when you are inside a
[php] code [/php] section.
Where should I start looking for files to edit?
Thanks,
Douglas
I have the bundle packages checked out to /Library/Application
Support/TextMate/Bundles and I have a Rails.tmbundle in there, but
there is no option for Rails in the Automation Menu. Shouldn't there be?
Hi,
I'm really new to TextMate, having recently converted to a bit of Ruby
development on the Mac. I'm interested in writing a bundle or some
commands to help me use a tool called Hackystat. You can check out a
few things about it here:
http://hackystat.ics.hawaii.edu/hackystat/docbook/ch05.html
Basically, it's a metrics collection server. It lets you install
small sensors to collect software metrics, like how long you worked on
a particular file. Since it's automatic it stays out of your way,
it's consistent, and it's reliable. Each user controls their own
metrics data.
I want to write a sensor to collect these metrics from TextMate. The
basics would be: 1) log when a new file is opened, 2) log when a file
is closed, and 3) every so often (30 seconds) log which file is in the
active window. Pretty simple.
I'd like to start a small command-line program from a TM command, but
I'd like to keep it open until TM is closed and send info to it
periodically throughout the TM session.
I've seen several items about launching command-line programs from TM,
but can I keep one open in the background? Does TM block until the
script finishes or can my Ruby script start another process and then
return and get back to that process later?
Can I intercept the File | Open actions and then record my metrics? I
haven't seen how to do this in other posts. There's a growing list of
tools that support Hackystat, including Emacs, Vim, Eclipse, and
VisualStudio. I'd love to add TextMate to that list.
http://hackystat.ics.hawaii.edu/hackystat/docbook/apa.html
Plese let me know if any of this is possible and where I can dig up
some documentation on it.
Thanks!
Tim
I'm having some trouble with the keybinding. It seems that in the
latest stable release (1.1b15) the keycombination ^u is hardcoded to
make current word uppercase. How can I change this? (it doesn't seem to
be in the keybinding file).
Regards,
Johan Kåhrström
I have made a colorpicker.. you can find your desired color
with max 5 clicks.
How to set it up in your TM.
Step #1
Save the attached 'colorpicker.xhtml' in your homedir.
Step #2
Menu -> Automation -> Run Command -> Edit Commands...
Step #3
In the left panel, select XHTML
Step #4
Below the left panel.. click the leftmost + then New Command
name the command 'Neoneye's Colorpicker'
Step #5
In the rightpanel.. set the following options:
Save: Nothing
Input: Nothing
Output: Show as HTML
Activation: Key Equivalent F13
Scope: source
Step #6
In the rightpanel.. insert the following line:
cat "/Users/simonstrandgaard/colorpicker.xhtml"
(or whatever absolute path you have)
Step #7
close the Bundle Editor.
hit F13
good luck
--
Simon Strandgaard
I'd just started using the Subversion bundle, and everything was
working great once I defined $TM_SVN except for the Log command,
which would complain that it couldn't find the svn binary.
Turns out that the problem is within the format_log.rb program; the
line defining $svn_url read as follows:
$svn_url = `svn info #{ENV['PWD'].quote_filename_for_shell}|grep URL|
cut -b6-`.chop
changing it to:
$svn_url = `#{ENV['TM_SVN']} info #{ENV
['PWD'].quote_filename_for_shell}|grep URL|cut -b6-`.chop
corrects the problem.
Not sure if this is documented yet, but I've been having problems
with files that are open in TM, and at the same time I edit their
name through the Finder. It seems that TM still works with the old
filename, and if I save it will save (a copy of) the file with the
old filename.
If the file is inside a folder and it is open in TM, and I rename the
folder, then TM asks me for my password (!!!) when I try to save the
file.
No particular error messages in the console.
Anyone else can reproduce this?
Haris
OK, considering the number of RoR users using TM and on this list, I
am throwing this whole thing out to the community to help and assist
with.
Over the past few weeks I've been working on the TM documentation
site (90% done), and has hacked a version of Hieraki to handle it.
I've done a variety of changes even though I'm a RoR newbie, but now
I'm a bit fed up with my limitations, and the time it takes for me -
as a newbie - to do the stuff. It's a good learning ground, but I'm
also completely out of time for doing this stuff, so I am hoping that
others are willing to help out as well.
Outstanding issues & problems:
1. Routing & URLs issues
This is 90% done, and the documentation now handles human readable
URL's like these:
a. URL: site.com/chaptertitle/
b. URL: site.com/chaptertitle/pagetitle/
c. URL: site.com/chaptertitle/subchaptertitle/
d. URL: site.com/chaptertitle/subchaptertitle/pagetitle/
Translated into TM doc's speek:
if we have a chapter called "Appendices" and a subchapter called
"RegExp" and then a page called "Overview" then the url becomes
site.com/appendices/regexp/overview/
The outstanding issues here are:
-- not all links are working fully/correctly
-- there's too many hacks in the code,
-- too much repeated code
-- may have issues in it that I've not thought off
2. Support for Markdown within Hieraki.
Allan prefers to work with Markdown code, and Hieraki does only
support Textile at the moment. I and many others (?) prefer Textile
so ideally the system should cater to both.
3. User comments System
Having the ability for user's to easily comment on existing
documentation is in my mind fundamental to good documentation, and
that's why I'm hoping for this feature to be added as soon as possible.
The following two points are more important really and are stuff that
I can't possibly do, so they really do need someone else to help out
with.
4. Code Checking
As a newbie, I'm sure to have done some bad stuff, so it needs
someone more knowledgeable to look through the code and confirming
it's solid & efficient.
5. Installation on Allan's TextDrive a/c and setting up issues.
You can see a basic working version - minus some of the latest
changes - on this URL: [ www.imediatec.co.uk/tmdocs/ ]
I have it all in a SVN a/c on TextDrive, so I can easily open it up
for you to work on and commit your changes to.
So please take some time to help out !!
Worst come worst, I'd be grateful IF I could just have a few people
to ask for help from as and when I need it. Yes, I'm on the RoR IRC
and ML, and although I've been helped there, it's not always
convenient and fast.
OK, I'm sure some of you will say "why a hacked version of Hieraki ?
Why not ....?" and so on. Hieraki did the vast majority of what was
needed, but had some limitations, like no single page display (done),
no search (done) and it was easy to make it look and work like the
new design style of the Macromates site (due to be public later on
this year).
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Is there any timeline for Subversion integration in Textmate? I'm
sure this has been discussed before, but I couldn't find any solid
information.
Thanks,
Bryce
In order for the system caret to move with pageup/down, I use this in
my Keybindings file
"\UF72C" = "pageUp:"; /
* Page Up */
"\UF72D" = "pageDown:"; /
* Page Down */
This works all and well, but is it possible to get smooth scrolling
with it to? If i remove these lines, I get smooth scrolling but the
caret won't move (actually, textpad gives smooth scrolling).
Also, I'd like tab to indent/outdent lines of selected code, but
"\U0009" = "indent:"; /
* Tab */
seems to do nothing (actually, it does do something, it completely
disables tab in textpad).
as always, thankful for assintance
Andreas
This was my first stab at editing a language
definition. I tried to add "COPY" support as well,
but couldn't get it to work for whatever reason. This
version supports most keywords in the spec. I'll try
and add better stored procedure/function support as
well as get copy working and respam.
'njoy,
Mark
{ scopeName = "source.sql";
fileTypes = ( "sql", "ddl", "dml" );
foldingStartMarker = "\\s*\\(\\s*$";
foldingStopMarker = "^\\s*\\)";
patterns = (
{ name = "declaration.create.sql";
match =
"(?i:^\\s*(create)\\s+(aggregate|conversion|database|domain|function|group|(unique\\s+)?index|language|operator|operator
class|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\s+)(\\w+)";
captures =
{ 1 = { name = "keyword.function.create.sql"; };
2 = { name = "keyword.other.sql"; };
4 = { name = "entity.name.function.sql"; };
};
},
{ name = "keyword.other.DDL.create.II.sql";
match = "(?i:\\s+(on\\s+|(not\\s+)?null)\\b)";
},
{ name = "declaration.drop.sql";
match =
"(?i:^\\s*(drop)\\s+(aggregate|conversion|database|domain|function|group|index|language|operator|operator
class|rule|schema|sequence|table|tablespace|trigger|type|user|view))";
captures =
{ 1 = { name = "support.function.create.sql"; };
2 = { name = "keyword.other.sql"; };
};
},
{ name = "declaration.drop.sql";
match =
"(?i:\\s*(drop)\\s+(table)\\s+(\\w+)(\\s+cascade)?\\b)";
captures =
{ 1 = { name = "support.function.create.sql"; };
2 = { name = "keyword.other.table.sql"; };
3 = { name = "entity.name.function.sql"; };
4 = { name = "keyword.other.cascade.sql"; };
};
},
{ name = "declaration.alter.sql";
match =
"(?i:^\\s*(alter)\\s+(aggregate|conversion|database|domain|function|group|index|language|operator|operator
class|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\s+)";
captures =
{ 1 = { name = "support.function.create.sql"; };
2 = { name = "keyword.other.table.sql"; };
};
},
{ name = "keyword.other.DML.sql";
match =
"(?i:^\\s*([\\(]{0,}select(\\s+distinct)?|insert\\s+into|update|delete|from|where|group\\sby|and|union(\\s+all)?|having|order\\sby)\\b)";
},
{ name = "keyword.other.DML.II.sql";
match = "(?i:\\s+values\\s+)";
},
{ name = "keyword.other.sql.LUW.sql";
match =
"(?i:(begin(\\s+work)?|commit(\\s+work)?|rollback(\\s+work)?))";
},
{ name = "keyword.other.authorization.sql";
match =
"(?i:(grant(\\swith\\sgrant\\soption)?|revoke))";
},
{ name = "storage.type.sql";
match =
"(?i:^\\s*([A-Za-z0-9'_])+\\s+(bigint|bigserial|bit|bit\\svarying\\(\\d+\\)|boolean|box|bytea|character\\s(varying)?\\(\\d+\\)|char\\(\\d+\\)|var\\schar\\(\\d+\\)|cidr|circle|date|double\\sprecision|inet|int|integer|interval\\(\\d+\\)|line|lseg|macaddr|money|numeric(\\(\\d+,\\d+\\))?|oid|path|point|polygon|real|smallint|serial|text|times(\\(\\d+\\))(\\swithoutstimeszone)?|timestamp(s(\\(\\d+\\))(\\swithoutstimeszone)?)?|varchar(\\(\\d+\\))?)\\s*)";
},
{ name = "storage.modifier.sql";
match =
"(?i:\\b(primary\\s+key|references|on\\sdelete(\\s+cascade)?|check)\\b)";
},
{ name = "keyword.other.data-integrity.sql";
match = "(?i:\\bin\\b)";
},
{ name = "string.quoted.single.sql";
begin = "'";
end = "'";
swallow = "\\\\.";
},
{ name = "keyword.other.object-comments.sql";
match =
"(?i:^\\s*(comment\\s+on\\s+(table|column|aggregate|constraint|database|domain|function|index|operator|rule|schema|sequence|trigger|type|view))\\s+.*?\\s+(is)\\s+)";
},
{ name = "comment.line.double-dash.sql";
match = "--.*$";
},
{ name = "string.quoted.double.sql";
begin = "\"";
end = "\"";
patterns = (
{ name = "string.interpolation.sql";
match = "#\\{([^\\}]*)\\}";
}
);
},
{ name = "string.quoted.double.sql";
begin = "%\\{";
end = "\\}";
patterns = (
{ name = "string.interpolation.sql";
match = "#\\{([^\\}]*)\\}";
}
);
},
{ name = "string.regexp.sql";
begin = "/(?=\\S.*/)";
end = "/";
patterns = (
{ name = "string.interpolation.sql";
match = "#\\{([^\\}]*)\\}";
},
{ name = "string.escaped-slash.sql";
match = "\\\\/";
},
);
},
{ name = "string.regexp.modr.sql";
begin = "%r\\{";
end = "\\}";
patterns = (
{ name = "string.interpolation.sql";
match = "#\\{([^\\}]*)\\}";
},
{ name = "constant.character.escaped.slash.sql";
match = "\\\\/";
},
);
},
);
increaseIndentPattern =
"^\\s*(create|grant|insert|delete|update)\\s*";
}
Is it possible to influence the font size in the HTML output window?
Specifically, in the "LaTeX and view" script it seems huge even on my
PB 12" screen.
Berndt
Not sure when this happened. But Justin F's early bundle work which
expands that which is before the cursor on a ctrl+space ('div'
becomes <div>|</div>) stopped working for me. I can't live with out
these.
I did a checkout of the bundles after upgrading to b15. I did delete
some (maybe his). Do you know which bundles these (macros/commands?)
live in and how I can fix it?
-tim
TextMate alongside more traditional heavies like OmniOutliner,
NetNewsWire, and Delicious Library:
http://maczealots.com/articles/shareware/2005/
> TextMate by Macromates is a fabulous text editor for programmers
> and designers. TextMate offers easy ways to manage your project,
> keep it organized and automate monotonous tasks. Managing code and
> markup are made much easier by this application, too. Because most
> projects require many files, TextMate is also great because it
> helps you manage all these files. The most commonly used features
> are the dynamic file outline that allows you to arrange your files
> in an outline and keep your changes up to date, tabs that make
> jumping between files simple, a clipboard history so you will never
> forget where you are going and where you have been and the ability
> to hide what you don’t use with foldings. TextMate consistently
> gets high ratings and you can’t beat it for the money.
>
> Some of the MacZealots crew use TextMate to write drafts of
> stories, create sample code for tutorials and even as a quick
> outliner. The reason is because TextMate is so lightweight compared
> to applications like Microsoft Word and Xcode. With less system
> overhead, we can use our dilapidated iBooks to work on the road.
Am I the only one who's noticed a rather substantial system slowdown
with b14 and 15 running?
SAUL ROSENBAUM
VISUAL CHUTZPAH
Strengthening Brands Through
Illustrated Images And Interactive Design
visit us on the web:
http://www.visualchutzpah.comhttp://www.saulrosenbaum.com
or give us a call:
p: 215.702.1147
f: 215.689.3465
Allan,
I'd love to, unfortunately she upgraded to Tiger yesterday whilst my back
was turned, all has now returned to normal! If I can track down another
machine that hasn't been upgraded Ill try to verify the problem and run the
tests you suggested.
Cheers,
Chris
On 28/7/05 13:00, "textmate-request(a)lists.macromates.com"
<textmate-request(a)lists.macromates.com> wrote:
> Okay, can I persuade you to do some testing on her setup?
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Just to inform everybody that the a new version of PHPCodeCompletion
with support for TM 1.1b15 can be downloaded from here: [ http://
www.imediatec.co.uk/tm/phpcc/ ]
IF you are not using TM 1.1b15, then you can still use download and
use the b11 - b14 version.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
On Jul 25, 2005, at 10:37 PM, Andreas Wahlin wrote:
>> I doubt you'll convince many here that the Finder is a good project
>> manager ;)
>>
>
> ehm, *coughs a bit* no I suppose not :)
> But if you would only use it SPATIALLY, then ... *shuts up*
I use to believe similarly. I strongly encourage you to spend a few
minutes playing with TextMate's projects. Just don't be too
surprised if they win you over. They sure sold me.
Apple-T is probably the best feature of projects. What to open
my_class_test.rb? Apple-T, mct, and return. You have to see it to
believe it.
Seriously, we're probably talking about 10 minutes of your time and
then at least you'll know what you're missing, if nothing else...
James Edward Gray II
On Jul 26, 2005, at 7:01 AM, Patrice Neff wrote:
>>> UTF-8 sucks for Japanese and Chinese texts mainly due to space
>>> reasons. If anything makes sense, then it is UTF-16, which
>>> Textmate also supports.
>>>
>>
>> Could you explain what you mean by "space reasons"?
>>
>
> Due to the way UTF-8 works, it used 1 byte for US-ASCII characters,
> but up to four bytes depending on the Unicode number. Many alphabets
> can be encoded with two bytes (especially the European ones, but also
> Hebrew or Arabic). Chinese and Japanese characters will require three
> or four bytes.
This size issue is largely a myth.
Remember, we are discussing "pictograph" languages. In English, the
word "forest" requires six characters. In Kanji (Chinese/Japanese
pictographs), it requires one. Even if we need four bytes to encode
that one character, it will still be smaller than the resulting
English encoding.
There are some encodings that squeeze Kanji into a smaller space,
it's true, but to say that the files balloon in size without this is
not really accurate, in comparison with other languages.
James Edward Gray II
On Jul 25, 2005, at 10:37 PM, Patrice Neff wrote:
> Apart from that, it seems that Unicode is not actually able to handle
> 100% of Chinese (and maybe also Japanese) script. But I'm not a
> Unicode expert.
Unicode does not include all of the Kanji, a shared set of
pictographs for Chinese and Japanese. However, the Japanese (the one
I know), at least, can just drop into their Kana (Hiragana and
Katakana) syllabary to "spell out" any word they can't represent with
Kanji. I assume the Chinese have a similar option, though I'm not
familiar with that language. However, since the average Japanese
person knows a few thousand Kanji and Unicode includes way over that,
I seriously doubt this is a common problem.
James Edward Gray II
On Jul 25, 2005, at 10:37 PM, Sean Schertell wrote:
> Unfortunately, UTF-8 doesn't work for Japanese in some cases. For
> example Mac IE (still used by all those poor souls still stuck on OS
> 9), shows lots of wacky characters.
Your example speaks of a no-longer supported browser for an abandoned
(for years now) operating system. I'm all for supporting a large
audience, but I'm going to be blown away if we're talking about %1 of
typical traffic here. That seems like a minimal risk hit to take, if
you ask me.
> then use iConv everytime you upload -- not exactly a smooth
> workflow :-(
It can be. Remember, TextMate is all about automation. Build a
command and turn conversion and upload into a single keystroke.
James Edward Gray II
hi,
i've been searching the main site, the wiki and the list - but can't
seem to find a bundle that does reasonable xsl syntax highlighting.
did i miss something, is there something worked on, the html/xml
bundles from b15 are just to simple for doing real xsl files. this is
the only thing that holds me back from buying a licence...
thanks for your answers
josef
A colleague recently upgraded to 1.1b15, and since doing that she cant get
project windows to appear, they are listed as being open under the window
menu, but cannot be seen onscreen - is this a known problem? She isnt
running Tiger, whereas I am and have no problem with b15, could this have
something to do with it?
Regards
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi Guys,
This is my first post. I just wanna say: Wow! This thing looks
truly awesome! But... for those of us doing non-western and non-
UTF-8 encoding web pages, it's unusable.
Oh please please PLEASE add support for Shift-JIS and EUC-JP! (japanese)
Cheers,
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
My favorite text editor on Windows is UltraEdit, and it has a columnar
editing mode which is useful surprisingly often.
I am pretty sure I understand how TextMate's columnar editing works
(option-arrow to create column selection, then type). However, having
a columnar mode makes the feature much more useful.
When in the columnar mode, any cursor movement stays in the mode, and
shift-arrow does what you'd expect it to: shift-up/down keeps the same
columns selected but adds/removes the next line while shift-left/right
adds/removes the next column for all lines.
When you have one or more columns selected, typing replaces the
contents with the character just pressed, but keeps the same number of
columns.
Typing with 0 selected columns enters that key on every row.
Delete removes all the selected columns, yielding 0 selected columns.
Paste enters the clipboard contents into the first row of the selected
columns, though
honestly, I'd prefer that it pasted to all selected rows.
I think the primary benefit of a columnar mode is the ease of keyboard
selection of the column range.
Additionally, UltraEdit has a feature where you can analyze a
delimited file and automagically convert it to a fixed width file,
which lends itself to columnar editing. When done, you can then
convert it back to a delimited format.
The two features work together to make it great for editing flat files
of both fixed and delimited flavors.
I'm attaching a screenshot of the fixed scan dialog in ultraedit for
illustration of the feature.
It's not the best designed UI ever, but:
x The current file is assumed to be delimited.
x The scan button analyzes the current file's lines to try to determine
the max length needed for each field based on the options selected
(which are all settings except "Keep Delimiter" and "Field Widths").
x Based on this analysis, the Field Widths textbox is populated with
each field's width. If you know the widths needed, you can skip the
scan step and just enter your widths in the Field Widths box directly.
x Once you're happy with the Field Widths values, you click Convert to
translate it to fixed width. The "Keep Delimiter" option determines
whether the original delimiters are stripped from the resulting fixed
file.
The Convert To Delimiter dialog is much simpler (screenshot excluded);
it just takes the last Field Widths used for conversion to fixed, and
slaps on the given delimiter at those lengths.
===
Sorry for the length, but I think these are very useful features which
could be implemented (with a better UI) in TextMate, and I'd be happy
to see them included.
Cheers,
Jeremy Dunck
I just added myself to the list.
My name is Andreas Wahlin, aged 25 from Sweden. I fancy myself as a
"web developer" and know my way around JavaScript, DOM scripting and
such things. I've really just began to discover the rich world of wed
development and try to immerse myself in standards, AJAX and other
buzzwords. I bought a Mac just a few months back, being totally fed
up by windows and not managing to switch to (Suse) Linux. To be
honest, I haven't really switched over to TextMate just yet, but
something clicked with beta15 and I'll probably be doing the switch
real soon, TextMate seems to be heading in the correct way so I
really see it as a future investment!
Andreas
Hey Allan,
TextMate 1.1b15 is great, especially the new Theme editor which
dynamically updates any opened files. MUCH easier to make adjustments
that way.
Unrelated question: is there a specific reason why 'Show invisibles'
does not show spaces, like in... HEY, like in SubEthaEdit for
example ? ;)
--
Luc Heinrich - lucsky(a)mac.com - http://www.honk-honk.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi there,
i just installed b15 and updated to the bundles svn to 1359 (and
additionally did a fresh checkout, to make sure) and now markdown
doesn't show any syntaxcoloring at all, regardless of the selected
theme.
anyone else? or should I just wait for an update of the bundles
repository?
best regards,
tom
- --
Tom Lazar
http://tomster.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iQIVAwUBQuDt99eSJSslDUEWAQJN6g//ZTDL4fz9//nIEfd1r1851a/vU9Yr4gPB
seymTMT5WouEBHtjqhgNEPZ86tEsoS//9vwROP1l/JVrOS9HAcwNbzUr8hBPjHJq
O83TPDfhu7DtwIYMjdyvGTCyWYjpbT7zEZQvCO+3y0T9YeT6MRYu5gjIsVUcrp3r
NEXjoFfvxh8OvVNOu1X7fThsviYhw+MxgS8Dq5U1jZyN9CFUPObAB1TXjg2WDYID
/oUzL3rJL5wWw0Nzb0DnITMxQ44C4dxyWP1fdXU3J1yBD46FELHXMAX0qPkncNwf
aLtx30F1IAdAORDFlXrNZfQmvPGSYAhL0MkVja+xE0M4tLCy+P4PYvJHuy/niaAq
22zBZsEwwHI5oYgBy1O8NPRlUY0e6lN/sQhOmyEadz20+qetYCdDhOdA3ccjl3jG
lQcoeZq3vyrA+r3dzY6VjUm6STjyM+Ga4YWhpB3DoFaDQpv7ytK5SiEwFh3GB8nS
PGc6q1QaCeSH0UZmiA4p23Yxaq2+dMpOl3t2t+px2KFG6+tNr1w6xMb8VS0EDgKH
MY1ICi6Dxe8AHVY9l8N8sSBb/uyoeikTxzri8RIJLCt4cgHAH/8hvhYsxZRt4H6X
CiZOxncBZZI+fwxXKwGtDVLqT0q6wPADyehTf1SwsTqr3rWv9mpTrbsQ6at2H9tv
sOBlPbgBzaY=
=Cfek
-----END PGP SIGNATURE-----
After grabbing b15 and copying over the utilities, I'm getting a weird
error when running `tm` from the command-line:
ntalbott@jacob:~/svn/sandbox/sel$ tm
RegisterProcess failed (error = -50)
Abort trap
If I fully qualify `tm`, it works:
ntalbott@jacob:~/svn/sandbox/selector_namespaces$ ~/bin/tm
[window opens]
Strangely enough, `which` says it can't even find `tm`:
ntalbott@jacob:~/svn/sandbox/selector_namespaces$ which tm
no tm in ~/bin /opt/local/bin /usr/local/bin [...]
`tm -v` works:
ntalbott@jacob:~/svn/sandbox/selector_namespaces$ tm -v
tm 1.4 (2005-06-16)
ntalbott@jacob:~/svn/sandbox/selector_namespaces$ ~/bin/tm -v
tm 1.4 (2005-06-16)
Any ideas? Any more info I can provide?
Thanks,
--
Nathaniel Talbott
<:((><
hi there,
i have been creating projects left and right lately and realised,
that 'untitled' is not the best default name (i.e. *never* right) as
opposed to say the name of the toplevel folder that the project
consists of (i.e. *sometimes* right)
just my $0.02,
tom
--
Tom Lazar
http://tomster.org
I just had to write out a quick thank you for the way in which you
implemented the spell checker. I can finally get the best of both
worlds - hand coding with check as I type spelling.
Not only that, when I opened up a website I had done a while ago I
easily found a couple of mistakes. In one case it even showed me a
coding mistake & instead of &
As someone that does not know regex or other advanced ways of
customizing TM this new out-of-the-box-feature is a delight!
Thanks
Eric C
Hi folks,
I noticed a couple of odd things this evening while working in TxMt.
1) In the bundle editor, when I add a new bundle (and again when I
added a new snippet to that bundle) the current select went back to
the top of the tree (C in my case) and looked a bit odd into the
bargain.
2) When I have more tabs than will fit in the tab bar (so that you get
the >>), and am looking at a file which is not in the tab bar, there
is no way to get access to that files tab any more.
My apologies if these are known issues, I did have a quick look for
issue tracking in the wiki but couldn't see it.
Regards,
Matt
(who is learning a little more about TxMt every day)
--
Matt Mower :: http://matt.blogs.it/
Hello there,
I downloaded the trial version of TextMate 3 days ago and payed for
it yesterday, am quite happy with what I have seen so far. One of the
big selling points for me is that there is no toolbar! In the past I
used Mellel and chose compact view to turn off the toolbar; I prefer
the floating pallet. Toolbars are just way too distracting on the
eyes, especially MS Word (a way too busy toolbar).
So as a nursing student (RN program in Seattle) I will start using
TextMate and LaTeX to write my papers. One of my prereqs was English
102 in which I had to write a 20 page paper with over 20 references,
4 graphics, using MLA citations. I used Mellel without any type of
bibliography software, and Mellel worked like a champ, quite good at
setting styles; but I never worked with TOC or sections. I did have
to spend extra time manipulating the text to eliminate widows/orphans
and other layout issues. During the 2nd quarter of the program I had
to write a 7 page paper using APA citations. For that one I used
Apple's Pages and rolled my own references again. But first I used
CopyWrite to write the paper before importing into Pages. I did not
use fullscreen mode - don't like it. CopyWrite was really nice for
organizing that paper, and plan on using it again.
This summer I have no classes, so I have spent time learning LaTeX
and have converted the 7 page paper to LaTeX, using BibDesk and the
apacite package. That was using TexShop. To make TextMate a little
like TexShop I installed Schubert's PDF plugin, changed the pdflatex
command to "Command-T" and created a bibtex command set to "Command-
B". I copied latexErrWarnHtml.py into the local Latex.tmbundle (are
there other mods I need to make?).
So I think I am set for next quarter's 15 page paper (on the cardiac
and respiratory systems), and for the Masters program (whenever that
may be).
Thanks for an excellent program for editing LaTeX.
Cheers,
Jeff
Ive been thinking about some of the features that Eclipse has of late and it
strikes me that one of its strengths is the way it manages multiple panes
within a single window, so I was wondering whether it would be possible to
add a new type of window for commands to output into, this is the idea:
instead of opening a new window, open the window embedded within the current
editing window, sort of like Omniweb does with its site preferences, the
window splits horizontally with the site above and the prefs below. This
would be great for commands that check syntax as it would avoid obscuring
the editing window whilst sill allowing access to the output so that it
could be clicked on etc.
What does everyone else think? Allan, do you think this would be a good
idea?
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
I'm not sure if this is a known issue or not, but it would be nice if
it were fixed. Currently when the project drawer updates, it moves
back to the top of the drawer rather than staying wherever it had
previously been put. On large projects this gets pretty annoying.
Using Command-T instead helps a lot, but I still do use the drawer
for other things. I know that redoing the drawer is something on the
todo list, and am wondering if this is part of it? Also if that's
still a ways off, would it be a quick fix in the meantime to remedy
this issue? If it's much work, I wouldn't consider it worth it. If
it's a bitflip..maybe I would ;)
Thanks.
--
Robert M. Zigweid http://robert.zigweid.net
rzigweid(a)zigweid.net
I haven't futzed with the new themes too much until recently -- I just
found some decent colors and ran.
However, as I get back to C from a bunch of Python and other work, I
noticed that the new themes generally seem to lack much definition of
anything in C/C++. It turns out the issue is twofold:
First, of course, the classic problem of distinguishing many different
kinds of elements in a simple C/C++ parser. C parsers aren't easy or
fun to write, and so the current language definitions, perhaps not
surprisingly, don't seem to detect declaration.function, variable,
entity.class, declaration.name.class, etc.
However, somewhat more vexing was the fact that some themes (Pastels
on Dark) seemed to have substantially less styling than others in C.
Looking further into the theme definitions, however, revealed that
Pastels on Dark, in particular, was designed to rely on bold text just
as much as color, and I wasn't seeing it.
Switching fonts to Courier [New] revealed the bold face elements, but
it seems odd that my font of choice -- Bitstream Vera Sans Mono, which
has a perfectly good Bold which shows up in the font selection dialog,
and which renders fine as the whole-document default font if set to
bold -- didn't show up as bold in the elements styled to be bold-face.
I've never done any development against Apple's Font APIs, but I'd
guess there's some bug which is preventing the Bold variant from being
detected in the Bitstream font. Perhaps it has something to do with
the fact that the default appears as BitstreamVeraSansMono–Roman
(meaning that it appears that the default is set to a specific
variant, rather than to the base font, since Roman stands in for
Regular in the Bitstream Vera font packages)?
I'd love to see this fixed. And is there any news on the C/C++
language definition front? Has anyone tried to add more sensitive
language definitions with more detailed elements, like those I
mentioned? It seems this sort of task would be made much easier by
the ability to define and use a symbol table from within the language
definition grammars (since tokens in C-like languages generally can't
be re-used, just detecting the type of their declaration should be
enough to style every subsequent element with the same name in a given
file), but perhaps this is too much to ask of the already
freshly-rewritten language parser engine. I'd be glad to work on it,
one way or another, as long as no one else is already doing so.
-jrk
Anyone getting kernel panics on Tiger? I'm running 10.4.2 and I can
consistently crash the machine with TextMate, on both my PowerBook
and G5. Last night I had another one which caused my OS to not
reboot, and I had to re-install Tiger. I see that only 10.3 is
supported but I liked the tool so much that I tried it on Tiger.
Thanks!
-dP
What ever happened to the option to restore open files/projects
whenever TextMate is relaunched? I used to appreciate this and didn't
quite notice when exactly it disappeared (or if it just got switched
off somewhere in my config and I stupidly can't find it).
Thanks.
-jrk
I recently discovered that Safari supports simple drag navigation
around large pages rather line Photoshop's space-drag functionality:
by simply holding ctrl and moving the mouse (not dragging -- the mouse
button remains up), the cursor changes to a hand which grabs and drags
the page. Perhaps I'm really late to the game on this one, but I'm
totally hooked.
I've been finding, however, that I'm so attached to this mode of
navigation when reading in Safari that I'm constantly subconsciously
trying to do it in all sorts of other apps. I personally think this
would be a fantastic way to browse text in TextMate. Like all good
programmers, I'm of course completely attached to the keyboard when
actively developing, but there are many times when trying to figure
out some code or reading a README is much more like browsing than
active development, and in these situations I'd really love to have
this sort of interface. It's particularly great for trackpad (or
wacom tablet) use.
Far from super-high priority, but at least worth a brief thought, as
it's probably not the most challenging bit of polish to add.
-jrk
Does anybody have any speedup tips for textmate? It never was the
fastest of text editors but it's latest release (not CVS but stable)
is really unworkable on my little iBook. Even in a 100 line html file
it takes forever to scroll to the end of a line or the bottom of the
document.
I only use textmate for PHP, HTML, CSS, Javascript and Ruby so would
it help if i just scrap all the extra's for the diferrent programming
languages?
Thanks for any optimization tips you might have!
--
Tijs Teulings
Automatique
m: +31 (0)624685608
www.automatique.nl
Hi,
I'm not sure if this have been discussed before, but when I drag and
drop an image file from the Finder to an HTML document in TextMate,
this is what I get :
## Component Manager: attempting to find symbols in a component alias
of type (regR/carP/x!bt)
<img src="Angela-Brunton/Angela-Brunton-1.jpg" width="600"
height="570" alt="Angela Brunton 1" />
If I drag *two* images or more, the error message appears in the alt
attribute of all elements, except the last one :
## Component Manager: attempting to find symbols in a component alias
of type (regR/carP/x!bt)
<img src="Angela-Brunton/Angela-Brunton-2.jpg" width="600"
height="356" alt="## Component Manager: attempting to find symbols in
a component alias of type (regR/carP/x!bt)
<img src="Angela-Brunton/Angela-Brunton-3.jpg" width="600"
height="426" alt="Angela Brunton 3" />" />
Has this bug been identified ?
Thanks,
- n.
Here are a couple of Project Drawer feature requests.
1. Double-click on folder name should expand folder. (iTunes's Radio
streams used to work the way TextMates does now, but with the latest
release they've enhanced it as I'm suggesting). It's a small point, but
frequently used interface elements shouldn't rely solely on a tiny triangle.
2. Standard keyboard shortcuts. First-letter navigation to file or
folder beginning with that letter would be great. Command-Down-arrow
should open file or expand folder. Return key should rename.
Thanks for a great product. As a recent switcher I honestly feel
TextMate is one of the big advantages of using a Mac.
--Dylan
Hi,
Can anyone tell me why "Hide TextMate" and "Hide Others" in the Apple
menu might end up being disabled? I have the focus in a document but
can't use either, other apps seem to hide okay though.
What am I doing wrong?
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
I'd love to use soft wrap, but find it completely unusable in code
when long lines wrap to column 0 of the next line, rather than to some
appropriate indent level. Is this configurable somewhere, like it is
in Xcode, VisualStudio, etc.?
Thanks.
-jrk
Allan,
first let me just say how much I am appreciating the "go to symbol"
popup, a real timesaver and so much nicer than my hand made version,
however I am wondering whether it would be possible to somehow
specify the ordering of this list? For me, using large-ish class
files it lists all the functions (which is good), but it would be
nice to have these in alphabetical order as opposed to the order in
which they occur in the file. I can image that this isn't the way
that everyone would want it, maybe some sort of preference or syntax
file option would work? Do you have anything of this nature planned?
Regards
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi,
Perhaps I'm too dummy for that kind of task, but I'm looking for a
"made with TextMate" image.
Has anybody here got that kind of stuff?
Thanks,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
Hello,
I just upgraded my version of textmate and seem to have lost the old
syntax highlighting styles. Any ideas how to get those back? In
particular, I liked the yellow/green/orange colors used for php files.
Thanks,
Ron
This would affect directory based projects. It would be convenient
to be able to change/set which files in the structure are ignored or
seen.
This could be based on an individual file.
This could be based on (perhaps) a regular expression.
For example, I might not want to ignore all of the '.' files which I
don't appear to see now. (This is an understandable default. They
are 'hidden' afterall.) But I also am very unlikely to want to see
any '.pyc' files in my projects. Ditto for .class, .o, etc.
--
Robert M. Zigweid http://robert.zigweid.net
rzigweid(a)zigweid.net
Preparing for the actual manual, I wrote a piece which is supposed to
be Scopes 101:
http://macromates.com/blog/archives/2005/07/06/introduction-to-
scopes/
When I do documentation-style blog posts, you're always more than
welcome to send me constructive criticism, especially if there are
things which are unclear or you think could be better explained (you
can use the comments for this as well).
Alan, I do not know if this has been asked for, or noted previously.
It would be nice to run commands asynchronously:
[NSThread detachNewThreadSelector:(SEL)aSelector toTarget:(id)
aTarget withObject:(id)anArgument]
and that runs the command in the background (with potentially an
activities panel). This would be really useful when making large
builds directly from TM's interface.
Currently the UI blocks until the command is completed.
Nick
How many of you are using TextMate for actionscript development? If so,
are you using MTASC? I'm thinking about implementing some things like
incremental compilations, scanning for undeclared variables, packages,
etc...
Just wanted to gauge the interest in this and maybe get some insight
into the possibility of it.
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Sorry if this is oh so obvious but I can not figure out if this is
possible or something that was already asked for and will come in the
future (sorry if this is the case).
I have an html site and the way I like to make new files in many
cases is to duplicate an existing file (would be great if this was
added to the project drawer) so I went to the finder and duplicated
the files but they do not show up in the project drawer even after I
close the project and reopen it.
Is there some way of easily refreshing the project drawer to match
the finder?
Thanks,
Eric
I was just navigating around my website and I noticed that even when
I had softwrap on files where not observing it until I toggled it off/
on again.
Thanks,
Eric Curtis
I just noticed that scrolling in a smallish (321 line) XML document
was very slow, and TM seemed to be using a lot of CPU. I restarted
TM and that same document scrolled much more quickly.
How can I give some meaningful input the next time this happens? (I
have seen this a few times before).
--
__ ____
/ / / __/ Brian Lalor "If you still have gas, you're
not lost."
/ _ \/__ \ blalor(a)bravo5.org -- Jacques Strappe
/_.__/____/ http://bravo5.org/
Sorry to be bother but a few days ago I asked about the location and
means of setting the tidy settings in Textmate....can anybody point
me in the right direction?
Thanks,
Eric
Not sure what this is called in Textmate speak, but is there any way
that Up-Arrow/Down-Arrow navigation does not cross an EOL for a line?
What I mean is, if I have a document that doesn't have any lines
longer than 20 characters, and I put the mouse cursor at line 40, and
then hit arrow down, the cursor will stay on column 40 the whole way
down, instead of going to the EOL character for each line (like vim
does it)?
Thanks!
Hi folks,
I'm a new user of TextMate and using it to edit Ruby code. What I'm
seeing is that when I cut & paste code I find the pasted code is
double-indented.
I have the Editor Uses Spaces Instead of Tabs setting set, and my
View|Tab Size is at the default setting of 3. I am editing new code,
not someone elses.
There doesn't seem to be a general re-indent option and reformatting
obviously isn't the right tool.
Can anyone advise me how to get pasted code to look right?
M
--
Matt Mower :: http://matt.blogs.it/
I didn't find mention of this in a cursory search, but if it is not
currently possible, it would be nice to be able to do a Find that
recursively searches within a project starting at a specified folder.
This is more directed than a "search in project" find. Perhaps it
could even be added as a control-click option in the project drawer.
Thanks!
Ed
List,
Anybody have any good performance tips for TM over WebDAV? I find it dog
slow to use certain features such as the Apple-T search list (does it
re-read all the filenames every single time). I am on a 100Mbit
connection b/n the machines (and the host machine is a P4 monster), so
overall setup performance is good.
Overall performance over network leaves something to be desired. Could
memory caching help improve performance, and could that be set outside
of TM? I use finder to mount the WebDAV share.
Nick
My smart typing pairs seem to have stopped working with 1.1b14, is there
something new about this system with the new syntax format?
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
> According to Ben Jackson: To reset the database use open .tmproj
> You will be asked whether you really want to open that file for the
> first time with TextMate. Answer yes and you'll be set.
Where do I do this from? Home directory? There's no file named .tmproj.
Hi,
there are two things that puzzle me in the LaTeX language mode of TM:
Firstly, the insertion of an \item is bound to -^-, the Enter key or
fn-Return, but all I ever get is a new line without the \item.
Secondly, there is a macro "LaTeX: Generic Completion" that calls "\"$
{TM_BUNDLE_PATH}/Macros/LaTeXcomplete.pl\"";
The file LaTeXcomplete.pl exists in my LaTeX bundle, but I still get
the following error:
bin/bash: line 1: /Macros/LaTeXcomplete.pl: No such file or directory
Other commands, such as LaTeX Tidy work, even though they use the
same TM_BUNDLE_PATH variable.
I have found that with other commands, if you change anything - even
if it's only the key-binding - a copy of the command is generated in
the user's Library/Application\ Suppurt/TextMate/Bundles/ directory.
If the command invokes some file in the main Library/.../Bundles/...,
the command gets broken, since those files are not copied, but
obviously the TM_BUNDLE_PATH variable then points to the user's path.
I have put symbolic links to the original files in my private copy of
the bundle, but this is not very elegant ...
Another minor point is the lack of support for correct syntax
colouring of \verb!%! ... but this is not used too frequently ;-)
I'd be grateful for any help with my problems (perhaps I'm just
missing some setting),
Berndt
Darnit, once again that was supposed to go to the list.
Begin forwarded message:
> From: Charilaos Skiadas <skiadas(a)math.uchicago.edu>
> Date: June 24, 2005 6:59:47 PM CDT
> To: hadley wickham <h.wickham(a)gmail.com>
> Subject: Re: [TxMt] Scope tooltip not working in b13
>
>
> I'm assuming you've removed everything and restarted and all that?
> No idea why this might be happening. On a possibly related note
> though, I tried "Show Keyboard Shortcuts" from the same bundle, and
> it does not show me anything.
> "Restart TextMate" does work though (and "Show scope", for me at
> least).
> On Jun 24, 2005, at 3:35 PM, hadley wickham wrote:
>
>
>> Doesn't work for me in b14 either - have tried in R, markdown and
>> latex syntaxes. Can't see any messages in console.
>>
>> Hadley
>>
>> On 6/24/05, Charilaos Skiadas <skiadas(a)math.uchicago.edu> wrote:
>>
>>
>>> Worked fine for me when I was in b13, and it works fine in b14 also.
>>> Does the console tell you anything about the beep? Does it not work
>>> with a particular bundle, or in general?
>>> On Jun 24, 2005, at 1:05 PM, hadley wickham wrote:
>>>
>>>
>>>
>>>> Anyone else having any problems with this? I press Ctrl-Shift-T
>>>> and
>>>> get a beep and no tool-tip :(
>>>>
>>>> Hadley
>>>>
>>>>
>>>
>>> Haris
>>>
>>>
>>>
>>>
>>
>>
>
> Haris
>
>
>
Haris
[TM beta 14 ...]
I don't really understand why Soft Wrap can now be set in a theme. If
it is already in the View menu, wouldn't you consider this a user
preference and not language specific? I find it very annoying because
I am keeping up with svn and leaving all the defaults set (i.e.
Settings: Basic) and now whenever I switch to any document in my
project for the first time I have to *manually* activate Soft Wrap in
the View menu. I personally cannot see any reason why soft wrap
should be turned on for one language and not another (this to me is an
editing style preference), but even so, should there not be a way for
the user to override this setting? I cannot find anyway to override
it.
Kumar
Sorry for being stupid, but could someone please tell me what the -^-
character that's the default keyboard shortcut for the Continue line
comment snippet in the Source bundle actually corresponds to on the
keyboard? It's #^C (as in the actual single character '^C', not '^'
followed by 'C') as rendered by less on the ascii plist. I've made a
number of educated guesses, but all to no avail. This is just making
me feel stupid. I could rebind it, but my experience has generally
been that the defaults for things like this are actually quite clever,
and I like to know what they are before choosing something else.
Thanks.
-jrk