4 Star 8 Fork 1

Gitee 极速下载 / Textadept

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/rgieseke/textadept
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Textadept

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers. Written in a combination of C and Lua and relentlessly optimized for speed and minimalism for more than 12 years, Textadept is an ideal editor for programmers who want endless extensibility without sacrificing speed and disk space, and without succumbing to code bloat and a superabundance of features. The application has both a graphical user interface (GUI) version that runs in a desktop environment, and a terminal version that runs within a terminal emulator.

Linux macOS Windows Terminal

Features

  • Fast and minimalist.
  • Cross platform, and with a terminal version, too.
  • Self-contained executable -- no installation necessary.
  • Support for over 100 programming languages.
  • Unlimited split views.
  • Can be entirely keyboard driven.
  • Powerful snippets and key commands.
  • Code autocompletion and documentation lookup.
  • Remarkably extensible, with a heavily documented Application Programming Interface (API).

Textadept

Requirements

In its bid for minimalism, Textadept depends on very little to run. On Windows and macOS, it has no external dependencies. On Linux and BSD, the GUI version depends only on GTK (a cross-platform GUI toolkit), and the terminal version depends only on a wide-character implementation of curses like ncurses(w). Lua and any other third-party dependencies are compiled into the application itself.

Download

Textadept releases can be found here. Select the appropriate package for your platform. A comprehensive list of changes between releases can be found here. You can also download a separate set of modules that provide extra features and functionality to the core application.

Installation and Usage

Textadept comes with a comprehensive user manual in its docs/ directory. It covers all of Textadept's main features, including installation, usage, configuration, theming, scripting, and compilation.

Since nearly every aspect of Textadept can be scripted using Lua, the editor's API is heavily documented. This API documentation is also located in docs/. It serves as the ultimate resource when it comes to scripting the application.

A more structured scripting resource is Textadept Quick Reference, which contains a wealth of knowledge on how to script and configure Textadept. It groups the editor's rich API into a series of tasks in a convenient and easy-to-use manner. This book serves as the perfect complement to Textadept's Manual and exhaustive API documentation.

Compile

Textadept is a bit unusual in that building it is only supported on Linux and BSD, or within a Docker image. The application is cross-compiled for Windows and macOS from Linux. While it is certainly possible to compile Textadept natively on those platforms, it is simply not supported in any official capacity.

Textadept is built from its src/ directory and binaries are placed in the application's root directory. The general procedure is to have Textadept build its dependencies first, and then its binaries. Textadept is self-contained, meaning you do not have to install it; it can run from its current location.

General Requirements:

  • GNU C compiler (gcc) 7.1+ (circa mid-2017)
  • GNU Make (make)
  • GTK 3 development libraries for the GUI version (GTK 2.24 is also supported)
  • ncurses(w) development libraries (wide character support) for the terminal version
  • mingw-w64 5.0+ with GCC 7.1+ when cross-compiling for Windows.
  • OSX cross toolchain with Clang 4.0+ when cross-compiling for macOS.
  • OR
  • Docker

The following table provides a brief list of make rules for building Textadept on Linux and BSD. (On BSD, substitute make with gmake.)

Command Description
make deps Downloads and builds all of Textadept's core dependencies
make deps NIGHTLY=1 Optionally downloads and builds bleeding-edge dependencies
make Builds Textadept, provided all dependencies are in place
make GTK2=1 Builds Textadept using GTK 2.x instead of GTK 3.x
make DEBUG=1 Optionally builds Textadept with debug symbols
make curses Builds the terminal version of Textadept
make win-deps Downloads and builds Textadept's Windows dependencies
make win Cross-compiles Textadept for Windows
make osx-deps Downloads and builds Textadept's macOS dependencies
make osx Cross-compiles Textadept for macOS

When building within Docker, the relevant container image is ghcr.io/orbitalquark/textadept-build:v2.0.

For more information on compiling Textadept, please see the manual.

Contribute

Your donation or purchase of the book helps fund Textadept's continuous development.

Textadept is open source. Feel free to discuss features, report bugs, and submit patches. You can also contact me personally (orbitalquark att triplequasar.com).

The MIT License Copyright (c) 2007-2022 Mitchell Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Textadept 是 SciTE tools/SciTE-st 的作者 Mitchell Foral 的最新作品,同样是基于 Scintilla 开发,使用可扩展语言 lua 进 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/mirrors/Textadept.git
git@gitee.com:mirrors/Textadept.git
mirrors
Textadept
Textadept
default

搜索帮助

14c37bed 8189591 565d56ea 8189591