Android Question Why this is marked red in the editor ?

kohle

Active Member
Licensed User
Longtime User
See screenshots
 

Attachments

  • 18-12-_2018_11-48-46.png
    18-12-_2018_11-48-46.png
    4.1 KB · Views: 217
  • 18-12-_2018_11-49-45.png
    18-12-_2018_11-49-45.png
    4.5 KB · Views: 158

kohle

Active Member
Licensed User
Longtime User
in the activity_create event.
Its a xcustomlistview view which is in a layout, which is loaded in the activity_create event,
after this is a if else construction it showed this color (screenshot)
of the first 2 letters.

It compiles and runs without problems.

I had this several times in different projects, i thought to post it now . After I added some code its normal again. But the code before was ok.

Thinking red , thinking of an error...
 

Attachments

  • 18-12-_2018_11-48-46.png
    18-12-_2018_11-48-46.png
    4.1 KB · Views: 125
Upvote 0

Sandman

Expert
Licensed User
Longtime User
Yeah, the editor sometime messes up the coloring, I get that quite often. Pressing enter on a line seems to redraw the line so it's fine again. Nothing to worry about, it's probably just some tiny edge case in the highlighting code that might - or not - get fixed at some point.
 
Upvote 0
Top