diff --git a/Src/LexText/Lexicon/LexEdStrings.Designer.cs b/Src/LexText/Lexicon/LexEdStrings.Designer.cs
index 12c42f1f90..03a16fdbd1 100644
--- a/Src/LexText/Lexicon/LexEdStrings.Designer.cs
+++ b/Src/LexText/Lexicon/LexEdStrings.Designer.cs
@@ -564,15 +564,6 @@ internal static string ksDeleteSequenceCollectionB {
}
}
- ///
- /// Looks up a localized string similar to You are deleting the following Reversal Index:.
- ///
- internal static string ksDeletingThisRevIndex {
- get {
- return ResourceManager.GetString("ksDeletingThisRevIndex", resourceCulture);
- }
- }
-
///
/// Looks up a localized string similar to Edit {0}.
///
@@ -762,15 +753,6 @@ internal static string ksNormallyHidden {
}
}
- ///
- /// Looks up a localized string similar to Do you really want to delete this Reversal Index?.
- ///
- internal static string ksReallyWantToDeleteRevIndex {
- get {
- return ResourceManager.GetString("ksReallyWantToDeleteRevIndex", resourceCulture);
- }
- }
-
///
/// Looks up a localized string similar to Reassign Homographs.
///
diff --git a/Src/LexText/Lexicon/LexEdStrings.resx b/Src/LexText/Lexicon/LexEdStrings.resx
index 4ae891d96f..8f4c2d99fc 100644
--- a/Src/LexText/Lexicon/LexEdStrings.resx
+++ b/Src/LexText/Lexicon/LexEdStrings.resx
@@ -162,9 +162,6 @@
relation.
-
- You are deleting the following Reversal Index:
-
Edit {0}
@@ -218,9 +215,6 @@
Normally hidden
menu item
-
- Do you really want to delete this Reversal Index?
-
Reassign Homographs
diff --git a/Src/LexText/Lexicon/ReversalListener.cs b/Src/LexText/Lexicon/ReversalListener.cs
index f4733f29bd..59f15cca68 100644
--- a/Src/LexText/Lexicon/ReversalListener.cs
+++ b/Src/LexText/Lexicon/ReversalListener.cs
@@ -4,7 +4,6 @@
using System;
using System.Collections.Generic;
-using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Xml;
@@ -15,8 +14,6 @@
using static SIL.FieldWorks.Common.FwUtils.FwUtils;
using SIL.FieldWorks.Common.RootSites;
using SIL.LCModel;
-using SIL.LCModel.Infrastructure;
-using SIL.FieldWorks.FdoUi.Dialogs;
using SIL.FieldWorks.Filters;
using XCore;
using SIL.FieldWorks.FdoUi;
@@ -618,148 +615,6 @@ private int GetRootIndex(int lastValidIndex)
return parentIndex == -1 ? lastValidIndex : GetRootIndex(parentIndex);
}
- ///
- /// This is enabled whenever the ReversalClerk is active.
- ///
- ///
- ///
- ///
- public virtual bool OnDisplayInsertReversalIndex(object commandObject, ref UIItemDisplayProperties display)
- {
- CheckDisposed();
-
- if (Cache == null)
- {
- display.Enabled = false;
- }
- else
- {
- int cRevIdx = Cache.LanguageProject.LexDbOA.ReversalIndexesOC.Count;
- int cWs = Cache.ServiceLocator.WritingSystems.AllWritingSystems.Count();
- display.Enabled = cRevIdx < cWs;
- }
- display.Visible = true;
- return true;
- }
-
- ///
- /// This is enabled whenever the ReversalClerk is active.
- ///
- ///
- ///
- ///
- public virtual bool OnDisplayDeleteReversalIndex(object commandObject, ref UIItemDisplayProperties display)
- {
- CheckDisposed();
-
- if (Cache == null)
- {
- display.Enabled = false;
- }
- else
- {
- int cRevIdx = Cache.LanguageProject.LexDbOA.ReversalIndexesOC.Count;
- display.Enabled = cRevIdx > 0;
- }
- display.Visible = true;
- return true;
- }
-
- ///
- ///
- ///
- ///
- public virtual void OnDeleteReversalIndex(object argument)
- {
- CheckDisposed();
-
- var oldGuid = ReversalIndexEntryUi.GetObjectGuidIfValid(m_propertyTable, "ReversalIndexGuid");
- if (oldGuid.Equals(Guid.Empty))
- return;
-
- if (Cache == null)
- return;
- IReversalIndex ri = (IReversalIndex)Cache.ServiceLocator.GetObject(oldGuid);
- DeleteReversalIndex(ri);
- }
-
- public void DeleteReversalIndex(IReversalIndex ri)
- {
- CheckDisposed();
-
- var mainWindow = m_propertyTable.GetValue