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/
On 29/11/2005, at 21:45, Nicholas Orr wrote:
> <?xml version="1.0" encoding="UTF-16"?>
That's the problem. This will make xmllint (used by the Tidy command)
return the result as utf-16, but TextMate expects it to be utf-8, and
so it'll show up wrong.
There's a few options:
1) convert the files from a script instead
2) change to "UTF-8" (remember to convert the files to utf-8 as
well, if they're currently in utf-16 format)
3) change the “xmllint --format -” line to “xmllint --format -|
iconv -f ucs-2 -t utf-8” in the Tidy command (Bundle Editor -> Show
Bundle Editor -> XML -> Tidy).
Since it sounds like you have a lot of files to convert, option 1 has
advantages in itself over manually selecting Tidy from TM.
Personally I'd use a script, but also let the script convert the
files to utf-8 (utf-8 is generally a better encoding than utf-16, and
while my reference to this is vague, I think part of the Unicode
consortium do see utf-16 as legacy, especially now that it no longer
has a 1:1 mapping to unicode code points (because of ucs-4)).
I have nothing against emacs -- I like it and use it a lot, in fact --
but I had to laugh when i followed a Google URL in my referrer log and
discovered that the current top Google result for these words
emacs markdown integration
is a blog posting of mine about TextMate!
pb
--
Paul Bissex
http://e-scribe.com/news/
Northampton MA USA 01061-0847
is there some sort of control over the symbol selector (dropdown on
the lower right in files such as javascript that allow you to 'jump'
to functions)?
> From: Jay Soffian <jay(a)soffian.org>
>
>> Finally, pycheckmate didn't work for me. The first reason had
>> something to do with using a specific Python installation, rather
>> than the environment Python.
>
> Not sure what this is referring to. pycheckmate.py should work fine
> with /usr/bin/python. At least, it does on the systems I've tested
> it on.
>
>> I fixed that, and then the second problem was that the custom
>> popen relied on poll, which wasn't included in the framework
>> Python build.
>
> Yep, that was an oversight and the latest version I sent you uses
> select intead.
>
>> I am using ActiveState's Python2.4, so I got rid of the
>> customization of the standard library class. The general approach
>> I took probably would let you use some of the 2.3 popens too, and
>> get rid of maintaining that extra bit of code.
>
> 2.3.5 doesn't include subprocess otherwise I would have happily
> used it.
>
>> Pycheckmate also wasn't guessing where to find an installed
>> pychecker very well--I guess the intent was that you were supposed
>> to configure the environment variable in TextMate. That seemed
>> unnecessary for the common case of installing via distutils. I
>> fixed that at the start of the attached file--a bit of a hack,
>> maybe, but nicer first-use experience.
>
> I've already fixed this in the latest version I sent you. The
> contributor must have been looking at the previous version.
looks like it was my fault :)
> Please forward this back to the original sender. :-)
>
> j.
Hi. I liked TextMate but it wasn't quite ready for me. I'll check
back in on it in 2006 sometime and see how it's doing then.
In the course of my evaluation, I changed some settings to try and
get closer to what I expected. I gave up when I discovered that the
current approach to code folding (finding code block ends,
specifically) was apparently fundamentally incompatible with Python.
However, I thought some of my changes might be worth reincorporating
in your product. Some of them are arguably preferences, and others
have odd dependencies, but they are at least worth a look.
First, I added an increaseIndent that increases indent on an open
parenthesis:
/* preferences */
{ increaseIndentPattern = '^\s*(class|def|elif|else|except|finally|
for|if|try|while)\b.*:|^.*\(\s*$';
shellVariables = (
{ name = 'TM_COMMENT_START';
value = '# ';
},
{ name = 'TM_COMMENT_END';
value = '';
},
{ name = 'TM_COMMENT_MODE';
value = 'line';
},
);
}
That's pretty standard Python style. I was also curious to see if I
could make a line break inside a parenthesis autoindent to the open
parenthesis, but didn't see a way to do that.
Second, the foldingStartMarker probably should include `if` and
`for`, and maybe even some others...I didn't bother thinking about it
once I got into a seeming dead end with the foldingStopMarker. That
said, here's a little improvement in this part of the parsing.
foldingStartMarker = '^\s*(if|for|def|class)\s+([.a-zA-Z0-9_ b]+)\s*
(\((.*)\))?\s*:|\{\s*$|\(\s*$|\[\s*$';
Finally, pycheckmate didn't work for me. The first reason had
something to do with using a specific Python installation, rather
than the environment Python. I fixed that, and then the second
problem was that the custom popen relied on poll, which wasn't
included in the framework Python build. I am using ActiveState's
Python2.4, so I got rid of the customization of the standard library
class. The general approach I took probably would let you use some
of the 2.3 popens too, and get rid of maintaining that extra bit of
code.
Pycheckmate also wasn't guessing where to find an installed pychecker
very well--I guess the intent was that you were supposed to configure
the environment variable in TextMate. That seemed unnecessary for
the common case of installing via distutils. I fixed that at the
start of the attached file--a bit of a hack, maybe, but nicer first-
use experience.
Hope some of that is helpful.
Gary
Hello.
I know the mac isn't really the most popular platform to develop for
windows.
But...
Does anyone here use textMate to develop ASP VB.NET code?
Is there a VisualBasic language module other than the ASP bundle?
Is anyone working on an ASP.NET bundle?
If I made an ASP.NET bundle, would anyone use it?
What are the requirements for submitting a new bundle to the official
deal?
I don't have a lot of time to work on this stuff, but over the past
year i've cobbled together a usable asp.net bundle from the asp
language (as it existed at the time)
I had to modify the HTML language module to get it to work properly.
Recently I just made a copy of my custom HTML for asp.net language
and updated my html bundle to the latest svn checkout so that I could
use it with ruby. (they both use the <% %> syntax for code in html)
I havn't been able to figure out how to overwrite rules properly.
I want to update my asp.net language to use the latest HTML bundle,
but I need to force it to understand my ASP instead of ruby or the
normal asp, without modifying the HTML bundle.
In CSS, you can force importance by using the !important keyword.
I'd like to be able to do something similar with scope definition. I
want to select the ASP VB.net (HTML) language, and it import the
entire HTML bundle & say, import everything in the HTML language,
except, everything within <%%> & <tag runat="server">...</tag> ,
don't let the HTML language mess with that stuff, no matter where it
is in the code.
I havn't gotten any sleep lately, i'm probably blithering