Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin lowercase float literal #4

Closed
cvzi opened this issue Oct 19, 2018 · 1 comment
Closed

Kotlin lowercase float literal #4

cvzi opened this issue Oct 19, 2018 · 1 comment

Comments

@cvzi
Copy link

cvzi commented Oct 19, 2018

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
@ice1000
Copy link
Owner

ice1000 commented Oct 19, 2018

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.

@cvzi cvzi closed this as completed Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants