editor: guess source language from filename.