[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] nano bug #54928: a syntax file should be fully read onl
Re: [Nano-devel] nano bug #54928: a syntax file should be fully read only when the syntax gets actually used
Thu, 15 Nov 2018 08:11:56 -0700
On Thu, 15 Nov 2018 09:00:47 -0500
Devin Hussey <address@hidden> wrote:
> The main issue with this is that we parse the rcfiles before the file
> is even opened, which makes things a little complicated.
Errors are going to be the biggest issue. If a syntax is loaded after ncurses
has been initialized, any parsing errors will be written on top of the edit
window. The syntax loading code would need to endwin(), parse syntax file and
then reinitialize ncurses, which might cause terminal flicker.