On 05/28/2014 04:38 AM, Scott Kostyshak wrote:
On Tue, May 27, 2014 at 7:04 PM, Benedict Holland
<[email protected]> wrote:
Hi everyone. Yes, I did check the archived mail and no, I didn't find an
answer. I am running lyx 2.1 and I need to spell check ERT. How can I make
this happen?

Before you ask, why he is still using ERT the answer is tables. I cannot
make lyx do what I want with tables and I am not going to go through and
remove each string from ert. That would make my document unreadable. So. How
do I make lyx spell check within ERT?
Hi Benedict,

You might be able to redefine ERT in local layout (Document > Settings > Local 
layout). Please read about layouts and about the Spellcheck keyword in Help > 
Customization. If redefining ERT doesn't work, consider making your own inset that does 
the same thing as ERT except that it spell checks.

This is hardcoded in the case of ERT: allowSpellCheck() returns false. But yes, in principle, you could define your own ERT-like inset (PassThru 1, etc), and allow spell check inside it. You do then have the problem that Stephan mentioned, though.

Richard

Reply via email to