Valhalla Legends Archive

Programming => General Programming => Topic started by: Imperceptus on April 27, 2007, 10:31 PM

Title: Syntax Highlighting
Post by: Imperceptus on April 27, 2007, 10:31 PM
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?
Title: Re: Syntax Highlighting
Post by: Barabajagal on April 28, 2007, 03:32 AM
Checking beforehand often prevents flickering of interfaces. It sort of depends on how often you run the highlight scanner.