You have the following method:
public string ILPCodes(string codes)
{
ILPcodes = codes;
return ILPcodes;
}
which returns a string.
However when you call it in
signalActiveTheLexer
public void signalActiveTheLexer()
{
SendToIDE.ILPCodes(CodeEditorControl.Text);
}
you do not capture the return value, and even if you did, that method does not return anything. You should change it as follows:
public string signalActiveTheLexer()
{
return SendToIDE.ILPCodes(CodeEditorControl.Text);
}