Finally found some time for this. As this is my first python program ever, I've started from the tasks plugin and went from there. Detecting keywords (via page-indexed, page-deleted) and replacing them via end-of-word and apply_tag works already. However, I can not get a global refresh like in ctrl-R to rescan the whole textbuffer. I see the signal open-page, but can not find the correct hook to scan all words against my replacement table. Can somebody point me into the right direction here? I would have to have something like the end-of-word hook, but for all words in the loaded textbuffer. If that makes sense at all...
Thanks, Frank
Finally found some time for this. As this is my first python program ever, I've started from the tasks plugin and went from there. Detecting keywords (via page-indexed, page-deleted) and replacing them via end-of-word and apply_tag works already. However, I can not get a global refresh like in ctrl-R to rescan the whole textbuffer. I see the signal open-page, but can not find the correct hook to scan all words against my replacement table. Can somebody point me into the right direction here? I would have to have something like the end-of-word hook, but for all words in the loaded textbuffer. If that makes sense at all...
Thanks, Frank