I'm working on a plugin for Android Development. As part of that I have a scratch that I pump a load of output to (logcat, for example). I was wondering if there was a way to color the scratch. I was considering doing this with syntax highlighting (the format is very very regular, and the scratch has a set name) but I'm unsure how to force the detection of the syntax highlighting given the scratch won't be saved.
So, is there a way to set the syntax on a scratch? Or, is there a way to color the lines of a scratch?
Thank you in advance,