discord / SimpleAST

Extensible Android library for both parsing text into Abstract Syntax Trees and rendering those trees as rich text.
Other
370 stars 32 forks source link

Improve XML code highlighting #29

Open Andre601 opened 3 years ago

Andre601 commented 3 years ago

The Code highlighting for the XML language is kinda odd looking, when compared to the desktop equivalent.

On mobile does it look like that right now (I use AMOLED Dark theme): image

Meanwhile on Desktop (Windows) is it rendered like this: image

It bothers me, that indend ending sections, like the </block> in our example, have a completely different text fill color, while all the other ones seem perfectly fine. This should be corrected to have it more similar to the desktop version of the App.