No description
  • Objective-C++ 53.4%
  • C++ 40.8%
  • Ruby 2.5%
  • Objective-C 2.3%
  • C 0.4%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2021-10-12 21:43:20 +02:00
.github/workflows Update GitHub build action to use macOS-latest and checkout@v2 2021-02-16 11:01:06 +01:00
Applications Remove deployment target from all xib files 2021-05-26 09:45:39 +02:00
bin Remove CAPNP_BIN and assert that capnp can be found via PATH 2021-05-26 14:27:41 +02:00
Frameworks Remove image, modified, and SCMStatus properties from FileItem 2021-10-12 21:43:20 +02:00
PlugIns Update dialog plug-in (use NSTableViewStylePlain on macOS 11) 2021-04-16 10:38:51 +02:00
Shared Include ServiceManagement among precompiled headers 2021-03-25 08:28:22 +01:00
vendor Limit tab size settings (for Onigmo submodule) to C files 2021-02-15 17:05:24 +01:00
.gitignore Add release/deploy build rules to version control but disable by default 2021-02-15 16:42:59 +01:00
.gitmodules Remove MASPreferences submodule 2020-05-10 20:07:30 +07:00
.tm_properties Update .tm_properties to reflect new build system 2021-02-15 16:01:50 +01:00
.travis.yml Build with Travis 2016-01-15 12:07:16 +01:00
configure Update ./configure script to write rudimentary ‘local.rave’ file 2021-05-26 14:45:28 +02:00
CONTRIBUTING.md Remove reference to textmate-dev mailing list 2016-08-29 11:12:00 +02:00
COPYING Initial commit 2012-08-09 16:25:56 +02:00
default.rave Assert that capnp includes/library can be found via default paths 2021-05-26 14:27:41 +02:00
INTERNALS.md Embryo of developer documentation :-) 2013-11-12 19:30:26 +01:00
LICENSE Initial commit 2012-08-09 16:25:56 +02:00
local-orig.rave Setup “my” local.rave to find dependencies via my nix-profile 2021-05-26 14:27:41 +02:00
README.md Update README.md with info about new build procedure 2021-02-15 16:01:50 +01:00

TextMate

Download

You can download TextMate from here.

Feedback

You can use the TextMate mailing list or #textmate IRC channel on freenode.net for questions, comments, and bug reports.

You can also contact MacroMates.

Before you submit a bug report please read the writing bug reports instructions.

Screenshot

textmate

Building

Setup

To build TextMate, you need the following:

All this can be installed using either Homebrew or MacPorts:

# Homebrew
brew install boost capnp google-sparsehash multimarkdown ninja ragel

# MacPorts
sudo port install boost capnproto multimarkdown ninja ragel sparsehash

After installing dependencies, make sure you have a full checkout (including submodules) and then run ./configure followed by ninja, for example:

git clone --recursive https://github.com/textmate/textmate.git
cd textmate
./configure && ninja TextMate/run

The ./configure script simply checks that all dependencies can be found, and then calls bin/rave to bootstrap a build.ninja file with default config set to release and default target set to TextMate.

Building from within TextMate

You should install the Ninja bundle which can be installed via PreferencesBundles.

After this you can press ⌘B to build from within TextMate. In case you haven't already you also need to set up the PATH variable either in PreferencesVariables or ~/.tm_properties so it can find ninja and related tools; an example could be $PATH:/usr/local/bin.

The default target (set in .tm_properties) is TextMate/run. This will relaunch TextMate but when called from within TextMate, a dialog will appear before the current instance is killed. As there is full session restore, it is safe to relaunch even with unsaved changes.

If the current file is a test file then the target to build is changed to build the library to which the test belongs (this is done by setting TM_NINJA_TARGET in the .tm_properties file found in the root of the source tree).

Similarly, if the current file belongs to an application target (other than TextMate.app) then TM_NINJA_TARGET is set to build and run this application.

Build Targets

For the TextMate.app application there are two symbolic build targets:

ninja TextMate      # Build and sign TextMate
ninja TextMate/run  # Build, sign, and (re)launch TextMate

To clean everything run:

ninja -t clean

Or simply delete ~/build/TextMate.

Legal

The source for TextMate is released under the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

TextMate is a trademark of Allan Odgaard.