On Fri, 27 May 2022, Paul A. Rubin wrote:
If the code was copied from outside LyX and pasted in, maybe there are some stray nonprinting characters and/or one of the supposed end-of-line characters is borked. The simplest way to test this would be to backspace over the offending commas and surrounding spaces and then type them back in.
Paul, I learned the reason for the spacing issues is that the program listing environment does not support tabs for white space, only spaces. Kinda' hard on the keyboard's space bar. :-) Best regareds, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users