You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do a paste, and want to select the file type, the ordering of the list is not intuitive: the first 10 entries or so are a mystery to me, then the rest looks like it's sorted by the extension, but that extension is never shown.
So we end up looking for a bash highlighting near the "B", but no, it's near the "S" words, between SCSS and... "Highlight non-printable".
I would suggest to either:
show the extension first, so that the sorting is obvious
provide a search field (there is already a space between "Paste" and the list, maybe it could fit there?)
if only the alias is shown, actually sort by the alias string (so Bourne would be in the Bs)
Also, not related but nice-to-have, applying the selected highlight to the current text would be, well, nice.
The text was updated successfully, but these errors were encountered:
Which can be used here by calling add_filter('ext')
I tried it, and by adding near the end of the function a simple option.hidden = option.disabled; we get a nice working filter:
Maybe I can even try and PR something, though I'm not sure how to do the CSS part.
Tofee
added a commit
to Tofee/wantguns-bin
that referenced
this issue
Oct 22, 2023
Dynamically filter the content of the hightlight options. The filter
can be a regexp, and is case insensitive.
Fix for wantguns#24
Signed-off-by: Christophe Chapuis <[email protected]>
Dynamically filter the content of the hightlight options. The filter
can be a regexp, and is case insensitive.
Fix for wantguns#24
Signed-off-by: Christophe Chapuis <[email protected]>
When I do a paste, and want to select the file type, the ordering of the list is not intuitive: the first 10 entries or so are a mystery to me, then the rest looks like it's sorted by the extension, but that extension is never shown.
So we end up looking for a bash highlighting near the "B", but no, it's near the "S" words, between SCSS and... "Highlight non-printable".
I would suggest to either:
Also, not related but nice-to-have, applying the selected highlight to the current text would be, well, nice.
The text was updated successfully, but these errors were encountered: