Closed morrisseyai closed 4 years ago
Thanks for raising this. I think it's trying to match the second word as a type there because of the ?
. I'll look into fixing it.
I also ran into something odd, namely
this linked line and the lines below it all stop having the keywords highlighted, but I don't really see why.
Seems there's still a minor issue with the syntax highlighting, despite last week's fix.
If you take a look at, for example, this file & line: https://github.com/Maxr1998/ModernAndroidPreferences/blob/bae79242d6d05d0889a0c9b4827cc5cc0488039c/library/src/main/java/de/Maxr1998/modernpreferences/Preferences.kt#L172
Where we see references to
clickListener?
orattachedScreen?
, it seems to be highlighting the everything after the first word. So inclickListener?
we seeListener?
is highlighted, andattachedScreen?
we seeScreen?
is highlighted. This seems to also be true for further words after the first one. For example, if we were referencingoneTwoThreeFour?
we'd see theTwoThreeFour?
part highlighted.Sorry this is a bit of a vague issue report... I hope this is enough information to work with.