Mini/MicroMap

main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Re: Mini/MicroMap

Post by main Alexey »

What's the difference? I don't understand the purpose of ui_lexer_themes.
description for "ui_lexer_themes":
Allow to apply color-theme to lexer's styles.
So it allows to apply colors from mentioned dialog - to the lexer styles. e.g. Rainmeter styles.

option on: lexer styles are overwritten from current syntax theme.
option off: current syntax theme is not used (except maybe 'SeparLine' item).
sl23
Posts: 161
Joined: 29.01.2013 10:04

Re: Mini/MicroMap

Post by sl23 »

I think this is where I am lost. I don't understand the difference between Lexer Styles and Syntax Theme. To me, they appear to do the same thing. But I think I was right, maybe, that the Syntax Theme is like a global Lexer Style? Meaning that all lexers will use that style?

I did try googling and searching the wiki, but I can't seem to find what I'm looking for.

So the end result is that I can't use this setting unless I turn Syntax Theme on?
Live for an ideal and leave no place in the mind for anything else.
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Re: Mini/MicroMap

Post by main Alexey »

I think this is where I am lost. I don't understand the difference between Lexer Styles and Syntax Theme.
2 layers of colors:
layer1, lexer styles. blocks in data/lexlib/*.lcf files.
layer2, syntax theme. in data/theme/* files.

layer2 overwrites layer1 if "ui_lexer_themes" on.
So the end result is that I can't use this setting unless I turn Syntax Theme on?
you still can use it.
edit by hands the data/themes/* syntax theme file. block 'SeparLine'.
i checked, and my custom color from there is used.
sl23
Posts: 161
Joined: 29.01.2013 10:04

Re: Mini/MicroMap

Post by sl23 »

When you say "overwrites" do you mean it literally writes the code to the file, or do you mean "override" as in it takes priority?

I'll give it a go. :)
Live for an ideal and leave no place in the mind for anything else.
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Re: Mini/MicroMap

Post by main Alexey »

I mean "overrides" of course.
sl23
Posts: 161
Joined: 29.01.2013 10:04

Re: Mini/MicroMap

Post by sl23 »

I'd already saved a different colour there years ago, it doesn't work for me.
I want a light colour that stands out:
"Lex_SeparLine": {
"Type": 3,
"Styles": "",
"CFont": "#000000",
"CBack": "#FF80FF",
"CBorder": "#FF80FF",
"Border": "0,0,0,0"
},
Is this correct?
Do I have to specify somewhere to use this file?


Ok, I thought you meant that, just thought best to check.:)
Live for an ideal and leave no place in the mind for anything else.
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Re: Mini/MicroMap

Post by main Alexey »

yes, it is correct. Did you also 'activate' that syntax theme via option
"ui_theme_syntax": "name_here",
in user.json?
sl23
Posts: 161
Joined: 29.01.2013 10:04

Re: Mini/MicroMap

Post by sl23 »

No. Do I have to do it manually? What about the rest of that syntax theme though? It will override my current theme, will it not?
Live for an ideal and leave no place in the mind for anything else.
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Re: Mini/MicroMap

Post by main Alexey »

yes, do it manually.
write option to user.json.
the rest of the theme should not be used.
sl23
Posts: 161
Joined: 29.01.2013 10:04

Re: Mini/MicroMap

Post by sl23 »

Superb, thank you, that's been annoying me for years! lol
Works perfectly, need to tone it down a bit though but it works. Thank you so much :D
Live for an ideal and leave no place in the mind for anything else.
Post Reply