On Thu, Aug 4, 2016 at 3:26 PM, Robert Weiner <[email protected]> wrote: > > On Thu, Aug 4, 2016 at 8:59 AM, Robert Weiner <[email protected]> wrote: >> >> For now, I would create a command that you can bind to a key and invoke >> that when you want the highlighting applied unless you want to try using >> something like pre-command-hook. > > I meant post-command-hook. We could also look at adding pre- and post- > hooks to the Koutliner knode:set-attr and knode:remove-attr functions.
Hi! Sorry for not replying earlier. I’ve been on vacation. I suppose one could advice the functions as well. The problem, however, is that there doesn’t seem to be a way to get the location of a knode/kcell from the knode/kcell itself. Also, kfile:insert-attributes-v3 would have to make sure that such a function where this information was available was called, to make sure that initialization was correctly performed.
