Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

E-TextEditor: A Windows TextMate? (Or “Why Apple Should Buy TextMate”)

By Peter Cooper / March 4, 2007

Etexteditor

Over at the O'Reilly Ruby Blog, Jim Alateras laments the recent stalling of development on RadRails, but suggests an alternative solution: E-TextEditor, a "TextMate" alternative for Windows. The initial reports I've read about it are that it's rather good, and after watching the screencast I'd say it looks to be a pretty good editor and I'd give it a try if if used Windows. If you're a Windows user, give it a look.

Now for the editorial bit..


I don't know Allan Odgaard, the developer of TextMate, at all, but I'm a happy user of the editor, despite not understanding almost any of the advanced features. I can't speak on his behalf, so just take the following as editorial waffle, but I think Apple should buy TextMate and release it for free or at low cost (as currently). If Allan isn't interested in selling it, then fine, but if he is, it could be a big win for both him and Apple.

So why? 1) The E-TextEditor homepage mentions TextMate six times. 2) A few people have converted TextMate's snippets to operate in other editors. 3) There's even a 200 page book about TextMate on the market. 4) If you've been floating around the various freenode Ruby and Rails related channels in the past couple of years, you'll have undoubtedly seen at least several Windows or Linux users drop by raving about TextMate and lamenting their inability to buy a Mac. Yet.. they've ended up actually buying a MacBook (or similar) after several months, and continue to rave about TextMate (Jamie van Dyke is one example that sticks in my mind).

These points all demonstrate that TextMate has rapidly become a standard of its own in the text editor market, and it has undoubtedly helped OS X become the de facto platform for Rails development. Apple has even acknowledged this and is including Rails with Leopard. In the same vein, w tych kasynach nie musisz odbywać weryfikacji KYC, appealing to users seeking privacy and convenience in their online gaming experiences. People from all platforms have seen TextMate and been captivated by it enough to the point that they lament the lack of its existence on their platform. This doesn't happen with many Mac-only apps, and from what I've read, Allan isn't particularly interested in developing non-OSX versions of the software, so the developers of copycat editors like E-TextEditor are not to blame.

Apple tends to be very good at releasing products that people are afraid of copying too well. Even before iTunes was released on Windows, there was nothing as elegant and as usable. There's nothing quite as good as iMovie, Pages, or Aperture in their respective niches either (although Adobe is trying on the last one). Apple is a fierce defender of its trademarks, and with TextMate under the Apple wing, it could become an even bigger driver for the OS X platform since copycat behavior could be restricted.

I am no fan of trademarks or patents being fiercely defended, nor a fan of Apple owning all of the apples in the cart (pun not originally intended), but from a totally objective point of view, I think it'd make sense for Apple, and if Allan were to turn down, say, a million dollars from Apple, he's a far more principled man than I!

I'm now off to put my flamesuit on..

