diff --git a/DistFiles/Language Explorer/Configuration/Words/areaConfiguration.xml b/DistFiles/Language Explorer/Configuration/Words/areaConfiguration.xml
index 5b85dc8825..02b0263128 100644
--- a/DistFiles/Language Explorer/Configuration/Words/areaConfiguration.xml
+++ b/DistFiles/Language Explorer/Configuration/Words/areaConfiguration.xml
@@ -17,8 +17,7 @@
-
-
+
@@ -277,11 +276,10 @@
-
-
+
-
+
diff --git a/Src/LexText/ParserCore/ParserScheduler.cs b/Src/LexText/ParserCore/ParserScheduler.cs
index 9cb04309ff..d841603990 100644
--- a/Src/LexText/ParserCore/ParserScheduler.cs
+++ b/Src/LexText/ParserCore/ParserScheduler.cs
@@ -131,7 +131,6 @@ public override void DoWork()
private readonly int[] m_queueCounts = new int[5];
private volatile bool m_tryAWordDialogRunning;
private TaskReport m_TaskReport;
- private Dictionary m_wordformProcessed = null;
/// -----------------------------------------------------------------------------------
///
@@ -288,20 +287,10 @@ public void ScheduleOneWordformForUpdate(IWfiWordform wordform, ParserPriority p
m_thread.EnqueueWork(priority, new UpdateWordformWork(this, priority, wordform));
}
- public void ScheduleWordformsForUpdate(IEnumerable wordforms, ParserPriority priority, bool showConflicts)
+ public void ScheduleWordformsForUpdate(IEnumerable wordforms, ParserPriority priority)
{
CheckDisposed();
- m_wordformProcessed = null;
- if (showConflicts)
- {
- // Keep track of which wordforms have been processed.
- m_wordformProcessed = new Dictionary();
- foreach (var wordform in wordforms)
- {
- m_wordformProcessed[wordform] = false;
- }
- }
foreach (var wordform in wordforms)
ScheduleOneWordformForUpdate(wordform, priority);
}
@@ -327,17 +316,6 @@ private void HandleTaskUpdate(TaskReport task)
private void ParseFiler_WordformUpdated(object sender, WordformUpdatedEventArgs e)
{
DecrementQueueCount(e.Priority);
- if (m_wordformProcessed != null && m_wordformProcessed.ContainsKey(e.Wordform))
- {
- m_wordformProcessed[e.Wordform] = true;
- // See if we are done.
- foreach (var key in m_wordformProcessed.Keys)
- {
- if (!m_wordformProcessed[key])
- return;
- }
- // Display the wordforms in the Wordforms window.
- }
}
///
diff --git a/Src/LexText/ParserUI/ParserConnection.cs b/Src/LexText/ParserUI/ParserConnection.cs
index c09166425c..3bce4a05dc 100644
--- a/Src/LexText/ParserUI/ParserConnection.cs
+++ b/Src/LexText/ParserUI/ParserConnection.cs
@@ -96,10 +96,10 @@ public IAsyncResult BeginTryAWord(string sForm, bool fDoTrace, int[] sSelectTrac
return this;
}
- public void UpdateWordforms(IEnumerable wordforms, ParserPriority priority, bool showConflicts = false)
+ public void UpdateWordforms(IEnumerable wordforms, ParserPriority priority)
{
CheckDisposed();
- m_scheduler.ScheduleWordformsForUpdate(wordforms, priority, showConflicts);
+ m_scheduler.ScheduleWordformsForUpdate(wordforms, priority);
}
public void UpdateWordform(IWfiWordform wordform, ParserPriority priority)
diff --git a/Src/LexText/ParserUI/ParserListener.cs b/Src/LexText/ParserUI/ParserListener.cs
index 6f7e69c388..3801341e53 100644
--- a/Src/LexText/ParserUI/ParserListener.cs
+++ b/Src/LexText/ParserUI/ParserListener.cs
@@ -481,7 +481,7 @@ public bool OnDisplayParseWordsInCurrentText(object commandObject, ref UIItemDis
return true; //we handled this.
}
- public bool OnShowConflictsInCurrentText(object argument)
+ public bool OnParseWordsInCurrentText(object argument)
{
CheckDisposed();
@@ -489,12 +489,11 @@ public bool OnShowConflictsInCurrentText(object argument)
{
IStText text = CurrentText;
IEnumerable wordforms = text.UniqueWordforms();
- m_parserConnection.UpdateWordforms(wordforms, ParserPriority.Medium, true);
+ m_parserConnection.UpdateWordforms(wordforms, ParserPriority.Medium);
}
- return true; //we handled this.
+ return true; //we handled this.
}
-
public bool OnParseAllWords(object argument)
{
CheckDisposed();