static Reference CreateReference(ReferenceEntry entry)
 {
     ITextBuffer fileContent = GetFileContent(entry.FileName);
     string expression = fileContent.GetText(entry.minChar, entry.length);
     return new Reference(entry.FileName, entry.minChar, entry.length, expression, null);
 }
		static SearchResultMatch CreateSearchResultMatch(ReferenceEntry entry)
		{
			ITextSource textSource = SD.FileService.GetFileContent(entry.fileName);
			var document = new ReadOnlyDocument(textSource, entry.fileName);
			TextLocation start = document.GetLocation(entry.minChar);
			TextLocation end = document.GetLocation(entry.minChar + entry.length);
			IHighlighter highlighter = SD.EditorControlService.CreateHighlighter(document);
			return SearchResultMatch.Create(document, start, end, highlighter);
		}