BinaryBrother Posted January 9 Posted January 9 (edited) Why is that white line on the right side? And how do I change the color of the left line count? Thanks guys, I'm getting back into AutoIt and I've never really messed with ScITE, even though it's capable of some interesting stuff, like Jos's ScITE Beta stuff. I almost forgot about the update where AutoIt supports stuff like ternary operators. Edited January 9 by BinaryBrother SIGNATURE_0X800007D NOT FOUND
argumentum Posted January 10 Posted January 10 2 hours ago, BinaryBrother said: Why is that white line on the right side? Unless you write Right to Left, in Left to right writing it marks the 201st character. 2 hours ago, BinaryBrother said: And how do I change the color of the left line count? No clue. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
ioa747 Posted January 10 Posted January 10 (edited) And how do I change the color of the left line count? # 33 is used to display line numbers in the margin. style.*.33=fore:#DADADA,back:#161d27,$(font.base) # checkerboard pixel patter color 1 around fold trees fold.margin.colour=#2D3747 # checkerboard pixel patter color 2 around fold trees fold.margin.highlight.colour=#0D1117 # Color of symbol fill fold.back=#0D1117 https://www.autoitscript.com/forum/topic/211954-scite-change-colour-scheme/#comments Edited January 10 by ioa747 argumentum 1 I know that I know nothing
BinaryBrother Posted January 10 Author Posted January 10 (edited) 1 hour ago, ioa747 said: And how do I change the color of the left line count? # 33 is used to display line numbers in the margin. style.*.33=fore:#DADADA,back:#161d27,$(font.base) # checkerboard pixel patter color 1 around fold trees fold.margin.colour=#2D3747 # checkerboard pixel patter color 2 around fold trees fold.margin.highlight.colour=#0D1117 # Color of symbol fill fold.back=#0D1117 https://www.autoitscript.com/forum/topic/211954-scite-change-colour-scheme/#comments I tried putting that in the User Options File, but it doesn't appear to do anything. I tried saving and even restarting ScITE a couple times with hex inputs for different colors. @argumentum : It comes and goes... It appears to be a bug with ScITE. It first appeared when I used ScITE Config to change the theme. I just noticed that you posted your own screenshot so the issue is able to be reproduced. Edited January 10 by BinaryBrother SIGNATURE_0X800007D NOT FOUND
ioa747 Posted January 10 Posted January 10 (edited) assumes you have SciTE4AutoIt3.exe Every time you edit SciTEUser.properties, ScITE needs to be restarted try my skin from https://www.autoitscript.com/forum/topic/211954-scite-change-colour-scheme/#findComment-1534501 Edit press Ctrl + 1 (SciTE Config ), go to the 'Other Tools' tab press 'Run Autolt3/SciTE check' and look at the report, it might give you more information Edited January 10 by ioa747 I know that I know nothing
BinaryBrother Posted January 10 Author Posted January 10 That Theme should be added to the official list. It's pretty good. ioa747 1 SIGNATURE_0X800007D NOT FOUND
argumentum Posted January 10 Posted January 10 ..you can put your custom ones at C:\Users\<Username>\AppData\Local\AutoIt v3\SciTE\SciTEConfig\ So I guess his would be __SciTE4AutoIt3_Dark-ioa747.SciTEConfig or something. I have a script that updates SciTE's install. It could be used to update your own *.SciTEConfig files too. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Developers Jos Posted January 10 Developers Posted January 10 (edited) 4 hours ago, ioa747 said: Every time you edit SciTEUser.properties, ScITE needs to be restarted Nah... That is only for a few changes, but the majority like color settings do not require a restart when edited through SciTe. Just use sciteconfig to load a theme and the SciTe menu options to refine the settings in the user config file. This way you don't need to worry about it's proper location, which depend whether you use the installer or are running portable. Edited January 10 by Jos ioa747 1 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.
BinaryBrother Posted January 10 Author Posted January 10 (edited) 11 hours ago, Jos said: Nah... That is only for a few changes, but the majority like color settings do not require a restart when edited through SciTe. Just use sciteconfig to load a theme and the SciTe menu options to refine the settings in the user config file. This way you don't need to worry about it's proper location, which depend whether you use the installer or are running portable. You know anything about the glitchy line or changing the Line Number color? I got my SciTe so messed up, I had to zero it out. I wish I had the Beta ScITE4AutoIt, but it's too different. When the it makes a suggestion, like the rest of a variable name it actually returns a new line... So, if I was writing $MyVariable, and the box pops-up after $MyVariable and I hit return, it creates $MyVar iable. Other then that, it'd be awesome to get it running right for me, because if I'm not mistaken it was even giving hints for my own UDFs. As far as theming, I've realized that my brain is too trained on the original colors. I know what everything is faster, if I stick with the default color scheme. Edited January 10 by BinaryBrother SIGNATURE_0X800007D NOT FOUND
Developers Jos Posted January 10 Developers Posted January 10 (edited) The settings for the edge.line are: Quote edge.mode edge.column edge.colour Indicates long lines. The default edge.mode, 0, does not indicate long lines. An edge.mode of 1 uses a vertical line to indicate the specified column and an edge.mode of 2 changes the background colour of characters beyond that column. For proportional fonts, an edge.mode of 2 is more useful than 1. The style for the line numbers in at the left-hand side is 33: Quote style.lexer.32 style.lexer.33 style.lexer.34 style.lexer.35 style.lexer.36 style.lexer.37 style.lexer.38 As well as the styles generated by the lexer, there are other numbered styles used. Style 32 is the default style and its features will be inherited by all other styles unless overridden. Style 33 is used to display line numbers in the margin. Styles 34 and 35 are used to display matching and non-matching braces respectively. Style 36 is used for displaying control characters. This is not a full style as the foreground and background colours for control characters are determined by their lexical state rather than this style. Style 37 is used for displaying indentation guides. Only the fore and back are used. Style 38 is used for displaying calltips. Only the font, size, fore and back are used. A * can be used instead of a lexer to indicate a global style setting. You could have asked for this: 3 hours ago, BinaryBrother said: I wish I had the Beta ScITE4AutoIt, but it's too different. When the it makes a suggestion, like the rest of a variable name it actually returns a new line... So, if I was writing $MyVariable, and the box pops-up after $MyVariable and I hit return, it creates $MyVar iable. .. as I think it simply is a matter of changing these setting as that defines how tabs/enters are handled for autocomplete: # Define which character will be added after Tab or Enter was entered and not on a Function/UDF: Can be \s \t \n for space;tab;newline autocomplete.au3.on.enter=\n autocomplete.au3.on.tab= ... so just get rid of the \n on that first line in your sciteuser.properties. Jos Edited January 10 by Jos ioa747 1 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.
BinaryBrother Posted January 11 Author Posted January 11 (edited) 21 hours ago, Jos said: The settings for the edge.line are: The style for the line numbers in at the left-hand side is 33: You could have asked for this: .. as I think it simply is a matter of changing these setting as that defines how tabs/enters are handled for autocomplete: # Define which character will be added after Tab or Enter was entered and not on a Function/UDF: Can be \s \t \n for space;tab;newline autocomplete.au3.on.enter=\n autocomplete.au3.on.tab= ... so just get rid of the \n on that first line in your sciteuser.properties. Jos I'll give it another try. I'm surprised to see that ScITE is so flexible. Edit: I just reinstalled and changed the suggested vars and it's working perfect. Edited January 11 by BinaryBrother SIGNATURE_0X800007D NOT FOUND
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now