This is a collection of my Textadept tweaks.
Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor: https://orbitalquark.github.io/textadept/
Important notes: 11.4 is the last supported version. Tatoolbar popups don't work in Wayland.
- actions module unify function calling from menus, keyboard accelerators and toolbar buttons / control the state of menus and toolbar buttons: checked, radio-checked and disabled / can be macro recorded, played and saved / allow to change toolbar buttons text and icon dynamically
- ctrl_tab_mru module implements a more standard way to handle CTRL+TAB and CTRL+SHIFT+TAB
- goto_nearest module allows quick search of the selected text. All the buffers use the same 'last searched text' and search options (based on Ultra-Edit editor's F3)
- quicktype module types some C snippets that I frequently use + Multiline typer + Goto previous/next lua function/C-block begin/end + Buffer sort
- project module allows to group files in projects. One view/panel is used to show the project files as a vertical list. It allows to search into project files (the results are shown in another view/panel), CTAG file search and RUN commands from the project tree view. VC: SVN/GIT/FOLDER: multiple repositories per project, compare file to HEAD/FOLDER and basic VC control panel. The project and the search results can be shown using a buffer or a toolbar panel.
This code adds toolbars to textadept, allows to gray and check menu items and adds functions to compare files and strings (compiling is required / download from releases ):
Each toolbar can be used in many different ways. Check the default implementation in: tatoolbar
Notes
- (1) themed tabs in the same row or in a different row than the graphical buttons
- (2) panel lists (last projects / project / c-tag browser / file browser)
- (3) results panels (console output / search results)
- (4) quick open files dialog
- (5) scroll bar with marks
- (6) status bar with click actions
- (7) compact list selectors (lexer / buffer encoding)
- (8) configuration panel: buffer / toolbar / color / color picker / fonts
Tatoolbar also allows to gray and check menu items:
and compare files + show a MINIMAP (mostly a scroll bar with markers for now):
check the wiki: