Posted by: Armagon | Date: 2020-01-26 18:39 | IP: IP Logged
Ty for the extremely hasty response.
I hope I posted this image correctly, Was having some issues with the FTP. It appears to be expecting HTML5 style img=src? And I haven't used that in some years.
From the photo You can see that Pascal has a "Hexadecimal Color" its applied to any characters following the '$' symbol. ASM uses mostly Hexadecimal values. I've already assigned settings to the highlighter on the left.
From the photo you'll see the list of color options (all the User Highlighter have same list I think). To be precise this is what I would like to do:
$(Any Color other than "Identifier").
I've tried quite a few options: Placing '$' in keywords only highlights the '$' symbol not the following character string. As an example it'll look something;
#$AF04, $01FC in 2 separate colors. I need '$' to override Number color or use it. Otherwise I get values that start with A-F in one color, and Values that start with 0-9 in the Number color.
I tried to keep this as short as I could, and try to give a full explanation. Sorry for it being so long. Ty for any and all assistance.
Posted by: pspad | Date: 2020-01-26 19:23 | IP: IP Logged
the pic is too small to see anything on it.
Posted by: Armagon | Date: 2020-01-26 20:33 | IP: IP Logged
Sorry Idk why it's so small. I uploaded to ibb, should be able to view it in a normal size. If its small just click it. First time doing this but I tested it should work.
Posted by: Armagon | Date: 2020-01-26 21:13 | IP: IP Logged
I tossed $40 your way whether this is solvable or not. I love the product
But ty for the asisstance
Posted by: pspad | Date: 2020-01-27 03:39 | IP: IP Logged
If I understood well, uou want to add hexadecimal and preprocessor atribute to general highlights, right?
Your language is some form of Pascal?
Posted by: Armagon | Date: 2020-01-27 05:30 | IP: IP Logged
I'm coding ASM(assembly), and I already added the Preprocessor attribute to the highlighter. I merely referenced Pascal because it uses the same symbol '$' for the hexadecimal attribute.
I would like the '$' hexadecimal attribute general highlighting yes, if it isn't too much trouble.
Thx again for showing an interest.
Posted by: pspad | Date: 2020-01-27 05:47 | IP: IP Logged
Programming isn't trouble
With all ideas I thing if it's useable for more people than for requestor only and it it won't have influence of functionality. This idea isn't against nothing from the first view.
The only problem I see is $ is used as singleline and multiline comment.
I must handle it in code highlighting. Comment will have priority, hexadecimal numbers can contains only 0-9, a-f chars.
Posted by: Armagon | Date: 2020-01-27 06:13 | IP: IP Logged
TY $ could be strictly multiline if that makes it easier. The coding style only uses $ to reference hexadecimal characters anyway. Let me know if there's anything I can do to help.
Posted by: Armagon | Date: 2020-01-27 06:34 | IP: IP Logged
I stated that poorly, what I meant was I see what you mean that Comment needs priority because it uses $ too. But $ can contain any characters. Doesn't have to be limited to 0-9, A-F if that makes it easier.
Posted by: pspad | Date: 2020-01-27 07:01 | IP: IP Logged
To highlight HEX numbers $nnnnn, there must not be any comment with $ enabled in user highlighter definition. I think this explanation is better.
Edited 1 time(s). Last edit at 2020-01-27 07:02 by pspad.