View Single Post
Old 09-30-2018, 06:49 AM   #68
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,675
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I'm not cluttering an already busy UI with another file selection dialog when a perfectly good interface to select files to be modified already exists in Sigil. The file selection duplication you mention in "Punctuation Smarten" exists because that plugin was written before Sigil's plugin framework was given the ability to know which files were selected in the Book Browser. Had I created that plugin after that ability was added, its file selection method would work exactly like this plugin's does.

I'm afraid it's also a hard no on having the plugin default to assuming all html files are to be affected. That would defeat the ability to select a subset of files entirely.

When stressing over how much time is lost having to close and relaunch the plugin, try to factor in how much time you would be losing if you had to make all of the desired changes without the assistance of the plugin. I think you'll find you're still way ahead on time saved.

Every plugin I create going forward will work in this manner (RE file selection).
DiapDealer is offline   Reply With Quote