Jump to content

SciTE - change colour scheme?


Recommended Posts

On 6/6/2024 at 10:03 AM, sl23 said:

Twilight themes to create two new theme files

Are your current settings like one of these? So I could play with it?

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

Spoiler

"Life is chiefly made up, not of great sacrifices and wonderful achievements, but of little things. It is oftenest through the little things which seem so unworthy of notice that great good or evil is brought into our lives. It is through our failure to endure the tests that come to us in little things, that the habits are molded, the character misshaped; and when the greater tests come, they find us unready. Only by acting upon principle in the tests of daily life can we acquire power to stand firm and faithful in the most dangerous and most difficult positions."

 

Link to comment
Share on other sites

Posted (edited)

Okay, thanks.

by the way, found this for properties files:

Quote

style.props.0=fore:#F9F9F9 # Prop values
style.props.1=fore:#E6DB74 # Comments
style.props.5=fore:#32FFFF # Prop Names

Found in : others.properties in Scite Program Files Folder

Edited by donnyh13

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

Spoiler

"Life is chiefly made up, not of great sacrifices and wonderful achievements, but of little things. It is oftenest through the little things which seem so unworthy of notice that great good or evil is brought into our lives. It is through our failure to endure the tests that come to us in little things, that the habits are molded, the character misshaped; and when the greater tests come, they find us unready. Only by acting upon principle in the tests of daily life can we acquire power to stand firm and faithful in the most dangerous and most difficult positions."

 

Link to comment
Share on other sites

Thanks for the files.

I tested both and my selection is properly setting opacity (I can still see the text when selected).... Have you tried clearing your SciTEUser.properties and then re-apply the settings? (after making a copy of SciTEUser.properties, of course)?

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

Spoiler

"Life is chiefly made up, not of great sacrifices and wonderful achievements, but of little things. It is oftenest through the little things which seem so unworthy of notice that great good or evil is brought into our lives. It is through our failure to endure the tests that come to us in little things, that the habits are molded, the character misshaped; and when the greater tests come, they find us unready. Only by acting upon principle in the tests of daily life can we acquire power to stand firm and faithful in the most dangerous and most difficult positions."

 

Link to comment
Share on other sites

Posted (edited)

Nope, still getting the same problem, even without applying my settings!

I can't take a screenshot either, because when SciTE window loses focus, the selection appears transparent! It's only when the window is in focus that the selection becomes opaque!

 

EDIT: Managed to get a screenshot of it. This is after I removed SciTEUser.properties.

 

selected opaque.PNG

Edited by sl23
Link to comment
Share on other sites

have you tried:

open .au3 file in scite, press ctrl 1  go to tab Editor colors and press change sheme

and select
__SciTE4AutoIt3 ==> Standard SciTE4AutoIt3 Color scheme

Edited by ioa747

I know that I know nothing

Link to comment
Share on other sites

and since you have a portable version.
If there is a folder in the

C:\Users\UserName\AppData\Local\AutoIt v3

rename it to

C:\Users\UserName\AppData\Local\AutoIt v3---

I know that I know nothing

Link to comment
Share on other sites

  • Developers
Posted (edited)

I haven't read the whole thread, but in case you have issues then please show the output of SciTEConfig ->  "Other Tools" -> "Run SutoIt3/SciTE check" with me, so I can see what the active config is and your environment settings.
You can PM then when you don't want to share it here.

 

 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Thanks for your help :)

X-Launcher is an app portabliser written in AutoIT. It can launch apps and set paths to the apps folder rather than use system folders. Registry entries are also added/removed on program start/end.

I got this version from user called rbon on PortableFreeware trying to help update X-Launcher to 64bit, this version worked fine.
In a topic here about this, argumentum suggested updating to the beta version, which I did and still all was good.
Then I tried updating this version with another that I found SciTE v5.5.0 full, but when trying to compile the X-Launcher script, it couldn't find AutoIT3Wrapper, so gave an error about that. As this wasn't working, I then tried the other package which is apparently a self contained EXE names Sc550. That worked ok, but then whilst adjusting the theme's I had already made, suddenly this highlight issue started when selecting text and I just can't understand where the fault is!

I may just be better deleting this and starting over with a portable install?

As for the requirements, I have no idea what those variables are for. Where are you supposed to specify thiose locations using those variables? There's no info on that and they don't appear in the SciTEUser.properties file. The setup I have is portable because it uses X-Launcher to make it portable. But I updated the existing apps with the portable versions too, it's become a mess and I don't understand why so many different versions of SciTE! There's the stable version, the beta version and then v5.5.0? And there's two versions of 5.5.0 one worked one didn't, Then rbon told me not to use the Sc550.exe version, so I'm just totally confused as to what the best versions to use are! :(

 

Link to comment
Share on other sites

Posted (edited)

Re SciTEConfig: Sorry, I can't find that. Is it a path to a file or an option from a menu? Neither exist in the SciTE folder.

Ah, found it!

@Jos Sent PM :)

