Re: dark theme

"'Neil Hodgson' via scite-interest" <[email protected]> Tue, 9 May 2023 10:00:22 +1000
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
Andrew:

> It is also remarkable how Scite can so snappily refresh the theme when my lua script rewrites the properties.

   There's an ongoing war between 'teh snappy' and expressiveness of properties files.

> The results of the simple formula was a bit lack luster on the perl theme but even it would be a relief to users with visual difficulties. I dug out my pre-lua function that was patched in for conversion and I think it can do better. It is an odd blob of code but works well to demonstrate.
> 
> https://gist.github.com/strainer/ca20642e9a091634f685915bd6b90e51

   That's a complex calculation. The results look much better than the simple formula. I hope the loop always terminates as that's not obvious to me.

   The function can't be marked constexpr (potentially calculated at compile time) as abs is called and abs isn't defined as constexpr in the C++ standard until C++23 although some implementations may be constexpr. SciTE still has to support C++17.

   Neil

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/6BCEC8C3-6161-463E-B266-9F94E2A4AEC0%40me.com.