Please provide the text you want me to translate. I need the content of "Textadept" to be able to translate it to Chinese.
Textadept

原始链接: https://orbitalquark.github.io/textadept/

## Textadept:一款轻量级、可扩展的文本编辑器 Textadept 是一款为程序员设计的快速、跨平台文本编辑器,适用于 Windows、macOS、Linux 和 BSD。它具有极强的可扩展性,无需安装 – 简单解压并运行自包含的可执行文件即可。 主要功能包括支持超过 100 种语言、多光标/选区、无限分割视图以及高度可配置的按键绑定和代码片段。用户可以集成 shell 命令,并使用 Lua 脚本自定义编辑器的几乎所有方面。重要的是,Textadept 离线运行 – 它不连接互联网。 该编辑器提供图形界面和终端界面。虽然提供预编译的二进制文件,但 Textadept 也可以从源代码编译,并可以选择不同的 UI 工具包(Qt、GTK、ncurses)。全面的文档,包括用户手册和 Lua API 参考,可在应用程序内轻松访问。 可选模块可通过 Lua 脚本在偏好设置中加载,以扩展功能。 Textadept 是开源的(MIT 许可证)并得到积极支持。

## TextAdept:一款轻量级、可定制的文本编辑器 一款名为TextAdept(orbitalquark.github.io)的新开源文本编辑器在Hacker News上受到关注。用户称赞其速度快、轻量级以及通过Lua脚本提供的高度可定制性。它使用了Scintilla编辑器组件,并支持GTK、Qt和ncurses。 虽然有些人欣赏它的潜力,但也有人指出完全定制需要投入大量时间,更倾向于使用Emacs、Geany或Kate等成熟的编辑器。评论员还强调了该编辑器的精美登陆页面和结构良好的代码库。 有人提出了一个有趣的问题,探讨了在人工智能代理时代文本编辑器的未来,引发了关于它们持续相关性的讨论。总的来说,TextAdept似乎是寻求灵活高效文本编辑体验的用户的一个有希望的选择。
相关文章

原文

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.

Quick links: Download | Manual | Lua API Docs | Project Page

windows macos

linux terminal

Features

  • Traditional desktop application written in a combination of C, C++, and Lua.
  • Runs on Windows, macOS, Linux, and BSD.
  • Self-contained executables – no installation necessary.
  • User-friendly graphical and terminal interfaces with sensible defaults.
  • Support for over 100 programming languages.
  • Multiple carets and selections.
  • Unlimited split views.
  • Configurable key bindings, including language-specific keys, key chains, and key modes.
  • Snippets, both generic and language-specific, and support for nested snippets.
  • Invoke shell commands for running code, building projects, and executing tests.
  • Almost every aspect of the editor can be scripted, extended, and customized with Lua.
  • Does not connect to the internet – it’s just a text editor!

textadept

Requirements

Textadept’s pre-built binaries require the following:

  • Windows 10+ (64-bit or ARM)
  • macOS 13+
  • Linux: Qt 5 or GTK 3 for the GUI version, and ncurses for the terminal version.

You can compile Textadept from source for use with different UI library versions, such as Qt 6 and GTK 2.24.

Note: Lua and other third-party dependencies are compiled into the application itself, and a Qt runtime is distributed with Windows and macOS builds.

Download

You can download pre-built binaries for various platforms, as well as source code from the links below.

A list of all released versions is here along with their release notes.

Note: while Textadept contains plenty of built-in productivity tools, some extra features and functionality are available as optional modules in the “Extra modules” links above. This includes:

lsp diff

Install and Use

Simply unpack the pre-built binary archive anywhere you have permission to and run one of the following executables:

Platform GUI version Terminal version
Windows textadept.exe textadept-curses.exe
macOS Textadept.app
ta (shell script)
Textadept.app/Contents/MacOS/textadept-curses
Linux textadept (Qt version)
textadept-gtk (GTK version)
textadept-curses

The “Help > Show Manual” menu item, or the F1 keyboard shortcut opens Textadept’s comprehensive user manual. There is also an online version. The manual covers all of Textadept’s main features, including installation, usage, configuration, theming, scripting, and compiling from source.

The “Help > Show LuaDoc” menu item, or the Shift+F1 keyboard shortcut opens Textadept’s extensive API reference for users interested in scripting the editor. There is also an online version.

If you downloaded the optional set of modules, unpack it into the .textadept/ directory in your home folder (keeping the top-level modules/ directory intact). You could instead unpack it into Textadept’s directory (thus merging the two modules/ directories), but this is not recommended, as it may make upgrading more difficult.

Note: Textadept generally does not auto-load modules. To use any of modules from the optional set, select the “Edit > Preferences”, use Lua’s require() function for each module to load, save the file, and restart Textadept. For example:

require('lsp')
require('file_diff')
require('spellcheck')

preferences

Compile

Compiling Textadept from source requires the following:

  • CMake 3.22+
  • A C and C++ compiler, such as:
  • A UI toolkit (at least one of the following):
    • Qt 5.15+ development libraries for the GUI version
    • GTK 2.24+ development libraries for the GUI version
    • ncurses(w) development libraries (wide character support) for the terminal version
  • Unix patch command

Basic procedure:

  1. Configure CMake by pointing it to Textadept’s source directory (where CMakeLists.txt is), specify a directory to build in, and optionally specify a directory to install to. CMake will determine what UI toolkits are available and fetch third-party build dependencies.
    cmake
  2. Build Textadept.
  3. Either copy the built binaries to Textadept’s source directory or use CMake to install it.

For example:

cmake -S . -B build_dir -D CMAKE_BUILD_TYPE=RelWithDebInfo \
	-D CMAKE_INSTALL_PREFIX=build_dir/install
cmake --build build_dir -j # compiled binaries are in build_dir/
cmake --install build_dir # self-contained installation is in build_dir/install/

Note: if you would like to build the nightly development version of Textadept, enable the NIGHTLY option during the configuration phase (e.g. -D NIGHTLY=1).

The “Compiling” section of the manual contains more information about this process.

Support

Textadept is an open-source project, released under the MIT License.

You can contact me personally at code att foicica.com.

lines of code

联系我们 contact @ memedata.com