Search found 87 matches

by inspector71
05 Aug 2022 14:24
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: FIXED? Some CSS highlighter quirks

I really liked this one https://github.com/microsoft/vscode-custom-data/blob/main/web-data/css/mdn/mdn-documentation.js :-D I'll see if it can be used in some later version of RJ TextEd... Although that does not include pseudo elements like `::before` and `::after` whereas this does: https://github...
by inspector71
05 Aug 2022 14:10
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: FIXED? Some CSS highlighter quirks

I really liked this one https://github.com/microsoft/vscode-custom-data/blob/main/web-data/css/mdn/mdn-documentation.js :-D I'll see if it can be used in some later version of RJ TextEd... Woohoo!!! :lol: You mean, I actually made a reasonable suggestion? :o Maybe helped? :shock: Wow. Thought I was...
by inspector71
05 Aug 2022 12:29
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: FIXED? Some CSS highlighter quirks

Setting aside any language server issues, if the problem could loosely be described as needing a reliable list of CSS properties to regex with, maybe this might help: https://github.com/microsoft/vscode-custom-data/blob/main/web-data/css/mdn/mdn-documentation.js Or something from further up the tree...
by inspector71
04 Aug 2022 09:10
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: Some CSS highlighter quirks

... Unknown properties ("fnt-weight") has a different color than the standard properties by design. It's common in other editors as well... ... Can something similar - a 'whoops that's not recognised' colour for tags? Would help avoid this sort of typo I just did: https://i.imgur.com/6jlp...
by inspector71
04 Aug 2022 09:07
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: FIXED? Some CSS highlighter quirks

Just one slight oddity but that may be nothing. Anyone know if grid-gap and gap are interchangable? I seem to be using either, in different rules, and they both work the same. According to CanIUse (I haven't found it mentioned on MDN), grid-gap is a non-standard name; so, they both can work now, bu...
by inspector71
04 Aug 2022 09:05
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: Some CSS highlighter quirks

I suppose you're referring to Language Server Protocol (LSP), which has been implemented already and is very helpful indeed. That's the one :) You have used it? I'm not really sure what it is. Maybe I've misinterpreted or missed something. Yes, I do use LSP binding for three Web languages (JS, CSS,...
by inspector71
04 Aug 2022 02:40
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: FIXED? Some CSS highlighter quirks

I think the CSS.syx file is finished and complete now. I'm still working on the CSS.ini file (auto completion stuff...). css.zip Nigh on perfect for me. Just one slight oddity but that may be nothing. Anyone know if grid-gap and gap are interchangable? I seem to be using either, in different rules,...
by inspector71
03 Aug 2022 05:38
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: Some CSS highlighter quirks

New css.syx works much better, thank you! However it still has some quirks, e.g. #id { this is OK: #_Id } a#id { and this isn't: Text } I guess the spaces in the 'property' of the latter declaration are what could easily throw off any regex approach? Along with the apostrophe. Ooops, my bad; what I...
by inspector71
03 Aug 2022 05:30
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: Some CSS highlighter quirks

I'm guessing this is due to padding-block-start being a relatively new property. Thing is, it got through to one list of properties (autocompletion, Ctrl+Space), but not to another (highlighter). My humble suggestion would be to make a system that e.g. list of properties is imported once and fuels ...
by inspector71
03 Aug 2022 05:15
Forum: Features
Topic: Remember folding?
Replies: 2
Views: 1711

Re: Remember folding?

OK, cool, thanks. Good to know it's a feature already considered. Alas, I have had this enabled, set to 50 files and I rarely ever go through that many files. But remembered folding does not seem to work. Bumped the number of files up to 250 but I doubt that's the issue. I'll see how I go in that I ...
by inspector71
02 Aug 2022 04:18
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: Some CSS highlighter quirks

Unknown properties ("fnt-weight") has a different color than the standard properties by design. It's common in other editors as well... Hey, no need to convince me of that :-D Of course it is very convenient, but my point is that its name (#Properties) is very vague; why not call it e.g. ...
by inspector71
02 Aug 2022 04:09
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: FIXED? Some CSS highlighter quirks

Partially off-topic but I wonder if this points to a need not necessarily met. I wonder if a feature comparison table between RJTE and various other editors would be helpful. Might take a lot of work but less if it's a combined effort. If it goes into further detail about how features are implemente...
by inspector71
02 Aug 2022 04:04
Forum: Features
Topic: Remember folding?
Replies: 2
Views: 1711

Remember folding?

Would it be possible to remember the folding state of files between reloads and restarting RJTE?

I spend a lot of my time re-folding. It's a repetitive task that feels unnecessary.
by inspector71
01 Aug 2022 08:59
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: FIXED? Some CSS highlighter quirks

Thanks Rickard!

Much appreciated.
by inspector71
01 Aug 2022 04:53
Forum: Bugs
Topic: FIXED? Some CSS highlighter quirks
Replies: 35
Views: 5351

Re: FIXED? Some CSS highlighter quirks

Regarding colour values getting their colour as the background, I love this feature. Alas, I just started enjoying it and then started using CSS Custom Propertier (AKA CSS Variables to most people) so I never see the cool colours when doing something like this: :root { --bg-color:#FFF; } /* ... many...