public CodeCompletionData(IClass c, O2CodeCompletion _o2CodeCompletion) : base(c.Name, null, GetClassImageIndex(c)) { this.c = c; o2CodeCompletion = _o2CodeCompletion; }
public CodeCompletionData(IMember member, O2CodeCompletion _o2CodeCompletion) : base(member.Name, null, GetMemberImageIndex(member)) { this.member = member; o2CodeCompletion = _o2CodeCompletion; }
public O2CodeCompletion enableCodeComplete() { if (o2CodeCompletion == null) { o2CodeCompletion = new O2CodeCompletion(tecSourceCode); //else //{ o2CodeCompletion.OnlyShowCodeCompleteResulstFromO2Namespace = false; compile_Click(null, null); } return o2CodeCompletion; }