Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.4k stars 167 forks source link

Formatting for Python exception class isn't enabled #5434

Closed the-allanc closed 3 months ago

the-allanc commented 3 months ago

In this commit, the "Exceptions" block seems to have been disabled. I'm not sure it's even related to the rest of the commit - it doesn't seem to be related to the bug that was being fixed.

Can this be re-enabled?

Alexey-T commented 3 months ago

yes, disabling of exceptions-block is not related. it is separate change. why? because additional keywords-list (stringlist) will slow down parser a little. with almost no gain. i think gain is almost none - to hilight exception names. it is only distracting. usual color for exception names is ok.

the-allanc commented 3 months ago

OK, that's fine - I did find it confusing why I couldn't get exception names to be highlighted. I only noticed when I looked at the configuration file.