>> So, this was working perfectly, and then all of a sudden the
>> command started crashing TxMt. AFAIK I did nothing to make it start
>> crashing. Allan, any idea what might be up?
>
> No idea what would do that, other than a bug in WebKit :)
>
> Could you quote the first few lines of the stack dump?
dyld: /Applications/TextMate.app/Contents/MacOS/TextMate Undefined
symbols:
OpenGL undefined reference to _gll_noop expected to be defined in
/usr/X11R6/lib/libGL.dylib
OpenGL undefined reference to _gll_pkey expected to be defined in
/usr/X11R6/lib/libGL.dylib
Looks like an X11 conflict. Found a fix in the following thread:
http://forums.macosxhints.com/showthread.php?p=115505
Thanks :D
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Il giorno 17/dic/05, alle ore 22:22, Oliver Taylor ha scritto:
>> I would assume that the following would assign a scope to an empty
>> line, but it's not working. Any ideas? Is this possible?
>>
>> { name = 'splay.empty';
>> match = '^$';
>> },
>
> IIRC you have to match the \n as well in order to match the whole line
Yeah, I've tried every iteration, \n^$, ^\n$, ^$\n ... as you might
be able to tell I'm really bad with regexp.
any help is appreciated.
> Oh, and change .* to .+ to exclude the current word, i.e.:
>
> completionCommand = 'perl -pe "s/^\t{4}($TM_CURRENT_WORD.+)\$|.*
> \n?/\$1/" <"$TM_FILEPATH"|sort|uniq';
That works great. Don't know what changed. thanks.
I'm creating a custom bundle for screenwriting and I've got most of
it down, but I want to leverage textmate's completion abilities. For
example, I've got this is the language:
{ name = 'splay.character';
match = '\t\t\t\t+(.*)';
},
...to define anything that starts with 4 tabs as "splay.character"
Now, I want to collect all the words in the current document (but
only within the "splay.character" scope, and use them as a list for
auto-completion. So that when I tab 4 times and type "Ki" then
escape, "King John" will pop up.
I know this is done with a shell command (right?) but I have no idea
how to do this.
>> [...] Now, I want to collect all the words in the current document
>> (but only within the "splay.character" scope, and use them as a
>> list for auto-completion. So that when I tab 4 times and type "Ki"
>> then escape, "King John" will pop up.
>>
>> I know this is done with a shell command (right?) but I have no
>> idea how to do this.
> (I assumed the four tabs needs to be at the begin of the line):
yes, correct.
> { completionCommand = 'perl -pe "s/^\t{4}($TM_CURRENT_WORD.*)\$|.*
> \n?/\$1/" <"$TM_FILEPATH"';
> disableDefaultCompletion = 1;
> }
this is exactly what I'm looking for. but... it doesn't seem to be
working, in fact, it seems to be *excluding* everything in the
splay.character scope. Any ideas?
> (the completion command ought to get the entire document as stdin,
> but it currently doesn't).
bummer.
> Try: echo '<meta http-equiv="refresh" content="0;
> tm-file:///path/to/file.html">'
That worked perfectly! My compilation time has now been cut down by at
least another second and I can preview my Flash movie in the browser
where it will actually be used.
+1 for Allan.
:D
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Arrr mateys!
I'm a recent TextMate convert, and I absolutely love it ;). Still, I
have a couple of requests... I searched the archives and couldn't find
much about the first two:
1) On my (Belgian) keyboard, typing a [ or ] requires option+shift+( or
). This makes the block indent shortcuts very cumbersome to use because
the command key is also required, meaning it's a 4-key chord each. One
solution would be to add e.g. command+( and command+) as extra shortcuts
for this (which are 2-key chords for anyone else on a Belgian and French
keyboard).
But in many other editors, there is a much easier and intuitive way to
block-indent: just select multiple lines of text, and press Tab or
Shift-Tab. In TextMate, the first just replaces the selection with a tab
(not so useful IMO), and the second does nothing. So, please consider
adding this feature.
2) The bracket matching seems clumsy. The highlighting is only a short
flash, so you need to move the cursor back and forth to see it again.
And because it only highlights the opening bracket, it is often hard to
see which is the matching closing bracket. Especially when you are
around multiple nested parentheses, and you are doing the 'back and
forth' thing to see it flash again. Finally, it does not work in reverse
(highlight the closing bracket when you are at the opening bracket).
I think it would be a much more usable feature if it highlighted both
brackets in a pair, when you are at either of them and did so
permanently (i.e. based on cursor position) rather than just when moving
over a bracket from left to right (i.e. based on cursor movement). It
would also get rid of the artificial pause it has now.
3) I'd like to voice my support for smarter insertion of bracket pairs
in the middle of text (as has been requested before). All too often, I
get 'foo()bar(...)' when I want to wrap 'bar(...)'. Selecting the text
to wrap first (what was suggested before on the list) just doesn't feel
right to me. My instinct groups the bracket with the keyword in front of
it, so doing keyword -> highlight -> bracket is icky. I'd much rather
have no closing bracket inserted when the next character is not an
operator/whitespace/end-of-line.
I hope having a license gives me at least some nag credits ;).
Steven Wittens
When I try to run HTML Tidy I get following error instead of document:
../../src/config.c:331: failed assertion `option_defs[ optId ].type ==
TidyInteger'
It happens for any content.
I'm running latest build on iMac G5, with TM's plist files copied from my
older mac (if that matters...).
--
regards, porneL
Hi there,
This is some Unicode which looks all overlapped (should be characters
delimited by commas on the data lines) and doesn¹t select properly (half
characters not whole characters) or edit properly (several things rather
than one disappear when you press backspace)
Here¹s how it should look
Can give you the file if you need it.
Tim
the "mate" command-line tool is great, but i find myself also wishing
that i had some way to pipe input into a textmate html window, e.g.
rather than
long_running_command | mate
which waits until the command is completed, and then throws the
output in an editable text window, i'd like to be able to say
long_running_command | pre | mate -html
and get a continuously-updated, non-editable window (with the option
of adding javascript and formatting).
i could see how to hack this up myself if there were a way to
initiate a textmate command from outside textmate (i.e. provide
stdin, a command line, and one of the standard output choices
(arguably only "show as html", "show as tool tip", and "create new
document" would really make sense)) -- but i couldn't see how to do
this (i'm no applescript wizard, but i poked through the scripting
dictionary).
is there some trick here i'm missing? if not, consider this a
feature request...
I'm trying to update the svn-commit.tmp language definition to work with
SVK, but am having some difficulty. In SVN, the temporary commit file is
always named 'svn-commit.tmp' or 'svn-commit.2.tmp'. So the following works:
fileTypes = ( 'svn-commit.tmp', 'svn-commit.2.tmp' );
In SVK, the temporary commit file is named 'svk-commitXXXXX.tmp' where
XXXXX appear to be five random alpha-numerics. I haven't been able to
figure out how to match this. Am I missing something?
Thanks,
Sean
Hi,
sometimes I test quicly my html files on the Desktop and I use this
in bundle:
open "http://localhost/desktop${TM_FILEPATH#$HOME/Desktop}"
(after to set for this one the httpd.conf file)
ok, but if an html page has spaces in the filename (I know this is
not correct) the above command doesn't work.
Is it normal?
How to correct it, please?
thanks and regards
Salvo
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
sorry to post this on the list rather than to the actual author of
the bundle, but i'm busy in the middle of a project and just wanted
to get the request off my chest and get right back to work.
whoever did that - you just scared the living s**t out of me, when I
hit ^d in the middle of coding (forward delete normally) and my whole
source code went wonky... argll...
thx,
tom
- --
Tom Lazar
http://tomster.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iQIVAwUBQ53ujdeSJSslDUEWAQIGnhAAiS4/JZDfkfeYegoEuZ6sIcOLVWizJo8z
4EqfD+RYgrP+F1Wn0Joa2VVR4NvyLUMCbW6+wZSKVEBf/ZirVCe7swbN8R5/11E3
meVV3yjIT26ixVNR9zcfVBEB8E2c+F/KSDeWWfS/UFTlf+9pvCUdLK8o9wCRJBFm
ShG9No+u251PuJ1QOZn1Qgw8TdlCykD1AwN3ABbIm0tUZFmZaE/wLAEFZxc7LwNu
JCQ1ImnLOBorzUr//81mw4wxgF1gWHxX1U3/5W5UjguDRWV2D8x/VwsxZSBmZTG6
07Yog9KI1TRt5iBQdRXyZ5CiLoXbp9evG7pyONYF9eMhnzg59ZvZP9s0hs85sJnq
yCwRjLmKHLc/z50OISd1g18CmlyvvuQvwI9WSpJgNpwFu5ECCYHTV6kj+Bo8R5xX
ANWx8c8D3X0/TSTtax9ifqkix86xZ9xxoNiMVOlvHlugD3sOUAaEH/2KVXTkKvzP
M1g/3p1iBucLcC5vSnDgyjDBUC5N6flWC05ujHYkofcboZ2oDYP3td56dLxv+AeM
awF/T2LvPvPPSsI4CWp7YdCgH/BtDwORMle13AziA2Dqr8NgC0YW+MeZ5tNsULBD
6wVbMBOspK0KRCxh8SMo+3YSk8JgBQpBZGpl2JKinDgK/mTgwrcdPeWhog7NFqOO
Rw8kP/XqVHo=
=Phat
-----END PGP SIGNATURE-----
Hi,
I got a couple of suggestions.
First of all, open URL:
I'm used to clicking on a URL in a text and go to that URL in a
webbrowser. In Mac OS 9, there was an extension that allowed to do that
by command-clicking on any URL. In Mac OS X virtually all text editors
or text viewers, if you right-click on a URL, you get a menu which
(among others) says "Open URL". Try BBEdit, SubEthaEdit, Stickies, or
TextEdit. They all have this feature. Except for TextMate. Perhaps I can
create it using "Filter Through Command...", but that's clumsy. I
suggest to add this feature like in all other editors.
Second, Diff's:
Well, this has been discussed on the list before. The diff function in
TextMate is not really useful. Actually, Compare Texts is still the only
thing I use BBEdit for. Even though Apple's FileMerge does a better job
of showing the diff's (much better then either BBEdit or TextMate),
BBEdit most definately has the best integration of viewing AND editing
diffs, as well as ignoring line endings and white space (TextMate diff
can't handle anything but unix line endings). This is very high on my
wish-list for TextMate.
Last, draffing URL's:
Dragging. I struggled long to understand "DragCommands" (there is not
useful mention of them in the help or on the wiki). I would love to be
able to make a DragCommand that allows me to drag a URL to a HTML text
file, and that the drag then automatically inserted a <a
href="$URL">$name</a>, preferable with the previous selection as the
$name. However, it seems that now, DragCommands only work on files, not
on other drags like URL's and images.
Oh, sorry if I sound critical. I love TextMate. I really adore the UTF-8
support (actually that was the single most important reason for me to
make the switch to TextMate as my default editor). Keep up the good work!
Regards,
Freek Dijkstra
Hi everyone,
Is there a way to display the files label colors in the project
drawer? I'm talking about the color labels that you set with a right
click on a file icon in the Finder. Somehow, every year or so, often
when merging several file hierarchies, that feature is invaluable.
Any ideas ?
Cheers,
- n.
Thank you for the quick responses.
I fixed the problem in the following way: opened "misc" in textmate
via "mate misc", saved it as UTF-8. Apparently the odd character
mentioned by Allan was fixed by this operation.
I had earlier tried a conversion via "reopen with encoding" UTF8 but
that did not make a difference. However, using "save as" w/ UTF8 on
top of the older version did fix the problem.
In terms of why not use a .sh extension, I have to confess to being
an old unix guy and never got in the habit of typing foo.sh when I
can type foo instead!
Anyway, we're go, thanks for the help.
-- Owen
Owen Densmore
http://backspaces.net - http://redfish.com - http://friam.org
Hey!
I just watched the 10 minute Ruby on Rails intro video
(http://rubyonrails.ams.cachefly.net/rails_setup.mov) where TextMate
used a pane for project files instead of the shelf. The pane looks
good, any chance it will return?
I realize this will make TextMate look a lot more like Xcode, but that
wouldn't bother me..
Perhaps something similar to the one in Mail2 (Tiger) .
hans petter.
Hi folks. I've tried TextMate a while back and in *instantly*
replaced my use of jEdit. Wow, hard to believe you can get a unix
class text editor with Mac grace all in one package. Congrats!
I've the following problem:
- I've created a project called Daily that I have the files I edit
often: Notes, Log, Bashrc, ToDo, etc. I add files to the project by
simply using Add Exiting Files ...
- This generally works but I've got one shell script file "misc"
that is used for quick shell hacks. When I include this in my
project, it does not show in the tabs or in the edit pane.
- The file is a bit odd: it looks like this:
#!/bin/sh
<current hack>
# ----------------------------------------------------------
exit
# ----------------------------------------------------------
<past hacks>
# ----------------------------------------------------------
...etc to EOF.
Note the "exit" used to let prior hacks be available for reference,
yet not be executed when misc is called. The file is here if that
would help: http://backspaces.net/files/misc
So basically I'm trying to add an existing file to the project and
although the name shows in the drawer just fine, double clicking on
it does not put it in the tabs or edit pane.
Note that the file works fine outside of the project .. i.e. if I
execute "mate misc" from the terminal, I get a new window with the
file showing correctly.
I suspect I'm doing something dumb but..any help appreciated!
-- Owen
Owen Densmore
http://backspaces.net - http://redfish.com - http://friam.org
Alan - thanks very much!
I love getting these autoupgrades when I launch TextMate - it's like a
little Christmas every time. I'll really be looking for the next one.
David - if you haven't found this yet, Xyle Scope already has TextMate
listed under Known Editors in the Preferences.
When you have something selected in Xyle Scope, you can choose File >
Open file_name With > TextMate, then edit with TextMate.
Thanks for chiming in, Ben!
Howdy,
a) I can't refresh Firefox 1.5 , I obtain a new empty window :(
The script is :
# Check if Firefox is running, if so refresh
[[ $(ps -xc|grep -i firefox) ]] && osascript -e 'tell app "FireFox"' -
e 'activate' -e 'Get URL "JavaScript:window.location.reload();"
inside window 1' -e 'end tell'
b) Is it possible to refresh Xyle ?
Thanks and Greetings
Alain Matthes
Hi,
I use my ftp client Cyberduck with Textmate, every time I edit a file
(double click on a file in cyberduck), it will open a new window in
Textmate, for every file I click on. Is there anyway to config
Textmate so that Textmate can open files in tab by default?
Thanks
Kelvin
Hi,
I'm new on the list, so sorry for stating the obvious.
The documentation of TextMate is terrible.
<rant>
After using TextMate for some time, and struggling with many features, a
collegue pointed that there is some documentation at
http://macromates.com/doc/
However, there is no link to this URL. Please make a link to this page
from the home page. Now, please.
Thanks. What? You haven't done so? Stop reading then! Please do it
*NOW*, before other people waste their precious time.
I had to find the function of multiple functions (e.g. how DragCommands
work, that they only work with file, not URL's, how tab triggers work,
etc. etc.) by Googling and reading earlier posts on the mailing list. I
really could have saved a lot of time if I knew earlier that there was
some documentation out there. In fact I strongly recommend to add a menu
item in the Help menu which directly links to this documentation, and
release a minor update :-)
</rant>
I just started reading the docs, and here is some first comments:
Please change the order of the paragraphs "Selecting Text" and "Editing
modes" on the "Working with Text" page. "Editing Modes" discusses the
column mode, which was introduced in "selecting text", so the later
paragraph must come first. In the current order, the "Editing Modes" was
hard to comprehend.
Regards,
Freek Dijkstra
PS: This is a re-sent; my original posting seems to be rejected because
the list software was a bit slow, and thought I wasn't on the list yet.
Sorry if you get this twice.
Hi,
I'm new on the list, so sorry for stating the obvious.
The documentation of TextMate is terrible.
<rant>
After using TextMate for some time, and struggling with many features, a
collegue pointed that there is some documentation at
http://macromates.com/doc/
However, there is no link to this URL. Please make a link to this page
from the home page. Now, please.
Thanks. What? You haven't done so? Stop reading then! Please do it
*NOW*, before other people waste their precious time.
I had to find the function of multiple functions (e.g. how DragCommands
work, that they only work with file, not URL's, how tab triggers work,
etc. etc.) by Googling and reading earlier posts on the mailing list. I
really could have saved a lot of time if I knew earlier that there was
some documentation out there. In fact I strongly recommend to add a menu
item in the Help menu which directly links to this documentation, and
release a minor update :-)
</rant>
I just started reading the docs, and here is some first comments:
Please change the order of the paragraphs "Selecting Text" and "Editing
modes" on the "Working with Text" page. "Editing Modes" discusses the
column mode, which was introduced in "selecting text", so the later
paragraph must come first. In the current order, the "Editing Modes" was
hard to comprehend.
Regards,
Freek Dijkstra
> Is there a way to add Xyle Scope to the list of browsers that will do a
> preview under the HTML Command?
That would be awesome!
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Are there any plans for, or any interest in, making it easier to see
and set the newline style of open files? Right now it seems you can
control this only through the Preferences dialog, and there's no
at-a-glance way to tell (or change) what newline style an open file is
actually using.
The absence of this bit me last night, when I made changes to
someone's PHP file that had been saved with Mac newlines. I had added
some HEREDOC-quoted text, and the script started throwing parsing
errors which completely stumped me until I opened the file in Some
Other Text Editor and saw that it was using Mac newlines.
A newline type selector/indicator in the bottom bar is the most
obvious thing to do (it might even be combined with the spaces/tabs
popup), but I'm sure there are other ways to do it as well.
Possible?
thanks
pb
--
Paul Bissex
http://e-scribe.com/news/
Northampton MA USA 01061-0847
First wanted to say I love textmate. It and amazing piece of work
and I just recently discovered it. (I just switched to a mac a few
months ago).
i'd like to see an option to sort folders first in the files panel.
I am not sure how possible this is with the cocoa controls
Another suggestion (and I think it was already purposed) is to be
able to double click on folder names.
I just wanted to see if this was a possibility before I purchased :)
-- Eric
--
Eric Coleman
http://aplosmedia.com
home: 412 399 1024
cell: 412 779 5176
i'm sure there's been discussion of this before, but was wondering if there
was anyway to add a preference to have the tabs for the open files of a
project wrap to multiple lines instead of limiting them to one line and
having that dropdown menu on the right show up. i like to see ALL the files
i have open at once and can't stand that dropdown. is this possible? it
seems the 'tab component' should be able to handle this. i can look into it
if you'd like...
thanx!
- jamal
I've been using the macro below on my laptop with TextMate for quite a
while, and just realized I didn't have it on my G5. I went to record
it and ended up having a terrible time. It seems that with newer
versions of textmate (I couldn't tell you which version I was on when
I recorded it on my laptop) when you record the macro below, it adds
an "insert text" command with whatever tag has been inserted.
The macro:
In an HTML document, type < (it inserts <>, but ignore
that), now do:
1) Automation / Start Macro Recording
2) Backwards delete (to delete <, which also removes >)
3) Automation / Insert Closing Tag
4) Automation / Stop Macro Recording
Now save this macro, give it key equivalent /, and here's the sneaky
part: set the scope to: text.html invalid.illegal.incomplete
The scope controls when the macro should "fire", and if you press
ctrl-shift P inside <>, you'll see the scope of that position, which
is what's quoted above. So only inside <> will / fire this macro,
which first removes the <> and then inserts the closing tag.
In newer versions, instead of just coming out with
deleteBackward:
insertClosingTag:
it also adds
insertText: </html> (or whichever tag you happened to be closing)
I was able to open up the recorded macro in the Property List Editor
and remove the third command, but that is not a very elegant solution.
This was working properly in the past!
-Kevin
Hi,
I suspect you're going to say 'no, it's a limitation of the way the
parsing is done', but would it be possible to collapse white space in
the display of symbols? See the attached example. The file itself
has these items being split by a newline and indentation...
Actually, on a related note, it would be really nice if the auto-
indentation would behave in the way I want it to for indented
function arguments. That is, if I hit enter inside an open bracket,
the next line should be indented to one beyond the open bracket on
the previous line. And when the corresponding closed bracket
happens, the indentation should revert to what it was before. As an
example:
tickets = self.sql.listTickets(ticket_id = id,
/* Caret should be placed at the
'/' of this comment. */
support_of = 123,
account = 'foo(a)acmewidgets.example')
/* Caret should be placed at the '/' of this comment. */
Is it possible to do this?
--
Mail: mathie(a)woss.name | Web: http://woss.name/
AIM: Math1e | PGP: 1024D/D72F2737
I do a lot of coursework for University in Textmate - which means I'm
always printing out my code for marking. Thing is, currently, I'm
having to switch over to Xcode to print each time so I can do so in
Colour. It makes it a ton easier for the marker.
Is there any chance Textmate could support colour printing and also
being able to set the text size and font?
Dave Winter
http://commanderbond.net
On 06/12/2005, at 15.45, Jamal Johnson wrote:
> i'm sure there's been discussion of this before, but was wondering
> if there was anyway to add a preference to have the tabs for the
> open files of a project wrap to multiple lines instead of limiting
> them to one line
I'm pretty sure the conclusion was that it's a bad design element to
have multi-line tab bars. I at least dislike it in Windows, and it
could also be hard to make it look 'right', but... :-p.
-- Sune.
yeah, from the quick research i did that's what most people were saying.
however, having it as a 'checkbox option' in the prefs would give those who
believe it's bad design the ability not to use it, and those who like it
that way the ability TO use it. but from what i also read, it might be a
little hairy to implement...
On 12/6/05, Sune Foldager <cryo(a)cyanite.org> wrote:
>
> On 06/12/2005, at 15.45, Jamal Johnson wrote:
>
> > i'm sure there's been discussion of this before, but was wondering
> > if there was anyway to add a preference to have the tabs for the
> > open files of a project wrap to multiple lines instead of limiting
> > them to one line
>
> I'm pretty sure the conclusion was that it's a bad design element to
> have multi-line tab bars. I at least dislike it in Windows, and it
> could also be hard to make it look 'right', but... :-p.
>
> -- Sune.
>
>
Hi,
Outliners are a good tool for organising many things.
I strive to keep everything in plain text.
The best outliner to my tastes that I've found so far is Vim's
excellent outliner mode.
http://vimoutliner.org/
It does that vim 2-keystrokes-and-you've-rearranged-the-furniture
thing to a tee (tea? T?). There's also a unix tool called hnb (not
sure if it's on OS X):
http://hnb.sourceforge.net/Links/
My question is, does anyone here on this list use, or hope / intend
to use, TextMate as an outliner? I mean, you could almost use the
drawer alone, but that kind of inverts the plain text thing (plain
file nodes, anyone?)
has anyone got any ideas on how TM could be scripted / used as-is /
etc to facilitate use as an outliner? I only get to use TM / OS X at
home (working on it though ..), so any advice from more practiced TM
users appreciated.
cheers,
David
Hi all!
Is it possible that whenever TM is invoked from a Spotlight query, it
automatically jumps (when present) to the first occurrence of the
search term(s)?
I've had a look at Apple's documentation on the developer site, but
not found any information on whether it's possible, although
Preview.app certainly does it for PDF documents.
Thanks,
Daniel.
Hi,
I don't suppose it would be possible for Textmate to make an attempt
to 'guess' the tab size (and whether the file is using hard/soft
tabs) when a file is opened? I often wind up editing other people's
code and, usually, they wind up using something other than 'soft
tabs: 2'. So I regularly have to fiddle with the tab size to make
things match up nicely.
ISTR a previous editor I've used, WingIDE[1], having this feature,
and it was really handy... And no, that's not an 'every other editor
does it' -- it's the only time I've seen that feature, but it was
really useful!
Oh, even better! I'm looking at the code for Typo just now, and it's
not even consistent throughout the code! In fact most of it is 'soft
tabs: 2', just views/articles/taglist.rhtml (the first one I happened
to want to edit) that's using hard tabs...
[1] http://www.wingware.com/
--
Mail: mathie(a)woss.name | Web: http://woss.name/
AIM: Math1e | PGP: 1024D/D72F2737
There is no bundle for Verilog HDL, but it has a lot in common with C
and Pascal, so I duplicated the C language and have been hacking on
that to get the syntax coloration mostly working. I've run into a bit
of trouble with the constant expression syntax though. In Verilog
constants have this form:
8'b00100011 (8 bit binary)
6'o35 (6 bit octal)
12'h3A2 (12 bit hex)
The initial number is optional, so 'b10110 would be a 5 bit binary
constant. In addition to numbers, z and ? can also appear sometimes to
indicate high impedance or indeterminate values. I've tried the
following syntax for the binary constants:
...|([0-9]*)\'b[0-1zZ\?]*)|...
When I hit the test button it highlights everything from the b on. I'm
guessing it is not able to escape the single quote. I've also tried
escaping the b as well and it didn't make any difference. Is there a
way around this? Is there somewhere I can find the detailed syntax
rules for the matching expressions and bundles in general? I did a
quick look through the WIKI and didn't see anything obvious.
Hi All,
Just wondering if anyone else is having issues with importing newer
Xcode projects with external project references into TextMate? Mine
throws the following error:
2005-12-04 22:15:20.646 xcode_to_tmproj[7025] Tried to set undefined
key 'projectReferences' of class 'PBXProject' to '(
{
ProductGroup = EAB7BCD90924DDB40067CDFD;
ProjectRef = EAB7BCD80924DDB40067CDFD;
},
{
ProductGroup = EAB7BCD00924DDAB0067CDFD;
ProjectRef = EAB7BCCF0924DDAB0067CDFD;
},
{
ProductGroup = EAB7C03C0924F7DD0067CDFD;
ProjectRef = EAB7C03B0924F7DD0067CDFD;
},
{
ProductGroup = EAF8C92B09076E8C003D54B1;
ProjectRef = EAF8C92A09076E8C003D54B1;
},
{
ProductGroup = EAF8C94E09076F38003D54B1;
ProjectRef = EAF8C94D09076F38003D54B1;
}
)'
2005-12-04 22:15:20.665 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'General User Interface
strings '
2005-12-04 22:15:20.665 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Action and Action Group
names and descriptions '
2005-12-04 22:15:20.666 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Built-in Primitive Names'
2005-12-04 22:15:20.666 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Virtue Bundle
Information Strings '
2005-12-04 22:15:20.666 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Desktop Color Label'
2005-12-04 22:15:20.667 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Desktop Name '
2005-12-04 22:15:20.667 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Desktop Template
Preferences'
2005-12-04 22:15:20.667 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Desktop Layout and
Pager Preferences '
2005-12-04 22:15:20.668 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Trigger Preferences'
2005-12-04 22:15:20.668 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Appearance Preferences'
2005-12-04 22:15:20.668 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Application Preferences'
2005-12-04 22:15:20.669 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Extension Preferences'
2005-12-04 22:15:20.675 xcode_to_tmproj[7025] unknown
class:PBXReferenceProxy
2005-12-04 22:15:20.675 xcode_to_tmproj[7025] *** Assertion failure
in -[XCProject unarchiveObjectForKey:], XCProject.m:143
2005-12-04 22:15:20.676 xcode_to_tmproj[7025] *** Uncaught exception:
<NSInternalInconsistencyException> Invalid parameter not satisfying:
theClass
Is this something I can fix myself? I'd rather be using TextMate for
my coding purely for speed and convenience, but this error is
stopping me dead in my tracks!
Tony Arnold
http://tonyarnold.com/
“The university was great. They gave us money and facilities,
but we didn’t have to produce anything. I’ve worked in the
private sector. You don’t know what it’s like out there. They
expect results.” -- Dr Ray Stanz, Ghostbusters
Hi,
I am a big fan of the Sunburst theme (thanks Soryu). I like it
because it has a black background with lots of contrast and a crisp
feel to it. I really hate white backgrounds for editing.
So it spoils the editing experience a little then the way the drawer
stands so starkly "black on white" right next to my editing surface.
Would it be possible to include styling of the drawer (and maybe other
TxMt elements such as the tab bar) in a Theme?
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
I just had a little idea for a symbol list in markdown, and thought
other people might be interested in it. I wanted to get the symbol
list to show the first 8 or so words of each paragraph, kind of like
a mini summary. You can accomplish this by creating a new preferences
file, pasting the following code in it and setting its scope to:
"text.html.markdown markup.paragraph"
/* preferences */
{ showInSymbolList = '1';
symbolTransformation = 's/^([A-Z](([^ \t]*[ \t]*){1,8})).*$/$1/g;';
}
This is supposed to only pick lines that start with a capital letter.
For some reason though, it doesn't. Any ideas?
Haris
I generally like smart typing feature, but it gets in the way sometimes.
For example if I want to add parens around expression, I often just get ()
before it (if expression starts with ! or $).
It's horror when I need to change double quotes to single quotes. I end up
having something like: "'""'"
Is it possible to configure it to work only when there is whitespace/EOL
ahead of cursor? Or to disable it for cases I mentioned above?
I don't want to disable it completly and I don't want to add symbols to
word characters list.
--
regards, porneL
Hi,
Will there be more text encoding support? Like for Japanese(Shift-
JIS), Chinese(GB-2312) or Korean? I think this issue has been bought
up before, but it didn't get my attention until lately.
I have been working on websites in different language: Chinese,
Japanese and Korean, and it was a horrible experience. I had to add
some pages to the existing websites, so i can't really changed all
the text encoding to unicode. Also, I have been told that there are
some missing characters in unicode for Japanese, so even the
government won't use that.
My nightmare stopped when bbedit came to rescue, it supposed all of
the text encoding I need. But then I want to stick to Textmate, and,
well, bbedit is simply far too expensive!
My guess is that I will need to maintain those websites in the
future, so it will be great to see textmate supporting more text
encoding!
Thanks
Kelvin
Hi folks,
I quite often seem to find stray whitepsace at the end of my lines
when I'm editing Ruby code. I'm reasonably certain that I'm not going
around adding a tab here or there to the end of lines (it's not every
line).
It doesn't seem to be harmful but, as a neat freak, I find it
distressing. I assume that it's TxMt that's adding it because I can't
think where else it can be coming from. Does anyone else see this?
Does anyone know how to stop it?
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
I work in either 9 points monaco or 12 points anti-aliased monaco, is
it possible to switch between these two with a simple hotkey?
(also, to be really perfect, I'd like it to switch themes because I
disable all bold and italics in my favourite themes because of 9
points monaco, but they look good with 12 points and so ideally I
should switch between two themes as well, I think this can be done
but I'm not entirely sure how)
Andreas
Hi :)
Sorry, if this has already been this discussed, but I couldn't find
anything related. I'm looking for a way to alter the appearance of let's
say subsection headers in the Symbol Popup. Normally these would appear
the same way as would sections. So I want to have subsections be
slightly intended as for example class methods are in Python language
bundle. My problem now is, I couldn't yet find out how this is achieved
there :) I'd really appreciate any help on this matter :)
Best wishes,
Horst "zeroK" Gutmann
http://weblog.zerokspot.com