Developer Meeting: More on scripting Kate
We are 10 people here at the developer meeting in Berlin. Kate, KDevelop as well as Okteta see a lot of commits. I’ll mainly talk about what’s happening in the holy Kate land, though :-)
Yesterday I closed a bug requesting an “unwrap” feature in Kate that works like “Tools > Join Lines” but maintains paragraph separation, i.e., empty lines are not removed. This feature is implemented now in javascript. Further infos:
To run the script simply switch to the command line (F7) and write “unwrap”. If you have further ideas about useful scripts, don’t hesitate to start hacking right away, see also
Fixes with regard to the scripting support in the last days are
- make reload-scripts work properly
- fix command line completion for new scripts without restarting kate
- support quoting in arguments for scripts
- fix crash for invalid commands in scripts
Those fixes will be in KDE 4.4.1. More to come in other blog entries :-)