Whenever I am writing a C code, and I comment multiple lines using
/* ... */, only the first and the last line gets highlighted, all
the lines in the middle are not refreshed...
Is there some setting which can solve this problem...
Nilesh.
--
Nilesh N. Dalvi
email : nil...@cse.iitb.ernet.in, nil...@nileshdalvi.com
homepage : http://www.cse.iitb.ernet.in/~nilesh
Try
(setq font-lock-support-mode 'lazy-lock-mode)
this will refresh the lines in-between in the background (i.e. not
instantaneously, but within a few seconds).
It does a good bit more than that, tho.
Checkout C-h f lazy-lock-mode RET.
Stefan
> Whenever I am writing a C code, and I comment multiple lines using
> /* ... */, only the first and the last line gets highlighted, all
> the lines in the middle are not refreshed...
> Is there some setting which can solve this problem...
Is this in emacs ??
Are you using a windows machine ?
I have also done some C programming using the emacs editor, but there
were no
problems.
I just now tried it and there seems to be no problem at all.
Can you send your .emacs file to me please.
luv,
gurucharan
>
> > Whenever I am writing a C code, and I comment multiple lines using
> > /* ... */, only the first and the last line gets highlighted, all
> > the lines in the middle are not refreshed...
> > Is there some setting which can solve this problem...
>
>
> Is this in emacs ??
> Are you using a windows machine ?
> I have also done some C programming using the emacs editor, but there
> were no
> problems.
>
I use emacs on linux platform.. What emacs seems to be doing is that
it doesn't apply syntax highlighting to all the lines commented. It
changes the color of a line only when I change something in that line.
Note that problem occurs when I have already written a code and then
comment it.
Thanks,
M-x font-lock-fontify-buffer
Hi Gurucharan,
Thanks,
Nilesh.
_______________________________________________
Help-gnu-emacs mailing list
Help-gn...@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs