On Fri, 22 Aug 2003, Helge Hafting wrote:

> Using ERT and the listings package is my way of doing this.
> A listing inset could do away with the ERT, it'd need a
> big input field for the multitide of options this package
> support.

Herbert's patch does introduce a dialog with loads of options. I've 
just got the patch working for 1.3.2-xforms...

John, how do I create a patch?  

This was done for 1.3.2, I thought I'd start with something that 
works and doesn't change all the time, i.e. lyx-CVS.

Anyway, now I thought I'd try and apply a patch of this to the latest 
version, is that correct?

Oh... and I guess there's the small issue of testing it... to be honest, I 
don't even know how it works :-) I've just fiddled with the files.
When I insert a "program listing"-inset, this message shows up:

        In SetChoiceText [choice.c 603]  not found

Any ideas?

/Christian

PS. Here's a list of the modified files in case anyone is interested.

? src/frontends/controllers/ControlListing.C
? src/frontends/controllers/ControlListing.h
? src/frontends/xforms/FormListing.C
? src/frontends/xforms/FormListing.h
? src/frontends/xforms/forms/form_listing.fd
? src/insets/insetlisting.C
? src/insets/insetlisting.h
M lib/ChangeLog
M lib/chkconfig.ltx
M lib/doc/LaTeXConfig.lyx.in
M lib/doc/LyXConfig.lyx.in
M lib/ui/default.ui
M po/ChangeLog
M po/POTFILES.in
M src/BufferView_pimpl.C
M src/ChangeLog
M src/LaTeXFeatures.C
M src/LyXAction.C
M src/buffer.C
M src/commandtags.h
M src/frontends/ChangeLog
M src/frontends/Dialogs.h
M src/frontends/guiapi.C
M src/frontends/guiapi.h
M src/frontends/controllers/ChangeLog
M src/frontends/controllers/Makefile.am
M src/frontends/xforms/ChangeLog
M src/frontends/xforms/Dialogs.C
M src/frontends/xforms/Dialogs2.C
M src/frontends/xforms/Dialogs_impl.h
M src/frontends/xforms/Makefile.am
M src/frontends/xforms/forms/Makefile.am
M src/insets/ChangeLog
M src/insets/Makefile.am
M src/insets/inset.h

-- 
Christian Ridderström                           http://www.md.kth.se/~chr

Attachment: screenshot.png
Description: dialog

Reply via email to