Hi Pekka, If you search the TW source for "module-type: texteditoroperation" .. you will find 9 text operator functions. They are all part of the $:/core/modules/editor/operations/text/ namespace.
If you start with an easy one: $:/core/modules/editor/operations/text/insert-text.js you'll see it exports "insert-text" If you search for "insert-text" in the .tid files. you'll find: https://tiddlywiki.com/#WidgetMessage%3A%20tm-edit-text-operation ... Then have a look at the more powerful ones. eg: wrap lines, wrap selections Then: excise and prefix-lines IMO that will get you started. ... If it doesn't let us know. .. It's relatively easy to extend those functions, .. once you see the concept. -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3cca92a6-6e01-4b7c-b58d-39399f112a68n%40googlegroups.com.