View Single Post
Old 02-11-2025, 05:17 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,809
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by KevinH View Post
@BetterRed

Where are these python function scripts located physically? Are they in the equivalent of our Sigil Preferences folder?
Yep - editor-search-replace-functions.json


Quote:
Originally Posted by KevinH View Post
The create/edit button opens a python editor I assume. Is this just a simple text editor or is it python specific? Perhaps we require the user to select their own python editing app? When that happens? As providing a simple one in Qt would be a real pain.
Not sure what a python-specific editor looks like, but the one provided appears to be python-syntax aware.

Click image for larger version

Name:	Screenshot 2025-02-12 090216.jpg
Views:	251
Size:	288.7 KB
ID:	213548

Quote:
Originally Posted by KevinH View Post
Are there any predefined scripts provided out of the box?
Just a few simple ones, the doco has more complex examples.

BR
BetterRed is offline   Reply With Quote