Textadept 10.8 - Minimalist, and remarkably extensible text editor. Download the latest versions of the best Mac apps at safe and trusted MacUpdate. Plugin for Coda trims white space from lines of code. Fast and intuitive.
TextAdept is a fast, minimalistic text editor that can be extended through Lua. The application is free, open source and runs on Windows, Mac OSX and Linux.
TextAdept features unlimited split views, support for over 80 programming languages, powerful snippets and key commands, code autocompletition and API lookup and is entirely keyboard driven.
Since our last TextAdept article, the application has improved a lot, getting many new features and other changes, including:
menu mnemonics for indentation size;
support for indicator and hotspot events;
added native folding for more than 60% of existing lexers. The rest still use folding by indentation by default;
added language-specific context menu support;
new dark and light themes and on-the-fly theme switching;
autocomplete supports multiple selections;
more!
textadept-ncurses
There's also a ncurses version now, so you can run TextAdept in the terminal. The ncurses-based TextAdept is very user-friendly and easy to use - it follows the GNOME HID (Human Interface Design) key-bindings standard for many actions so you can use: Ctrl + s to save the file, Ctrl + o to open a file, Ctrl + q to quit and so on.
TextAdept buffers
TextAdept doesn't uses tabs like most text editors and instead it uses the buffer browser - press Ctrl + b to open the buffers (files) switching dialog or use Ctrl + Tab to switch to the next buffer or Ctrl + Shift + Tab to switch to the previous one. Alternatively, you can also bring up the recent files dialog using Ctrl + Alt + o. And there is yet another way to quickly open files: snapopen, which behaves like the buffer browser, but displays a list of files to open which includes files in subdirectories - you can snapopen the current directory files using Ctrl + Alt + Shift + o. You can find the list of key bindings for both the GTK and terminal version HERE.
For extra TextAdept language modules, including LaTeX, Python, Markdown, CoffeeScript and so on, see the TextAdept wiki.
Download TextAdept
Download TextAdept - there are binaries available for Linux (as tar.gz, so there are no deb or rpm files but you can simply extract the archive and run it), Windows and Mac OS X as well as source files.
Arch Linux users can install the latest stable TextAdept version via AUR. Ubuntu users can install TextAdept using using the main WebUpd8 PPA:
TextAdept should then show up in the menu / Dash. To use the ncurses-based version, type 'textadept-curses' in a terminal.
If you want to make textadept-ncurses the default command line editor in Ubuntu, also install the following package:
For how to use TextAdept, see the manual and its wiki as well as the doc/ folder available in the TextAdept archive (available under /opt/textadept/doc for Ubuntu users who are using our PPA).
Textadept is a cross-platform text editor for programmers, extensible through Lua scripting language.
I've used Textadept for a very short period of time but WebUpd8 reader Bruce Ingalls is using it for a while so below he will try to tell you his experience with Textadept.
I program on Mac, Windows & Linux-like systems. It is essential to find a text editor, that I can learn just once, and use on all of them. This editor must also be free/open, to allow the freedom of moving around. Perhaps this is why R. Stallman's first free software was an editor.
I use Vi(m) for quick, small jobs, and Emacs, Eclipse, or Netbeans, if available. Vim & Emacs work well anywhere, but they are not user friendly. I started using Gtk based SciTE, but am disappointed that no native binary is available for Mac OSX.
DISADVANTAGES
TextAdept does not have pre-built binaries for Solaris, *BSD, Cygwin, or other less popular systems.
TextAdept leaves out SciTE's extra visual components, such as tabbed documents, or editing preferences.
TextAdept, like SciTE, does not work in a text console, so you'll still want vim, emacs, pico, or nedit.
You cannot save preferences, and help is minimal, only on the web.
If you already know that Ctrl-space completes a word, then you likely don't need help.
Still, there are hidden gems, such as Alt-o, to load the recent file list.
Here, I (Andrew) would also like to add that Textadept is a bit difficult to configure as you must go through configuration files if you want to change the font or theme for instance. For info on this, see the Textadept manual page.
ADVANTAGES
TextAdept is fast & light! TextAdept alone is only about 1M. (Standard Gtk libs add about 15M)
With a single C file, TextAdept compiles easily, once you have the Gtk v2.x development files (*.h headers).
TextAdept supports the essentialls of the Gnome HIG Human Interface Guidelines. This means that the keybindings you are familiar with on MS, Mac & Linux will generally work. This includes Ctl-x to cut, Ctl-tab to switch open files, and Ctl-q to quit.
Minimal design maximizes screen real estate. Great for netbooks!
TextAdept has text editing essentials, with syntax coloring.
Everything else, such as code completion, is extended with Lua scripting. Also, TextAdept has a Lua module, that can run most TextMate templates.
Available modules include support for Java, Python, Ruby and recent file lists.
Lua is an up-and-coming scripting language, powering lighttpd, iphone, and more.
MISSING
TextAdept does not have a print menu.
TextAdept does not have a lua module to copy file saves via scp, automatically (via scp). I hope that Webupd8 has some expert lua programming readers. How hard is it, to get lua to call a2ps or ssh? This should be reasonable, with an external command.
TextAdept took about half a minute to load my 42M text file of 1.2 million lines, and did so, without crashing. Some other editors warn of crashing, before attempting this. I've yet to simulate recovery capabilities; `vi -r`, or emacs will prompt to load unsaved changes.
Generally, TextAdept's smart editing, such as automatic indenting works well, because it is kept to a minimum. The only annoyance I've found, is that TextAdept builds matching quotes, prompting 'I've' in this sentence.
Install Textadept in Ubuntu
To make it easier to install under Ubuntu 11.04 and 10.10 (sorry, I couldn't get it to work on Ubuntu 10.04, at least not on 64bit), you can add the WebUpd8 PPA and install Textadept using the following commands:
You can also download Textadept binaries (for Linux, Windows and Mac OS X) as well as the source code via its download page as well as this Github page (packages by Bruce).
This post was written by WebUpd8 reader Bruce Ingalls.