Edited by sl23
Link to comment
Share on other sites

9 minutes ago, sl23 said:

Re SciTEConfig: Sorry, I can't find that. Is it a path to a file or an option from a menu?

open .au3 file in scite, press ctrl 1  go to tab "Other Tools"

and select
"Run SutoIt3/SciTE check"

I know that I know nothing

Link to comment
Share on other sites

40 minutes ago, sl23 said:

As for the requirements, I have no idea what those variables are for. Where are you supposed to specify thiose locations using those variables?

Settings > System > About > Advanced system settings > Environment Variables > User variables

SciTE_Home-variable.png?w=383&ssl=1

 

; The value of the environment variable %"SCITE_HOME"%.
$sSciteHome = EnvGet("SCITE_HOME")
ConsoleWrite("- $sSciteHome=" & $sSciteHome & @CRLF)
If $sSciteHome Then ShellExecute($sSciteHome)

; The value of the environment variable %"SCITE_USERHOME"%.
$sSciteUserhome = EnvGet("SCITE_USERHOME")
ConsoleWrite("- $sSciteUserhome=" & $sSciteUserhome & @CRLF)
If $sSciteUserhome Then ShellExecute($sSciteUserhome)

 

Edited by ioa747

I know that I know nothing

Link to comment
Share on other sites

53 minutes ago, ioa747 said:

open .au3 file in scite, press ctrl 1  go to tab "Other Tools"

and select
"Run SutoIt3/SciTE check"

"E:\path\to\scite...\X-SciTE4AutoIt3\Bin\AutoIt\3.3.16.1\SciTe\SciTEConfig\get_au3_registrysettings.au3"(118,21) : warning: $msg possibly not declared/created yet
        $msg = GUIGetMsg()
        ~~~~~~~~~~~~~~~~~~^
E:\path\to\scite...\X-SciTE4AutoIt3\Bin\AutoIt\3.3.16.1\SciTe\SciTEConfig\SciteConfig.au3 - 0 error(s), 1 warning(s)
; Exit script
            Exit
        Case $T_Var = "/Autoit3Dir"   ; WARNING is on this line ?
            $x = $x + 1
            If FileExists($CMDLINE[$x]) Then $AutoIT3_Dir = $CMDLINE[$x]
    EndSelect

No Variables shown in that window for SciTE but it isn't installed, it's the portable version. Does that make a difference.

Link to comment
Share on other sites

1 hour ago, sl23 said:

Then I tried updating this version with another that I found SciTE v5.5.0 full,

Perhaps @Jos can correct me here, but the latest version released of Scite as Beta is 5.4.0, anything newer won't have been modified to integrate with AutoIt properly, it will be the plain Scite from Neil. That could be causing the issues?

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

Spoiler

"Life is chiefly made up, not of great sacrifices and wonderful achievements, but of little things. It is oftenest through the little things which seem so unworthy of notice that great good or evil is brought into our lives. It is through our failure to endure the tests that come to us in little things, that the habits are molded, the character misshaped; and when the greater tests come, they find us unready. Only by acting upon principle in the tests of daily life can we acquire power to stand firm and faithful in the most dangerous and most difficult positions."

 

Link to comment
Share on other sites

does this give you any results?

; The value of the environment variable %"SCITE_HOME"%.
$sSciteHome = EnvGet("SCITE_HOME")
ConsoleWrite("- $sSciteHome=" & $sSciteHome & @CRLF)
If $sSciteHome Then ShellExecute($sSciteHome)

; The value of the environment variable %"SCITE_USERHOME"%.
$sSciteUserhome = EnvGet("SCITE_USERHOME")
ConsoleWrite("- $sSciteUserhome=" & $sSciteUserhome & @CRLF)
If $sSciteUserhome Then ShellExecute($sSciteUserhome)

 

I know that I know nothing

Link to comment
Share on other sites

I've entered it into SciTE, but I can't click Tools/Go as it's greyed out.

Anyway, I've just downloaded the latest AutoIT.zip and SciTE Portable, updated to the beta and it's working good now, probably shoulda done that first!

Thanks for your help, much appreciated. :)

Link to comment
Share on other sites

  • Developers
Posted (edited)

@sl23, do you want to continue here or in PM as I am not going to try to keep track of both to avoid confusion? ;) 

Just upgrade to the latest available portable version of SciTE to keep things clean!

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...