Permalink
Commits on Jun 20, 2014
  1. Version 1.24

    - ENH: Allow optional [!] for made commands, and suppress the "Nothing transformed" error in that case. This can help when using the resulting command as an optional step, as prefixing with :silent! can be difficult to combine with ranges, and would suppress _all_ transformation errors.
    - ENH: Add g:TextTransformContext.isBang (for custom transformation commands).
    Ingo Karkat committed with Jun 19, 2014
Commits on Jun 1, 2014
  1. Version 1.23

    - ENH: Support selection mode "/{pattern}/", which selects the text region under / after the cursor that matches {pattern}.
    - Minor: Also handle :echoerr in the algorithm.
    Ingo Karkat committed with May 31, 2014
Commits on Mar 8, 2014
  1. Version 1.22: - Add TextTransform/Selections.vim.

    Ingo Karkat committed with Mar 6, 2014
Commits on Jan 29, 2014
  1. Version 1.21

    - Minor: Use functions for newer ingo-library.
    - Need to use ingo#compat#setpos() to restore the selection in Vim versions before 7.3.590.
    Ingo Karkat committed with Jan 15, 2014
  2. Version 1.20

    - FIX: When the selection mode is a text object, and the text is at the end of the line, the replacement is inserted one-off to the left.
    - Implement abort on error for generated commands.
    - Add g:TextTransformContext.mapMode context information so that transformations can query from which source (line- or motion-mapping, or custom command) they've been triggered.
    - Add g:TextTransformContext.isAlgorithmRepeat and g:TextTransformContext.isRepeat context information (the latter through additional <Plug>TextR... mappings) so that transformations that e.g. query the user for something can skip the query and re-use the previously entered value on a repeat of the mapping. It also allows commands that process the lines individually to do different processing (or caching of expensive values) for the first processed line.
    - Allow to pass command arguments, which are then accessible to the algorithm through g:TextTransformContext.arguments.
    - Minor: Make substitute() robust against 'ignorecase'.
    Ingo Karkat committed with Sep 25, 2013
Commits on Jun 14, 2013
  1. Version 1.11

    - Avoid changing the jumplist.
    - Add dependency to ingo-library (vimscript #4433).
    - FIX: When the selection mode is a text object, must still establish a visual selection of the yanked text so that g:TextTransformContext contains valid data for use by a:algorithm.
    Ingo Karkat committed with May 17, 2013
Commits on Jan 28, 2013
  1. Version 1.10

    - FIX: In a blockwise visual selection with $ to the end of the lines, only the square block from '< to '> is transformed. Need to yank the selection with gvy instead of defining a new selection with the marks, a mistake inherited from the original unimpaired.vim implementation.
    - Save and restore the original visual area to avoid clobbering the '< and '> marks and gv by line- and motion mappings.
    - Temporarily set g:TextTransformContext to the begin and end of the currently transformed area to offer an extended interface to algorithms.
    Ingo Karkat committed with Jan 21, 2013
Commits on Sep 13, 2012
  1. Version 1.03

    - For the custom operators, handle readonly and nomodifiable buffers by printing just the warning / error, without the multi-line function error.
    - Avoid clobbering the expression register (for commands that us  options.isProcessEntireText).
    Ingo Karkat committed with Sep 5, 2012
Commits on Aug 8, 2012
  1. Version 1.02

    Avoid "E706: Variable type mismatch" when TextTransform#Arbitrary#Expression() is used with both Funcref- and String-type algorithms.
    Ingo Karkat committed with Jul 30, 2012
Commits on Apr 8, 2012
  1. Version 1.01

    In mappings and selection commands, place the cursor at the beginning of the transformed text, to be consistent with built-in transformation commands like gU, and because it makes much more sense.
    Ingo Karkat committed with Apr 5, 2012
  2. Version 1.00: Initial upload

    Ingo Karkat committed with Apr 5, 2012