Hi,
I have a problem/misunderstading about sub lexems usgage with intellisense.
I have a block the begins with "Say Hello" and ends with ;
After typing Say Hello i am opening the context choice. This is the code use for the event
private void editControlDebugger_ContextChoiceOpen(IContextChoiceController controller)
{
IList currentLineLexems = editControlDebugger.GetLine(editControlDebugger.CurrentLine).LineLexems;
ILexem lexem = (ILexem)currentLineLexems[currentLineLexems.Count - 1];
foreach (IConfigLexem subLexem in ((IConfigLexem)lexem.Config.SubLexems[0]).SubLexems)
controller.Items.Add(subLexem.BeginBlock, "this is a tooltip");
}
But, the context choice menu appears empty.
Thanks!
BasicSample.zip