• Welcome to Valhalla Legends Archive.
 

Syntax Highlighting

Started by Imperceptus, April 27, 2007, 10:31 PM

Previous topic - Next topic

Imperceptus

I have been always tinkering with ways of syntax highlighting. and Have wondered a main thing in general. When the highlighting procedure triggers should a object(being the part of text to highlight) be checked to see if it has been colored already? Or should it just be ignored and treated like it wasn't?
Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.

Barabajagal

Checking beforehand often prevents flickering of interfaces. It sort of depends on how often you run the highlight scanner.