Re: [Suggestion] Manual syntax highlight



On 3 August 2011 20:06, piranna gmail com <piranna gmail com> wrote:
> Meld show code highlighted using the file extension as reference, but
> if extension doesn't correspond to any language or is not detected
> (for example, TortoiseSVN meld files end with .mine, .working,
> .rev7214, etc) it shows as plain text. It would be a good idea to be
> able to set the sintax highlight from a menu option or right click for
> every file or for all at a time.

I wish it was unnecessary, but this does sound reasonable. We'd
probably just copy gedit's interface for this. Could you file a bug
please?

> Another good idea is that if it's
> detected the language at only one file asume it for the other ones.

That's actually a really good idea, at least when we know we're in
merge mode, and really should cover almost all of the cases where
we're currently picking the wrong language. There's also additional
sniffing from GtkSourceView that we could be doing, though in my
experience it's somewhat unreliable.

cheers,
Kai


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]