On Saturday 29 October 2016 22:32:04 Fred van Stappen wrote:
> Re-hello Martin.
>
> Huh, and with freedeffile(), something like this ?:
>
> var
> han : integer = -1;
> ...
> procedure sdefload(sdeffile : msestring);
> begin
> if han <> -1 then sourcefo.syntaxpainter.freedeffile(han);
>  han := sourcefo.syntaxpainter.readdeffile(sdeffile);
>  sourcefo.activepage.edit.setsyntaxdef(han);
>  sourcefo.activepage.updatestatvalues;
> end;

Yes, but a single global "han" variable probably is not sufficient.

Martin

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to