|
3 | 3 | // (http://www.gnu.org/licenses/lgpl-2.1.html) |
4 | 4 |
|
5 | 5 | using System; |
6 | | -using System.Windows.Forms; |
7 | 6 | using System.Drawing; |
8 | | -using SIL.LCModel; |
| 7 | +using System.Linq; |
| 8 | +using System.Windows.Forms; |
9 | 9 | using SIL.FieldWorks.Common.ViewsInterfaces; |
10 | | -using SIL.LCModel.DomainServices; |
11 | | -using SIL.FieldWorks.FdoUi; |
12 | | -using SIL.LCModel.Utils; |
13 | 10 | using SIL.FieldWorks.Common.Widgets; |
14 | | -using SIL.LCModel.Core.Text; |
| 11 | +using SIL.FieldWorks.FdoUi; |
| 12 | +using SIL.LCModel; |
15 | 13 | using SIL.LCModel.Core.KernelInterfaces; |
| 14 | +using SIL.LCModel.Core.Text; |
| 15 | +using SIL.LCModel.DomainServices; |
| 16 | +using SIL.LCModel.Utils; |
16 | 17 |
|
17 | 18 |
|
18 | 19 | namespace SIL.FieldWorks.IText |
@@ -311,9 +312,7 @@ void AddAnalysisItems(IWfiAnalysis wa) |
311 | 312 | { |
312 | 313 | AddItem(wa, |
313 | 314 | MakeAnalysisStringRep(wa, m_cache, StyleSheet != null, (m_owner as SandboxBase).RawWordformWs), true); |
314 | | - var guess_services = new AnalysisGuessServices(m_cache); |
315 | | - var sorted_glosses = guess_services.GetSortedGlossGuesses(wa, m_occurrence); |
316 | | - foreach (var gloss in sorted_glosses) |
| 315 | + foreach (var gloss in wa.MeaningsOC.ToList()) |
317 | 316 | { |
318 | 317 | AddItem(gloss, MakeGlossStringRep(gloss, m_cache, StyleSheet != null), true); |
319 | 318 | } |
|
0 commit comments