Re: syntax switching



On Wed, 1 Feb 2006, Leonard den Ottolander wrote:

> On Mon, 2006-01-30 at 13:55 +0200, Andy Shevchenko wrote:
> > Arny (one of developers of MPlayer) made patch for mc old version. I
> > catch the syntax highlighting toggle feature from it and adopt to a last
> > FC package. I hope, the switcher of syntax highlightind is a usefull
> > feature and should like to be added to mainstream.
>
> Patch has been committed. We might use a different hotkey than Ctrl-S in
> the future.

The patch isn't working quite as I'd expect it. If syntax highlighting is
off when opening a file - it is not possible to switch it on (i.e.
see the file coloured after Ctrl + S) because the syntax rules are not
loaded yet. If this is the expected behaviour i.e. the patch honours
the syntax highlighting switch then I'd expect it not to change that
switch on editor exit i.e. if I close the editor with syntax off it should
not remember that.




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