Use multiple SciTE installations

218 views
Skip to first unread message

BugFix@AutoIt

unread,
Mar 7, 2021, 7:51:47 AM3/7/21
to scite-interest
I'm using Windows and SciTE4Autoit. I want additional install the default SciTE (currently SciTE 5.0.0).
But I want to use one "SciTEUser.properties" for each SciTE version. By default SciTE uses the properties file from "../AppData/Local".
Is there a possibility to have multiple "SciTEUser.properties"? Is there a property to set the storage location, like: "user.properties=$(SciteHome)/SciTEStartup.lua"?

Neil Hodgson

unread,
Mar 7, 2021, 4:22:43 PM3/7/21
to scite-interest
BugFix@AutoIt:

> I'm using Windows and SciTE4Autoit. I want additional install the default SciTE (currently SciTE 5.0.0).
> But I want to use one "SciTEUser.properties" for each SciTE version. By default SciTE uses the properties file from "../AppData/Local”. Is there a possibility to have multiple "SciTEUser.properties"?

https://www.scintilla.org/SciTEDoc.html#PropertiesFile
There are two environment variables, "SciTE_HOME" and "SciTE_USERHOME", which the user may set to override the standard locations of the global and/or the user properties files (this and the following applies to Windows and GTK):

> Is there a property to set the storage location, like: "user.properties=$(SciteHome)/SciTEStartup.lua”?

Which properties file could this go in since it is pointing to the user properties file? It can’t go into SciTEGlobal as that gets overwritten with each release.

Neil

BugFix@AutoIt

unread,
Mar 8, 2021, 4:37:12 AM3/8/21
to scite-interest
Neil Hodgson:

There are two environment variables, "SciTE_HOME" and "SciTE_USERHOME", which the user may set to override the standard locations of the global and/or the user properties files (this and the following applies to Windows and GTK):


All right, but no matter which environment variable I set, it will be used by every SciTE installation - right? This would mean that it is not possible to use different versions in one user account at the same time.
Or do you see a way to assign different paths for the properties files to each installation?

Another possibility might be to use a launcher to select which version I want before each start of SciTE. Based on this selection, I reset the environment variables beforehand.

Best regards
BugFix

Csaba Raduly

unread,
Mar 8, 2021, 7:52:09 AM3/8/21
to scite-i...@googlegroups.com
On Mon, 8 Mar 2021 at 10:37, 'BugFix@AutoIt' via scite-interest
<scite-i...@googlegroups.com> wrote:
>
> Neil Hodgson:
>>
>>
>> There are two environment variables, "SciTE_HOME" and "SciTE_USERHOME", which the user may set to override the standard locations of the global and/or the user properties files (this and the following applies to Windows and GTK):
>>
>
> All right, but no matter which environment variable I set, it will be used by every SciTE installation - right? This would mean that it is not possible to use different versions in one user account at the same time.
> Or do you see a way to assign different paths for the properties files to each installation?

You could write a batch file which sets the environment variable(s)
and then "start scite %1 %2 %3...."

Csaba
--
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformant way
to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)
Reply all
Reply to author
Forward
0 new messages