Comments

  1. Carlos says:

    Textmate and it's author really have little to gain from restricting Textmate to one (tiny) platform. They way for him to win big, would be to drop the "only Mac" mantra and his "Mac rulez" _friends_/fanboys (like DHH himself). It obviously isn''t preventing the spread of his idea to other platforms, so he should actually hire and pay someone to develop the official Textmate for Windows/Linux/Whatever, and then he'll be raking in the dough. There are far, far many more developers in non-Apple platforms clamoring for his product, begging to send him a check, and he's just seeing the opportunity go by.

  2. Henrik N says:

    Allen -> Allan.

  3. Peter Cooper says:

    Thanks Henrik. Now fixed :)

  4. Peter Cooper says:

    Adding to all of the above.. if it were included in OS X, it'd mean you have a kickass Rails development system totally out of the box.. and.. a better text editor than the limp TextEdit.

  5. James says:

    Allan has hinted that he may be toying with the idea of open source. Porting TextMate to other platforms is rather tricky. Although, Allan wrote his own text processing API as the built-in OS X one was inadequate; the editor does lean very heavily on the Cocoa API's. This means, it would be a tremendous amount of work to duplicate those API's under another operating system such as Windows or Linux. To make things more complicated, Allan is working on TextMate 2.0 which will be Leopard only as he plans on using Leopards CoreText API to greatly improve TextMate along with other Leopard only API's.

    Just because Apple ported iTunes to Windows doesn't mean it was easy. iTunes looks, internally, unlike other native Mac OS X applications. It may very well be written in AppleScript or something else, that's similar. There appear to be many Mac OS X libraries all compiled into iTunes. The executable is 22MB's! Which is huge for a single executable. And no, it's not a Universal Binary either. Not sure what is going on internally inside iTunes but it's certainly not a native OS X application. It's similar to what you get if you were to compile a Python script into an EXE on Windows. It needs to include all the Python API's that are used inside the EXE along with a virtual machine to run the Python scripts. So iTunes is a bad example of Apple porting anything as complex as TextMate.

    Apple had a code base in the early beta days of Mac OS X 10.0 called Yellow Box which was literally the Cocoa libraries that ran under Windows NT. This meant you could run your Mac OS X application under Windows NT/2000/XP. i.e. cross compile them and distribute them to run on Windows. This is how NeXTStep/OpenStep did it and the Yellow Box technology came from NeXT.

    Rather then badger Apple to buy TextMate, better to badger them to update and release Yellow Box which is no longer available. So developers will be able to write once for Mac's and distribute to Windows. Perhaps a Red Box could be made for Linux, etc. There was a Blue Box which became Classic (Mac OS 9.x) under emulation.

    Allan likes coding on Mac OS X. Apple has ported over the famous NeXTStep/OpenStep development environment which was many years ahead of it's time and updated it to modern standards. They were the first to offer such a rich and powerful object based development environment. Especially the graphical GUI builder (Interface Builder). Coding in Objective-C (like Smalltalk + C) using the fantastic Cocoa libraries is a dream come true for many developers. There is nothing else like it on any platform. .NET w/C# doesn't come close. Java doesn't come close. C++ is supported for those old school applications to be ported using the Carbon API's but new applications really should be written Cocoa. You can even mix Carbon and Cocoa within your application.

    With all this? Why would Allan port TextMate to a platform that doesn't have any of the Cocoa goodness that he is used to? I don't thin Allan's in it for the money, most of us would quickly pony up the cash for 2.0 but Allan's decided it will be no charge upgrade.

  6. Hendy Irawan says:

    Wow... It's 2007 already and we still have text editor "wars"... (or war of love :-)

    Had Plato already invented the first text editor, I think we'd still be having this conversation by now. :-)

  7. Peter Cooper says:

    James: Good explanations! I pretty much agree with all of your points, except the porting of Cocoa to Windows part. I think Apple owning TextMate would be a good thing as it would keep it locked to OS X (OS protectionism, basically), and I think Apple should focus on its own operating system than offer up goodies for Windows users (although iTunes and QuickTime have very strong economic reasons for those ports).

  8. Paul McCann says:

    Wow, if Allan had a dollar for every time someone had given him the helpful advice to develop TextMate for Windows (etc, etc).... well, he'd be a little better off than he already is. We even had the "throw abuse" approach a couple of months back: "how can you be so lazy as to only develop your product for one platform". And on it goes... To cut to the chase: why on Earth should he? TextMate on the Mac sells *plenty* of copies, Allan gets to develop on and for the platform he enjoys best (obviously), he's not pulled in several different directions at every turn trying to somehow synchronise functionality across wildly differing API's/capabilities/etc. The list goes on an on and on...

    As far as Apple buying TextMate: please, God, no. Development then either ceases altogether ("Grapher" anyone?) or goes behind closed doors, where user input disappears into a black hole, as per iTunes.

    TextMate's fine as it is, thanks very much! Here's to Allan maintaining his interest in the editor as far as releasing 2.0 (which will only run on Leopard), and nursing that version into a state of excellence. If people want the bells and whistles on other platforms then they can do the "e" thing, for example, and tap into the themes and bundles that already exist for TextMate.

  9. James Prudente says:

    http://intype.info

    These guys are going after the TextMate for windows market as well.

  10. Thijs van der Vossen says:

    Allan is actually working _with_ the E Text Editor author to make sure the two are compatible. Please read http://macromates.com/blog/archives/2006/11/21/textmate-homage/ and http://e-texteditor.com/blog/2006/textmate_on_windows

  11. Senthil Nayagam says:

    atlast I have officially shifted to e-texteditor.

    I had been longing for textmate for over a year, after seeing those screencasts from DHH and others

    I primarily develop on my laptop, and could not leave windows.
    e-texteditor was the best possible option for me, also one month trial and textmate bundle support were good reasons for me try it.

    also it has cygwin support, have tested cygwin after many years, and find linux text utils(grep/tail/head/cut) very useful for log processing

  12. Charles Roper says:

    I've never understood why jEdit doesn't get more attention, but as far as pure text editing power goes, it does just as much, if not more than TextMate. Not only that, but it's also cross platform and free. I guess the barriers are that it looks ugly out-of-the-box (but can be very comfortable and attractive when setup right - http://www.flickr.com/photos/sxbrc_charles/308623286/). The main issue, though, is speed: it feels slow to load. This has been overcome to a certain degree by the fact that you can daemonize it so that it stays in memory all the time, making it as nimble as any other lightweight text editor. So jEdit remains an excellent cross-platform choice but, admittedly, that feeling of non-nativeness will always remain too hard to get over for some.

    I think part of the attraction of TextMate is that it a) looks dark and sexy and exotic and b) makes the user (as seen in those now famous screencasts) look like a ninja. And we all want to be a bit more sexy and a bit more Bruce Lee now, don't we.

  13. Andrew says:

    I never had the impression that Allan was out to "win big" as one commenter above suggests. I'm not sure that dominating the text editor market is really his goal.

    It would be neat if Apple bought TM, I guess, but coders' text editors are a tiny tiny market. I mean, talk about a niche product with entrenched users. How would they market it alongside Xcode? I just can't see how it would be worth it for Apple. They're probably better off giving him Apple Developers awards year after year and using TM as a great piece of public relations about developing for the Mac.

    Charles wrote: "And we all want to be a bit more sexy and a bit more Bruce Lee now, don't we."

    Hell yes! This is what Kathy Sierra calls "creating passionate users." It means making the user feel like they are kicking ass as they work. And, yes, wiring up custom two-letter tab completions or custom macros in TM does indeed feel pretty ninja. :-)

  14. Peter Cooper says:

    Heh, I totally forgot about XCode!

  15. Rimantas says:

    Textmate clone on windows is tricky because some nice features depend on the execution of the command line scripts - perl, php, ruby or plain old unix utils. That's
    why e-texteditor wants cygwin and that's why I don't want e-texteditor.

    @Charles: have you used textmate, or the only familiarity comes from screencasts?
    I do use jEdit now and then, but I am not by any means power user of it. It may have
    the power of TM once you have collected and installed numerous plugins to replicate
    the behavior Textmate has out of the box. No, thanks. And yes, it's ugly :(

  16. Thomas Aylott says:

    If TextMate loses Allan before 3.0, it will die.

    He's already made enough money to last years, and with TextMate 2.0, he's in for another win. He certainly has no need to develop it on any other platforms.

  17. Nathan Garza says:

    The big deal with jEdit, for me, is that it is ugly. Seriously, humans are visual beings. The way we feel effects our productivity and motivation. Visual stimuli effects the way we feel. Bottom line. No matter how powerful it is, I don't like the way jEdit makes me feel. I don't feel productive. I don't feel creative. If you prefer, you can replace the "I don't"s above with "it doesn't"s, same difference to me.

    Add that to the fact (already mentioned) that it absolutely doesn't have anything that I need out of the box (no joke there either), and that even afterwards it's dog slow... Well, for me, what's the point?

    Sure I could partially beat the slowness issue by deamonizing it, but why do I want ONE MORE THING running in the background? I don't want something that has to be always on (whether I'm using it or not) in order to get decent performance.

    I suppose I can configure it to be less ugly even. But even then, it's a question of slowness. Slowness of configuration. Every time I install it I have to go to all to work of remembering how to get it to work the way I want it to.

    Compare that to TextMate. Install. Open. Use. That's it. It's beautiful, easy to use intuitively (at least to me), and it's reasonably fast. All out of the Box. No contest in my book. Granted this is one man's opinion, and I know that. I'm sure jEdit is wonderful, and it is really extensible, but... Well, you get the point.

  18. Ben Kittrell says:

    The idea has entered my head more than once that Apple is paying Allan to not port TextMate to windows. :)

    But as Dr. Nic said, $2000 is a lot to pay for a text editor.

  19. Doh says:

    People would do so many thing to avoid learning VIM.

  20. Pingback: justaddwater.dk

Other Posts to Enjoy

Twitter Mentions