I would love to see this feature added in the next LyX version.
Many thanks,
PhG
rgheck wrote:
Jean-Marc Lasgouttes wrote:
LFUN_TAB_INSERT currently
only works with listings. You might be able to redo the bindings so
that the tab key would insert a tab, perhaps via unicode-insert and
then the tab character, but I'm not sure.
This probably that this code should be made more generic and usable in
custom insets... I am not sure how difficult this would be.
Fairly easy, I think. The attached basically just moves the code from
InsetListings to InsetCollapsable and tests against PassThru. I haven't
actually tested it but can't see how it wouldn't work.
rh