Editor for text-based subtitle files