XhmikosR / notepad2-mod

LOOKING FOR DEVELOPERS - Notepad2-mod, a Notepad2 fork, a fast and light-weight Notepad-like text editor with syntax highlighting
https://xhmikosr.github.io/notepad2-mod/
Other
1.45k stars 270 forks source link

Add YAML lexer #33

Closed costin closed 11 years ago

costin commented 11 years ago

Hi,

Is there a reason why recently updated lexers (like YAML) are not liked into Notepad2? In fact, is there any reason why only some lexers are included?

Thanks

XhmikosR commented 11 years ago

There is no reason to include them. Some are known to be broken, some others are hardly even used by 1 person. I only included lexers I had some use for and of course the lexers Notepat2 had.

costin commented 11 years ago

Is there a list somewhere that lists the broken lexers? The YAML one has been updated 5 months ago (as oppose to say Python which is 2 years old) so based on age, one could argue YAML is maintained better. Also, YAML is fairly popular (as oppose to AU3 for example) - I understand that you're probably not using it but unless it slows things down or it's broken, I think it would be a great (and easy) addition to link it into Notepad2.

Thanks.

XhmikosR commented 11 years ago

Well, I have no use for this lexer. The last date a lexer is modified doesn' mean anything. And finally, your options are 1. Wait if more people ask for this 2. Do it yourself and provide a pull request which always is a plus.

I don't plan to add more random lexers I don't use; size and maintenance are important factors.

XhmikosR commented 11 years ago

0dfd12949256833443af694f11d0452143b308f0