Revision 5ffdf67...

Go back to digest for 15th December 2013

Features in KDE Base

Alex Turbov committed changes in [kate] /kate/pate/src/plugins:

A bunch of improvements in `expand` plugin:
* introduce decorators to tell to the engine what way it must process results
* introduce a way to process jinja2 templates
* (re)introdude a way to use TemplateInterface2 to edit generated snippet
* UDFs w/o any decorator is a fallback to a `legacy` way: just insert
generated text into a document instead of a name of expansion function ;)
* C++ expansion functions are rewritten using jinja2 templates and allowed
TI2 for postprocessing
* almost all C++ expansions get some new features espacially class generation
expander `cl`... One may try smth like cl(test,@c,!cc,mv)+<Ctrl+E> :)

File Changes

Added 9 files
  • /kate/pate/src/plugins/expand
  •   addons/args.py
  •   addons/templates/basic-entity.tpl
  •   addons/templates/brief.tpl
  •   addons/templates/class.tpl
  •   addons/templates/getter-setter.tpl
  •   addons/templates/main.tpl
  •   addons/templates/metafunction-class.tpl
  •   addons/templates/struct.tpl
  •   addons/templates/switch.tpl
Modified 7 files
  • /kate/pate/src/plugins
  •   addons/CMakeLists.txt
  •   addons/python_autocomplete_jedi.py
  •   addons/expand/__init__.py
  •   addons/expand/expand_ui.rc
  •   addons/expand/katepate_expand.desktop
  •   addons/expand/text_x-c++src.expand
  •   addons/expand/udf.py
16 files changed in total