Home Download Buy Blog Forum Support

Does Sublime share code with TextMate?

Does Sublime share code with TextMate?

Postby zakk on Thu Jan 05, 2012 12:12 am

I've been trying Sublime for a couple of days and I've been very satisfied with this nice editor, until I stumbled upon a file named C++.tmLanguage in the Packages/ directory. This file is a direct conversion of a file taken from a direct competitor of Sublime, TextMate, even the comments inside the file are the identical! The only difference is that TM uses the .plist format and ST2 the .xml format. However the structure is identical and even the comments are identical, so it must be a direct conversion.

So, as it seems unlikely that two competitors share code, and neither TextMate nor Sublime acknowledge in their credits any external project from which the files may have been taken, the only option seems to be that someone is copying from someone.

Does anyone know a little more about this issue?

(By the way, the comment inside the file is signed by "Chris", and in the TextMate credits there is one person by that name... I don't want to accuse anyone, though, I just want to settle this doubt down before considering buying ST2)

Regards.
zakk
 
Posts: 3
Joined: Thu Jan 05, 2012 12:01 am

Re: Does Sublime share code with TextMate?

Postby C0D312 on Thu Jan 05, 2012 12:41 am

Sublime Text 2 is compatible with Textmate snippets, color schemes, .tmLanguage files and .tmPreferences files.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Does Sublime share code with TextMate?

Postby zakk on Thu Jan 05, 2012 12:44 am

Correct. But being compatible with TextMate stuff does not mean including TextMate stuff in your application.
zakk
 
Posts: 3
Joined: Thu Jan 05, 2012 12:01 am

Re: Does Sublime share code with TextMate?

Postby weslly on Thu Jan 05, 2012 1:32 am

http://svn.textmate.org/trunk/LICENSE wrote:If not otherwise specified (see below), files in this repository (located at http://macromates.com/svn/Bundles/) fall under the following license:

Permission to copy, use, modify, sell and distribute this
software is granted.
This software is provided "as is" without
express or implied warranty, and with no claim as to its
suitability for any purpose.

An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”.
weslly
 
Posts: 202
Joined: Sun Aug 28, 2011 3:57 am
Location: Brazil

Re: Does Sublime share code with TextMate?

Postby zakk on Thu Jan 05, 2012 3:25 am

Fine, then... I didn't know that part of TM is open source, and I couldn't imagine that the license is even more permissive than the BSD one and doesn't require attribution. Sorry for the inconvenience!
zakk
 
Posts: 3
Joined: Thu Jan 05, 2012 12:01 am

Re: Does Sublime share code with TextMate?

Postby natebeaty on Thu Jan 05, 2012 4:24 am

zakk wrote:Fine, then... I didn't know that part of TM is open source, and I couldn't imagine that the license is even more permissive than the BSD one and doesn't require attribution. Sorry for the inconvenience!


The files you're referring to have nothing to do with application code. TextMate bundles are (primarily) created & maintained by the community, and are also used in other editors such as E (http://www.e-texteditor.com/). As COD13 mentioned, ST2 is just able to use some elements of TM bundles to extend functionality.
natebeaty
 
Posts: 120
Joined: Wed Apr 06, 2011 8:28 pm
Location: Chicago, IL


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 14 guests