I don't know if it is a bug or the default setting.
In settings - theme - syntax
I can't setup the borders of the
( IncludeBG1-2-3-4, SectionBG1-2-3-4 and LightBG1-2-3-4-5 )
because when i enter "Border" : "0,0,0,1"
all 4 of them are enabled or all disabled with 0.
And the highlight occurrences plugin gives only this options.
Settings - theme - syntax (borders)
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Settings - theme - syntax (borders)
IncludeBG1 can allow setting borders (each 4 of borders) BUT ONLY if you change in the dialog "Lexer style":
>>Style type: Colors, styles
It is the first combobox in the dialog.
I changed it and HiOccur plugin now uses this IncludeBG1, and matches are highlighted with border as I set bottom border in IncludeBG1.
>>Style type: Colors, styles
It is the first combobox in the dialog.
I changed it and HiOccur plugin now uses this IncludeBG1, and matches are highlighted with border as I set bottom border in IncludeBG1.
Re: Settings - theme - syntax (borders)
So this doesn't apply when i open an .ini file which uses
Cudatext\data\lexliblite\Ini files.cuda-litelexer
with my default syntax theme.
I made the changes that you have post with borders 0,0,0,1 and it doesn't work.
Cudatext\data\lexliblite\Ini files.cuda-litelexer
with my default syntax theme.
I made the changes that you have post with borders 0,0,0,1 and it doesn't work.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Settings - theme - syntax (borders)
I did not understand what you wrote. please elaborate.
(what color element in INI files do you want to change?)
(what color element in INI files do you want to change?)
Re: Settings - theme - syntax (borders)
In Options - (settings - plugins) - highlight occurrences - config
I am setting:
theme_item_current = BrcketBG (default) IncludeBG1 (user)
theme_item_other = BrcketBG (default) IncludeBG2 (user)
Then
in Cudatext\data\themes\My_default.cuda-theme-syntax
I am editing IncludeBG1 - IncludeBG2
"Lex_IncludeBG1" : {
"Type" : 3,
"Styles" : "",
"CFont" : "",
"CBack" : "",
"CBorder" : "#FF0000",
"Border" : "0,0,0,1"
},
"Lex_IncludeBG2" : {
"Type" : 3,
"Styles" : "",
"CFont" : "",
"CBack" : "",
"CBorder" : "#00FF00",
"Border" : "0,0,0,1"
},
I have changed also "Type" 3 with 2 and also done it the way you showed me in your post.
Then
I open an .ini file with INI files default lexer.
Then within the .ini file contents
When i select a word it highlights with either all borders showing up (both the word i select and all occurrences with "Border" : "0,0,0,1") or no borders showing up (both the word i select and all occurrences with "Border" : "0,0,0,0")
I hope i have explain it well.
I am setting:
theme_item_current = BrcketBG (default) IncludeBG1 (user)
theme_item_other = BrcketBG (default) IncludeBG2 (user)
Then
in Cudatext\data\themes\My_default.cuda-theme-syntax
I am editing IncludeBG1 - IncludeBG2
"Lex_IncludeBG1" : {
"Type" : 3,
"Styles" : "",
"CFont" : "",
"CBack" : "",
"CBorder" : "#FF0000",
"Border" : "0,0,0,1"
},
"Lex_IncludeBG2" : {
"Type" : 3,
"Styles" : "",
"CFont" : "",
"CBack" : "",
"CBorder" : "#00FF00",
"Border" : "0,0,0,1"
},
I have changed also "Type" 3 with 2 and also done it the way you showed me in your post.
Then
I open an .ini file with INI files default lexer.
Then within the .ini file contents
When i select a word it highlights with either all borders showing up (both the word i select and all occurrences with "Border" : "0,0,0,1") or no borders showing up (both the word i select and all occurrences with "Border" : "0,0,0,0")
I hope i have explain it well.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Settings - theme - syntax (borders)
I see now. reason of wrong border highlight: you did now change the field in the dialog:
>>Style type: Colors, styles
As i see, it corresponds to the line
"Type": 1,
because I have now in file themes/my.cuda-theme-syntax
"Lex_IncludeBG1": {
"Type": 1,
"Styles": "",
"CFont": "#000000",
"CBack": "#C0DCC0",
"CBorder": "#0000FF",
"Border": "0,0,0,1"
},
>>Style type: Colors, styles
As i see, it corresponds to the line
"Type": 1,
because I have now in file themes/my.cuda-theme-syntax
"Lex_IncludeBG1": {
"Type": 1,
"Styles": "",
"CFont": "#000000",
"CBack": "#C0DCC0",
"CBorder": "#0000FF",
"Border": "0,0,0,1"
},
Re: Settings - theme - syntax (borders)
If i understand it right you are telling me to replace IncludeBG1 with
"Lex_": {
"Type": 1,
"Styles": "",
"CFont": "#000000",
"CBack": "#C0DCC0",
"CBorder": "#0000FF",
"Border": "0,0,0,1"
},
and i did
Also ui_lexer_theme = true tried with false too
Enable lexer themes = true tried with false too
But in all cases it shows all the 4 borders.
I also changed the theme to ebony but again it shows all the 4 borders.
"Lex_": {
"Type": 1,
"Styles": "",
"CFont": "#000000",
"CBack": "#C0DCC0",
"CBorder": "#0000FF",
"Border": "0,0,0,1"
},
and i did
Also ui_lexer_theme = true tried with false too
Enable lexer themes = true tried with false too
But in all cases it shows all the 4 borders.
I also changed the theme to ebony but again it shows all the 4 borders.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Settings - theme - syntax (borders)
Can you send me your settings-folder in zip? support(at)uvviewsoft.com or attach it here (remove private info from history*).
and data-folder too!
and data-folder too!
Re: Settings - theme - syntax (borders)
I have send them.
Re: Settings - theme - syntax (borders)
I think all it was needed was an update of the plugin.
It was in front of my eyes...
It is working now as you have suggested. Thanks.
P.S. Is there a way to delete the whole topic;
It was in front of my eyes...
It is working now as you have suggested. Thanks.
P.S. Is there a way to delete the whole topic;