Page 1 of 1

[Solved] Highlight filenames with "double" extensions issue

Posted: 27 Feb 2025 14:35
by prino
I do highlight .asm files in red, but don't highlight .txt files. So why is "timer.asm.txt" highlighted in red?

Re: Highlight filenames with "double" extensions issue

Posted: 27 Feb 2025 14:38
by highend
Highlighting by doing _what_?

Re: Highlight filenames with "double" extensions issue

Posted: 27 Feb 2025 14:57
by prino
F9, Color Filters

Re: Highlight filenames with "double" extensions issue

Posted: 27 Feb 2025 14:59
by highend
And now we are guessing what the filter definition is?

Re: Highlight filenames with "double" extensions issue

Posted: 27 Feb 2025 15:17
by prino
.asm, at position 15, with color red is checked, .txt, at 10, not.

Issue is that XY assumes everything after the first dot to be extension. Should be after last dot!

Re: Highlight filenames with "double" extensions issue

Posted: 27 Feb 2025 15:28
by highend
Does that look like if something's off? No...
1.png
1.png (17.62 KiB) Viewed 1533 times

Re: Highlight filenames with "double" extensions issue

Posted: 27 Feb 2025 15:35
by prino
The same, except for the rounded rectangles and that doesn't change things.

XY 26.90.0201

Re: Highlight filenames with "double" extensions issue

Posted: 27 Feb 2025 15:56
by admin
Mind the * in *.asm.

Re: Highlight filenames with "double" extensions issue

Posted: 02 Mar 2025 22:53
by prino
Yes, using *.asm it works. Counterintuitive...

Re: [Solved] Highlight filenames with "double" extensions issue

Posted: 05 Mar 2025 10:07
by admin
Really? Pretty standard if you ask me.

Re: Highlight filenames with "double" extensions issue

Posted: 05 Mar 2025 17:15
by Horst
prino wrote: 02 Mar 2025 22:53 Yes, using *.asm it works. Counterintuitive...
That's the standard in all sorts of tools.