Пример #1
0
        private static AbbreviatedTextLookupItem CreateAbbreviatedLookupItem(string text, TextLookupRanges ranges, CodeCompletionContext context)
        {
            var item = new AbbreviatedTextLookupItem(text, context);

            item.InitializeRanges(ranges, context);
            return(item);
        }
Пример #2
0
        private static AbbreviatedTextLookupItem CreateAbbreviatedLookupItem(string text, TextLookupRanges ranges, CodeCompletionContext context)
        {
            var item = new AbbreviatedTextLookupItem(text, context, LogoThemedIcons.Angularjs.Id);

            item.InitializeRanges(ranges, context);

            // We're a HTML item too, sort us in with the other HTML items
            item.Placement.Relevance  |= (long)HtmlLookupItemRelevance.Item;
            item.Placement.OrderString = text;
            return(item);
        }