This is a collection of my Textadept tweaks
Switch branches/tags
Nothing to show
Clone or download
Latest commit a44e11e Dec 17, 2018

README.md

ta-tweaks

This is a collection of my Textadept tweaks.

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor: http://foicica.com/textadept/


Module list:

  • 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 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), CTAG file search and RUN commands from the project tree view. SVN and GIT: multiple repositories per project, compare file to HEAD and get basic file info ("svn info" / "git show").

file search


tatoolbar

This code adds toolbars to textadept, allows to gray and check menu items and adds functions to compare files and strings (compiling is required):

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 toolbar is used as a status bar replacement
  • #3: The vertical right (external) toolbar is used as a configuration panel
  • #4: The vertical right (internal) toolbar is used to show the MINIMAP
  • #5: Combobox drop down list (pop-up)
  • #6: Pop-up toolbar

4 toolbars in action

Tatoolbar allows to gray and check menu items:

Menu changes

and compare files + MINIMAP:

filediff

check the wiki: