NppExtension
NppExtension copied to clipboard
Kotlin lowercase float literal
Hi, I am using the file kt-light.xml
in Notepad++
Any chance you can add support for lowercase f
suffix for float numbers, it works correctly for the uppercase suffix F
:
val x = 1.5F // currently colored correctly
val y = 1.5f // currently not colored correctly
While looking into this, I found this reference which says underscores are allowed in numbers, so these two should be colored the same:
val c = 1000000 // currently colored correctly
val d = 1_000_000 // currently not colored correctly
I have to clarify: the notepad++'s highlighting framework has limited support for complicated (we all hope we can use regex in this case) tokens. For the lowercase float lit, I'll take a look.