Hi,
While playing around with the Python Lexer, ive been wondering about the file open dialog.
Currently the file open dialog has a bunch of hard coded filters, and one called "All Known Files".
The Lexers specify the masks of files they recognise. I was wondering if it made sense for the File Open dialog, instead of having a hard coded filter to auto generate its filter from known file types of the associated lexers? It seems logical to me if C:B can syntax highlight a file, that it should be a known type.
I also think this should carry to the "Add Files" process, where a bunch of files are automatically selected for inclusion, i would think again if C::B knows about a file type, its not unreasonable for it to automatically select those file types when adding multiple files recursively.
Now its possible that the Lexer XML file might need more info in it for this to happen, and you would probably want to centralise the information so it could be used consistently in multiple places, but the question is, what is the general view of this?
Stevo