Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
config:scripts:lua [2013/06/01 11:44] – Added multiple clipboard support scripts thrawnconfig:scripts:lua [2013/07/11 03:21] – Updated SVN changes script to v0.7 thrawn
Line 28: Line 28:
  
 {{:config:scripts:compare.lua|}} {{:config:scripts:compare.lua|}}
 +
 +v0.2:
 +  * Changed to use io.popen to retrieve command output, instead of piping to temporary file.
 +v0.3:
 +  * Show full path of current file, to assist in comparing files with the same name.
  
 ===== Hex edit ===== ===== Hex edit =====
Line 47: Line 52:
  
 {{:config:scripts:s_nap-open.lua}} {{:config:scripts:s_nap-open.lua}}
- 
-{{tag>configure lua script}} 
  
 ===== Review SVN changes ===== ===== Review SVN changes =====
Line 57: Line 60:
  
 {{:config:scripts:s_vn-changes.lua}} {{:config:scripts:s_vn-changes.lua}}
 +
 +v0.3:
 +  * Include commit comments when choosing revision;
 +  * Add 'quick scan' option for choosing only the most recent commits;
 +  * Add support for graphical diff viewers.
 +v0.4:
 +  * Replace 'quick scan' and 'full scan' with progressive disclosure of scan results;
 +  * Add 'all changes since revision' option.
 +v0.5:
 +  * Consolidate choices into custom preferences dialog.
 +v0.6:
 +  * Rearranged to show revision list before choosing the revision range type;
 +  * Fixed 'Show more' handling for multiline commit messages.
 +v0.7:
 +  * Allow selection of ending revision;
 +  * Fix revision list width.
  
 ===== Multi-clipboard support ===== ===== Multi-clipboard support =====
Line 66: Line 85:
 Author: Carl Antuar Author: Carl Antuar
  
-{{:config:scripts:multi-clipboard-copy.lua}} +{{:config:scripts:multi-clipboard:multi-clipboard-copy.lua}} 
-{{:config:scripts:multi-clipboard-paste.lua}}+ 
 +v0.2: 
 +  * Fixed filename matching to handle dots in filename properly. 
 + 
 +{{:config:scripts:multi-clipboard:multi-clipboard-paste.lua}} 
 + 
 +v0.2: 
 +  * Sorted clipboards by modification date (newest first); 
 +  * Fixed retrieval of line breaks from clipboard files; 
 +  * Add pasted text to regular clipboard to make multiple pastes easier. 
 + 
 +{{:config:scripts:events:cleanup.lua}} 
 + 
 +===== Surround selected text ===== 
 + 
 +Surround the selected text with brackets, braces, XML tags, etc. 
 + 
 +Author: Carl Antuar 
 + 
 +{{:config:scripts:surround-selection.lua}} 
 + 
 +v0.2: 
 +  * Add double quotes to list of surrounds. 
 + 
 +===== Delete duplicate lines ===== 
 + 
 +Delete duplicate lines from the current file. 
 + 
 +Author: Carl Antuar 
 + 
 +{{:config:scripts:delete-_duplicate-lines.lua}} 
 + 
 +===== Vim keybindings ===== 
 + 
 +Provides a subset of Vim keybindings. 
 + 
 +Author: Carl Antuar 
 + 
 +{{:config:scripts:vim-keybindings.lua}} 
 + 
 +===== Alternative word navigation ===== 
 + 
 +Geany treats all punctuation as whitespace, with the result that punctuation surrounded by whitespace is totally skipped. Often, this is too greedy. 
 +These scripts provide Vim-style word navigation instead. The idea is to bind them to the appropriate keys (Ctrl+right etc), by adding the filenames to hotkeys.cfg and then setting them via the usual Geany preferences dialog. 
 + 
 +Author: Carl Antuar 
 + 
 +{{:config:scripts:navigation:ctrl-right.lua}} 
 +{{:config:scripts:navigation:ctrl-shift-right.lua}} 
 +{{:config:scripts:navigation:ctrl-left.lua}} 
 +{{:config:scripts:navigation:ctrl-shift-left.lua}} 
 + 
 +===== Find project file extensions ===== 
 + 
 +Quickly identify all file extensions used in the current project. Useful for setting the list of recognised file types in a new project. 
 + 
 +{{:config:scripts:find-project-extensions.lua}} 
 + 
 +{{tag>configure lua script}} 
 + 
Print/export