|
If yoi implemented your database as a hashtable and get color for every keyword in your document from the database with one query per each word, i think it should be fast enough. But when editing, you should check only the part being changed, not whole document. Let us know the result.
|