View Single Post
Old 10-26-2021, 06:49 PM   #8
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,860
Karma: 6120478
Join Date: Nov 2009
Device: many
For automate lists, I honestly do not see it evolving much at all. You can do most of what you want in plugins and plugins can be run from the Automate Lists right now. So there is no real need to extend the parameters of the list just to effectively create our own scripting language when python in plugins works just fine and is an established scripting language.

So plan to write python plugins that do the more specialized things you want and then add them to your Automate Lists.

As for renaming files, that can be done with the RERenamer now or via BookBrowser.

There is only one valid parameter and it is used on one tool command only that runs saved searches. It is the full name to the saved search. It is covered in the User Guide chapter.

So no variables, no macros, and no new scripting language. Use custom plugins and python for that and add them to your automate lists.

As for saved searches, if you do no replacement then you are changing nothing. Effectively you end up with a Find All without replacement. Just use that and Find Next (unless you are asking for something similar to what Tex2002ans is suggesting above). Or am I misunderstanding you?

Sorry, Code Folding was proposed earlier and it is not going to be added as it makes the more specialized things we do in CodeView editor (with positional tag listing) much harder.

As alternatives:

- use "Open With" and select an external editor that supports Code Folding.

- use Mend and Prettify to indent and clean up the code and enable tag pair highlighting to help you see structure.

- use Preview's Inspector tool to see a code folded version of the xhtml being edited in CodeView and even see the exact computed styles for any tag and where they come from.

As for "close other xhtml tabs", you do know you can close all other tabs and then right click on any class attribute and select GoToLinkOrStyle and Sigil will happily open the correct Stylesheet in a new tab.

Thanks for your improvement suggestions.

KevinH


Quote:
Originally Posted by Coleccionista View Post
FWIW this is the stuff I wonder about.

The newly introduced feature of "Automation Lists", how do you see it evolving?

I'd like for it to have more Sigil commands exposed such as being able to rename and add files (A suggestion for the User Guide would be a section on valid parameters for the commands). Use of variables as parameters if not already possible should be welcome.

A minor petition, many times I end up with 20 xhtml tabs and 1 style sheet -lost somewhere- open. I can close "All other tabs" but I would like to have another option of closing "All other XHTML" tabs so I can keep the tab I am working on and don't lose the style sheet.

Saved Searches, if you run a search from the top of a group it will stop in the first subentry that has a match and it won't move forward unless you do the replacement. I'd like it to continue with the rest of matches in all the entries.

Code Folding. I'd like to be able to close/hide entire sections of the code, so I can get a clearer view of the structure of the page. Ideally I'd like to be able to also basically hide all text and have a "tag-only" view. I believe that would help me understand the pattern of usage of CSS classes and help refine any S&R.

Last edited by KevinH; 10-26-2021 at 06:54 PM.
KevinH is offline   Reply With Quote