Re: [gedit-list] Dynamically reload a language specification



At 10:08 +0800 4/24/09, Xiaoqiang Zhou wrote:
Is there any way to reload my language specification without restarting gedit so that I can view the effect of my modification quickly and easily.

Recently, I wrote:
>When is perl.lang read? Can I keep gedit running while I use gedit itself to edit the language file and test in another window?

Steve Frécinaux <nudrema gmail com> replied:
>I'm afraid you will need to restart gedit to check the changes...
BTW you can put custom lang files in ~/.local/share/gtksourceview-2.

I would guess that adding your changed *,lang file to your home directory might cause a re-read when a new gedit document is opened especially if you use a command line "gedit newfile". I will try it right soon now.

--

--> From the U S of A, the only socialist country that refuses to admit it. <--


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