Re: SciTE customisation with Lua Scripts

Gavin Holt <[email protected]> Sun, 21 Jan 2024 10:19:11 -0800 (PST)
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
Hi,

Answering your questions:

*extensions.lua*  -  is a lua script I use for many lua projects. It adds 
functions to the standard libraries which are missing. The necessary 
functions are now in SciTE.lua.

*extman.lua *- was a way of combining different plugin lua scripts, so they 
play nicely together. I have stopped using this and have all my SciTE 
scripting in a single file - attached.

My current windows SciTE installation for reference:

----+/SciTE/
    ---- Sc541.exe
    ---- SciTEGlobal.properties     
            (ext.lua.startup.script=$(SciteDefaultHome)\SciTE.lua)
            (import $(SciteDefaultHome)\mod)
    ---- SciTE.lua                  
            (This is my only script)
    ----+ /mod/                       
            (modifications and additions to the Sc1.exe bundled properties 
files)
        ---- ahk.properties
        ---- kix.properties
        ---- lua.api
        ---- lua.properties
        ---- markdown.properties
        ---- props.api
        ---- props.properties
        ---- SciTELua.api
        ---- SciTELua.properties
        ---- sql.properties

SciTE is not my only editor and the script is dependent upon several 
external tools/files most of which are annotated in the script (e.g. 
Hunspell.exe, paste.exe, shelexec.exe, GrepWin.exe).
        
I have given up on using any third party binary (DLL) addins for SciTE - 
see dead batteries <https://lwn.net/Articles/812122/>.

Kind Regards Gavin Holt 

On Thursday 18 January 2024 at 10:08:20 UTC [email protected] wrote:

> Neil, thanks for your answer !
> > There is https://github.com/moltenform/scite-files but I just noticed a 
> link to its old location on the web page. 
> Oh yes, I know well this ressource. It's an almost complete digest of what 
> have been done in the SciTEsphere. 
>
> BTW by "centralized ressource" I think more of something easyer for new 
> adopters, like unique startup script allowing easy extensions integration 
> (such as extman), videos/pictures of what can be done... the lua-users wiki 
> could be a good base because of its editablility. 
>
> My configs are all messy as yours (as early adopter and daily user), and 
> the molteform repo is more a do-what-you-can-whith-this list :D
>
> I know SciTE purpose was at first a proof of concept for Scintilla, 
> although her maturity, lightliness and flexibility give her the chance to 
> be among the best editors/IDE.
>
> Pascal
>
> Le mercredi 17 janvier 2024 à 22:01:56 UTC+1, Neil Hodgson a écrit :
>
>> Pascal: 
>>
>> > Actually, unless I missed something, SciTE lacks a centralised 
>> ressource to allow people to easily install and configure her. 
>> > There are scattered initiatives, mostly olds. Nevertheless, this group 
>> and lua-users site are a good start. 
>>
>> There is https://github.com/moltenform/scite-files but I just noticed a 
>> link to its old location on the web page. 
>>
>> > I always was curious of some people's configs, such as Neil's (which I 
>> imagine is powerfull but sleek and simple) ;-) 
>>
>> My configuration is always very messy as I add items to check reported 
>> bugs and never clean it up properly. 
>>
>> Neil 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/4141c52b-de86-4d3f-9658-c48389f18e19n%40googlegroups.com.
SciTE.lua.txt (text/plain, 102 KB) - not displayed