-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Gabriel Dubatti edited this page Oct 3, 2022
·
22 revisions
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 as you wish but the default implementation is as follows:
- #0: The horizontal TOP TOOLBAR is used to show buttons and tabs
- #1: The vertical left toolbar is used to show buttons or LISTS
- #2: The horizontal bottom (external) toolbar is used as a replacement for the STATUS BAR
- #3: The vertical right (external) toolbar is used as a CONFIGURATION panel
- #4: The vertical right (internal) toolbar is used to show the MINIMAP (vertical scroll bar replacement)
- #5: The horizontal bottom (middle) toolbar is used as a RESULTS panel
- #6: The horizontal bottom (internal) toolbar is used as a replacement for the horizontal scroll bar
- #7: Pop-up used to show the combobox drop-down list
- #8..10: Pop-up toolbars for general use
Tatoolbar allows to gray and check menu items:
and compare files + MINIMAP:
see also: