On Apr 10, 2006, at 7:35 PM, Michael Sheets wrote:
Scanning the entire file (then scanning it again when you choose a syntax) is probably a bit too taxing, especially for large files.
That's true; perhaps it would only scan the first 500 or 1000 lines or something. Also, note that it wouldn't have to scan all the files that are opened, only those whose extension happens to match a language type with a lineMatch field in it.
Trevor