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