Hi, All.
1) I am populating a context.SyntaxEditor.IntelliPrompt.MemberList with methods and operators. I am adding a methods in the first place, then operators is added.
But in the result promt pop-up window operators are in the first place, then methods.
I suppose that it's made by some internal sorting. How can I display the items in the order I add. Below is the code I use:2) I show the editor.IntelliPrompt.ParameterInfo when a symbol '(' have just been typed. I populate this window with the corresponding signature. There are no problem with that.
But I need to have some facilities in ParameterInfo window shown. How can I activate/diactivate parameters subject to caret location. If caret locates before symbol ',' that parameter with its type that are also before symbol ',' should be bold. The same
behaviour should be if caret location is after ','.
For instance it's default behaviour in Visual Studio. Is it possible to achieve for ParameterInfo window?
Thanks in advance, Alex.
1) I am populating a context.SyntaxEditor.IntelliPrompt.MemberList with methods and operators. I am adding a methods in the first place, then operators is added.
But in the result promt pop-up window operators are in the first place, then methods.
I suppose that it's made by some internal sorting. How can I display the items in the order I add. Below is the code I use:
context.SyntaxEditor.IntelliPrompt.MemberList.Clear();
foreach (Function function in Functions)
context.SyntaxEditor.IntelliPrompt.MemberList.Add(
new IntelliPromptMemberListItem(function.Name, (int) IconResource.PublicMethod,
function.Description));
foreach (Operator operator in Operators)
context.SyntaxEditor.IntelliPrompt.MemberList.Add(
new IntelliPromptMemberListItem(operator.Name, (int)IconResource.Operator,
operator.Description));
context.SyntaxEditor.IntelliPrompt.MemberList.ImageList = SyntaxEditor.ReflectionImageList;
context.SyntaxEditor.IntelliPrompt.MemberList.Show();
But I need to have some facilities in ParameterInfo window shown. How can I activate/diactivate parameters subject to caret location. If caret locates before symbol ',' that parameter with its type that are also before symbol ',' should be bold. The same
behaviour should be if caret location is after ','.
For instance it's default behaviour in Visual Studio. Is it possible to achieve for ParameterInfo window?
Thanks in advance, Alex.