foobar2000 - Mp3tag Title_formatting Lexer
Re: foobar2000 - Mp3tag Title_formatting Lexer
OK. Changed name, shorten the sample, assigned it and it has no extensions.
I hope i made them right.
I hope i made them right.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: foobar2000 - Mp3tag Title_formatting Lexer
Thanks.
a. you highlight titles with SeparColor color. too bright IMO. i suggest instead the Label color. if you you need the background, the IncludeBGx / SectionBGx color.
b. in the sample, many $funcnames are not highlighted. maybe make the rule and set there Id2 or Id3 or Id4 color?
c. for Regex1 / Regex2, good to use String2 / String3 colors.
a. you highlight titles with SeparColor color. too bright IMO. i suggest instead the Label color. if you you need the background, the IncludeBGx / SectionBGx color.
b. in the sample, many $funcnames are not highlighted. maybe make the rule and set there Id2 or Id3 or Id4 color?
c. for Regex1 / Regex2, good to use String2 / String3 colors.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: foobar2000 - Mp3tag Title_formatting Lexer
d. for brackets and other symbols, good to use Symbol color. we have also Symbol2 color if u need it.
Re: foobar2000 - Mp3tag Title_formatting Lexer
I had to reinstall Cudatext because my colors was messed up.
I checked it with all the default themes to be sure.
I thing everything is OK now.
I checked it with all the default themes to be sure.
I thing everything is OK now.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: foobar2000 - Mp3tag Title_formatting Lexer
Thanks.
I made my version of *.cuda-lexmap file, do u agree it is better?
different color values are not repeated here, except 'Label' repeated 1 time.
I made my version of *.cuda-lexmap file, do u agree it is better?
different color values are not repeated here, except 'Label' repeated 1 time.
Code: Select all
[comments]
str1=
str2=
styles_cmt=
styles_str=
[map]
Regex1=String2
Regex2=String3
Regex_num=Id4
Separator_fold=Label
Separator=Label
Comments=Comment
Escaping_char=Symbol
Query=String
Color control=Color
var=IdVar
setstyle=Id3
Functions=Id1
FunctionsMeta=Id2
Numbers=Number
Text=Id
Last edited by main Alexey on 03.09.2024 12:17, edited 1 time in total.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: foobar2000 - Mp3tag Title_formatting Lexer
These lines are empty:
So SpellChecker plugin won't check anything here. better add names of comment/string styles there, if possible.
Code: Select all
styles_cmt=
styles_str=
Re: foobar2000 - Mp3tag Title_formatting Lexer
If it is for the common good why not. I like it better yes.
You mean at the comment tab to add token names so it can spellcheck? At SynWrite?
Like this:
Styles of comments (comma separated):
Separator_fold,Comments,Escaping_char,Text
Styles of strings:
Empty
Or just add it at the file as
styles_cmt=Separator_fold,Comments,Escaping_char,Text
styles_str=empty
You mean at the comment tab to add token names so it can spellcheck? At SynWrite?
Like this:
Styles of comments (comma separated):
Separator_fold,Comments,Escaping_char,Text
Styles of strings:
Empty
Or just add it at the file as
styles_cmt=Separator_fold,Comments,Escaping_char,Text
styles_str=empty
Re: foobar2000 - Mp3tag Title_formatting Lexer
You mean the file OK.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: foobar2000 - Mp3tag Title_formatting Lexer
I made small correction.
and i am publishing the lexer now to Addons Manager of CudaText, 20 minutes.
Code: Select all
[comments]
str1=
str2=
styles_cmt=Comments,Separator_fold
styles_str=Text