View Single Post
Old 07-25-2015, 10:16 AM   #19
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,544
Karma: 5703586
Join Date: Nov 2009
Device: many
Hi,
Accessing just the current tab only is not high priority. If you want people to only edit a specific file, simply use a gui in your plugin to allow them to select whatever they want. See the gui sample code in the plug-in dev thread for examples.

That said, I may eventually extend the plugin interface to build and pass along a text file indicating the current tab or the set of highlighted files, but that will come later if at all. Plugin devs could then decide if they want to use it or not in their specific plugins.

Take care,

KevinH

Quote:
Originally Posted by CalibUser View Post
I would find the spell checker useful for my plugin for tidying up epubs which have errors caused by scanning text in as PDFs and then converting them to epubs.
Another thread (can't remember which) also mentioned that it is not possible to access just the currently viewed section (or selected sections) under 'Text' in a Sigil file. I would find it useful to be able to do this for my plugin.

Thanks
KevinH is offline   Reply With Quote