diff --git a/Src/Common/Controls/DetailControls/Slice.cs b/Src/Common/Controls/DetailControls/Slice.cs
index 8d850d9a1a..4ac0328e7e 100644
--- a/Src/Common/Controls/DetailControls/Slice.cs
+++ b/Src/Common/Controls/DetailControls/Slice.cs
@@ -1547,7 +1547,7 @@ public virtual void Expand(int iSlice)
Expansion = DataTree.TreeItemState.ktisExpanded;
if (m_propertyTable != null)
{
- m_propertyTable.SetProperty(ExpansionStateKey, true, true);
+ m_propertyTable.SetProperty(ExpansionStateKey, true, false);
}
}
finally
@@ -1601,7 +1601,7 @@ public virtual void Collapse(int iSlice)
Expansion = DataTree.TreeItemState.ktisCollapsed;
if (m_propertyTable != null)
{
- m_propertyTable.SetProperty(ExpansionStateKey, false, true);
+ m_propertyTable.SetProperty(ExpansionStateKey, false, false);
}
}
finally
diff --git a/Src/Common/Controls/XMLViews/BrowseViewer.cs b/Src/Common/Controls/XMLViews/BrowseViewer.cs
index 2654429df1..7f4fa72836 100644
--- a/Src/Common/Controls/XMLViews/BrowseViewer.cs
+++ b/Src/Common/Controls/XMLViews/BrowseViewer.cs
@@ -2195,7 +2195,7 @@ private void SaveColumnWidths()
{
int nNewWidth = m_lvHeader.ColumnsInDisplayOrder[ColumnHeaderIndex(iCol)].Width;
string PropName = FormatColumnWidthPropertyName(iCol);
- m_propertyTable.SetProperty(PropName, nNewWidth, PropertyTable.SettingsGroup.LocalSettings, true);
+ m_propertyTable.SetProperty(PropName, nNewWidth, PropertyTable.SettingsGroup.LocalSettings, false);
}
}
@@ -3080,7 +3080,7 @@ protected void UpdateColumnList()
colList.Append("");
}
colList.Append("");
- m_propertyTable.SetProperty(m_xbv.Vc.ColListId, colList.ToString(), PropertyTable.SettingsGroup.LocalSettings, true);
+ m_propertyTable.SetProperty(m_xbv.Vc.ColListId, colList.ToString(), PropertyTable.SettingsGroup.LocalSettings, false);
}
///
diff --git a/Src/Common/Controls/XMLViews/ReallySimpleListChooser.cs b/Src/Common/Controls/XMLViews/ReallySimpleListChooser.cs
index 285d476e54..fc7ca5de21 100644
--- a/Src/Common/Controls/XMLViews/ReallySimpleListChooser.cs
+++ b/Src/Common/Controls/XMLViews/ReallySimpleListChooser.cs
@@ -2341,7 +2341,7 @@ private void Persist()
{
if (m_webBrowser != null)
{
- m_propertyTable.SetProperty("SimpleListChooser-HelpBrowserSplitterDistance", m_splitContainer.SplitterDistance, true);
+ m_propertyTable.SetProperty("SimpleListChooser-HelpBrowserSplitterDistance", m_splitContainer.SplitterDistance, false);
m_persistProvider.PersistWindowSettings("SimpleListChooser-HelpBrowser", this);
}
else
diff --git a/Src/Common/Controls/XMLViews/SearchEngine.cs b/Src/Common/Controls/XMLViews/SearchEngine.cs
index d6d429b49e..4491badb3c 100644
--- a/Src/Common/Controls/XMLViews/SearchEngine.cs
+++ b/Src/Common/Controls/XMLViews/SearchEngine.cs
@@ -50,7 +50,7 @@ public static SearchEngine Get(Mediator mediator, PropertyTable propertyTable, s
if (searchEngine == null)
{
searchEngine = searchEngineFactory();
- propertyTable.SetProperty(propName, searchEngine, true);
+ propertyTable.SetProperty(propName, searchEngine, false);
propertyTable.SetPropertyDispose(propName, true);
propertyTable.SetPropertyPersistence(propName, false);
}
diff --git a/Src/Common/Controls/XMLViews/XMLViewsTests/XmlViewRefreshPolicyTests.cs b/Src/Common/Controls/XMLViews/XMLViewsTests/XmlViewRefreshPolicyTests.cs
index 76eee9143a..60ddbd8de0 100644
--- a/Src/Common/Controls/XMLViews/XMLViewsTests/XmlViewRefreshPolicyTests.cs
+++ b/Src/Common/Controls/XMLViews/XMLViewsTests/XmlViewRefreshPolicyTests.cs
@@ -5,7 +5,6 @@
using NUnit.Framework;
using SIL.FieldWorks.Common.ViewsInterfaces;
using SIL.LCModel;
-using SIL.LCModel.Core.KernelInterfaces;
using XCore;
namespace XMLViewsTests
@@ -37,10 +36,6 @@ public void InstallXmlVcForTest(SIL.FieldWorks.Common.Controls.XmlVc xmlVc)
m_xmlVc = xmlVc;
}
- public void InstallPropertyTableForTest(PropertyTable propertyTable)
- {
- m_propertyTable = propertyTable;
- }
}
[TestFixture]
@@ -144,42 +139,5 @@ public void XmlSeqViewResetRoot_ReassignsRootObjectAndReconstructs()
}
}
- [Test]
- public void XmlSeqViewOnPropertyChanged_ShowFailingItemsChange_ReconstructsRootBox()
- {
- using (var view = new TestXmlSeqView())
- using (var propertyTable = new PropertyTable(null))
- {
- var rootBox = new FakeXmlBrowseViewBase.FakeRootBox();
- view.InstallRootBoxForTest(rootBox);
- view.InstallXmlVcForTest(new SIL.FieldWorks.Common.Controls.XmlVc("root", false, view, null, (ISilDataAccess)null));
- view.InstallPropertyTableForTest(propertyTable);
- propertyTable.SetProperty("currentContentControl", "tool", false);
- propertyTable.SetProperty("ShowFailingItems-tool", true, false);
-
- view.OnPropertyChanged("ShowFailingItems-tool");
-
- Assert.That(rootBox.ReconstructCallCount, Is.EqualTo(1));
- }
- }
-
- [Test]
- public void XmlSeqViewOnPropertyChanged_ShowFailingItemsUnchanged_DoesNotReconstructRootBox()
- {
- using (var view = new TestXmlSeqView())
- using (var propertyTable = new PropertyTable(null))
- {
- var rootBox = new FakeXmlBrowseViewBase.FakeRootBox();
- view.InstallRootBoxForTest(rootBox);
- view.InstallXmlVcForTest(new SIL.FieldWorks.Common.Controls.XmlVc("root", false, view, null, (ISilDataAccess)null));
- view.InstallPropertyTableForTest(propertyTable);
- propertyTable.SetProperty("currentContentControl", "tool", false);
- propertyTable.SetProperty("ShowFailingItems-tool", false, false);
-
- view.OnPropertyChanged("ShowFailingItems-tool");
-
- Assert.That(rootBox.ReconstructCallCount, Is.EqualTo(0));
- }
- }
}
}
\ No newline at end of file
diff --git a/Src/Common/Controls/XMLViews/XmlBrowseView.cs b/Src/Common/Controls/XMLViews/XmlBrowseView.cs
index f10709fc39..6c5c7fb131 100644
--- a/Src/Common/Controls/XMLViews/XmlBrowseView.cs
+++ b/Src/Common/Controls/XMLViews/XmlBrowseView.cs
@@ -65,20 +65,6 @@ public override XmlBrowseViewBaseVc Vc
}
}
- ///
- /// This is invoked by the PropertyTable (because XmlBrowseView is a mediator).
- ///
- ///
- public override void OnPropertyChanged(string propName)
- {
- CheckDisposed();
-
- if (propName == GetCorrespondingPropertyName("readOnlyBrowse"))
- SetSelectedRowHighlighting();
-
- base.OnPropertyChanged(propName);
- }
-
private ITsString StripTrailingNewLine(ITsString tss)
{
string val = tss.Text;
diff --git a/Src/Common/Controls/XMLViews/XmlBrowseViewBaseVc.cs b/Src/Common/Controls/XMLViews/XmlBrowseViewBaseVc.cs
index 70c3a8ea12..11459e9a12 100644
--- a/Src/Common/Controls/XMLViews/XmlBrowseViewBaseVc.cs
+++ b/Src/Common/Controls/XMLViews/XmlBrowseViewBaseVc.cs
@@ -332,7 +332,7 @@ internal static XmlDocument GetSavedColumns(string savedCols, Mediator mediator,
goto case 19;
case 19:
savedCols = savedCols.Replace("root version=\"19\"", "root version=\"20\"");
- propertyTable.SetProperty(colListId, savedCols, true);
+ propertyTable.SetProperty(colListId, savedCols, false);
doc.LoadXml(savedCols);
break;
default:
@@ -344,7 +344,7 @@ internal static XmlDocument GetSavedColumns(string savedCols, Mediator mediator,
doc = null;
// Forget the old settings, so we don't keep complaining every time the program runs.
// There doesn't seem to be any way to remove the property altogether, so at least, make it empty.
- propertyTable.SetProperty(colListId, "", PropertyTable.SettingsGroup.LocalSettings, true);
+ propertyTable.SetProperty(colListId, "", PropertyTable.SettingsGroup.LocalSettings, false);
break;
}
}
diff --git a/Src/Common/Controls/XMLViews/XmlSeqView.cs b/Src/Common/Controls/XMLViews/XmlSeqView.cs
index 456847cec6..9999768f24 100644
--- a/Src/Common/Controls/XMLViews/XmlSeqView.cs
+++ b/Src/Common/Controls/XMLViews/XmlSeqView.cs
@@ -131,7 +131,6 @@ public class XmlSeqView : RootSite
protected XmlVc m_xmlVc;
///
protected IFwMetaDataCache m_mdc;
- bool m_fShowFailingItems; // display items that fail the condition specified in the view.
private IApp m_app;
///
@@ -316,7 +315,7 @@ public override void MakeRoot()
bool fEditable = XmlUtils.GetOptionalBooleanAttributeValue(m_xnSpec, "editable", true);
string toolName = m_propertyTable.GetStringProperty("currentContentControl", null);
- m_fShowFailingItems = m_propertyTable.GetBoolProperty("ShowFailingItems-" + toolName, false);
+ bool fShowFailingItems = m_propertyTable.GetBoolProperty("ShowFailingItems-" + toolName, false);
//m_xmlVc = new XmlVc(m_xnSpec, Table); // possibly reinstate for old approach?
// Note: we want to keep this logic similar to RecordDocView.GetLayoutName(), except that here
// we do NOT want to use the layoutSuffix, though it may be specified so that it can be
@@ -329,7 +328,7 @@ public override void MakeRoot()
sLayout = XmlUtils.GetMandatoryAttributeValue(m_xnSpec, "layout");
ISilDataAccess sda = GetSda();
m_xmlVc = new XmlVc(sLayout, fEditable, this, m_app,
- m_fShowFailingItems ? null : ItemDisplayCondition, sda) {IdentifySource = true};
+ fShowFailingItems ? null : ItemDisplayCondition, sda) {IdentifySource = true};
ReadOnlyView = !fEditable;
if (!fEditable)
m_rootb.MaxParasToScan = 0;
@@ -358,40 +357,6 @@ private XmlNode ItemDisplayCondition
get { return m_xnSpec.SelectSingleNode("elementDisplayCondition"); }
}
- ///
- /// Receives the broadcast message "PropertyChanged"
- ///
- public override void OnPropertyChanged(string name)
- {
- CheckDisposed();
-
- base.OnPropertyChanged(name);
- string toolName = m_propertyTable.GetStringProperty("currentContentControl", null);
- if(name == "ShowFailingItems-" + toolName)
- {
- bool fShowFailingItems = m_propertyTable.GetBoolProperty(name, false);
- if (fShowFailingItems != m_fShowFailingItems)
- {
- m_fShowFailingItems = fShowFailingItems;
- m_xmlVc.MakeRootCommand(this, m_fShowFailingItems ? null : ItemDisplayCondition);
- try
- {
- EditingHelper.DefaultCursor = Cursors.WaitCursor;
- using (new WaitCursor(TopLevelControl))
- {
- m_rootb.Reconstruct();
- Invalidate();
- Update(); // most of the time is the painting, we want the watch cursor till it's done.
- }
- }
- finally
- {
- EditingHelper.DefaultCursor = null;
- }
- }
- }
- }
-
/// -----------------------------------------------------------------------------------
///
/// Notifies the site that something about the selection has changed.
diff --git a/Src/Common/FieldWorks/FieldWorks.cs b/Src/Common/FieldWorks/FieldWorks.cs
index 1947cc444c..8491d62679 100644
--- a/Src/Common/FieldWorks/FieldWorks.cs
+++ b/Src/Common/FieldWorks/FieldWorks.cs
@@ -1830,7 +1830,7 @@ private static ProjectId ShowWelcomeDialog(FwAppArgs args, FwApp startingApp, Pr
var activeWindowInterface = (IFwMainWnd)activeWindow;
activeWindowInterface.PropTable.SetProperty("LastBridgeUsed",
obtainedProjectType == ObtainedProjectType.Lift ? "LiftBridge" : "FLExBridge",
- PropertyTable.SettingsGroup.LocalSettings, true);
+ PropertyTable.SettingsGroup.LocalSettings, false);
}
}
}
@@ -1912,7 +1912,7 @@ internal static ProjectId ChooseLangProject(Form dialogOwner, IHelpTopicProvider
activeWindowInterface.PropTable.SetProperty("LastBridgeUsed",
dlg.ObtainedProjectType == ObtainedProjectType.Lift ? "LiftBridge" : "FLExBridge",
PropertyTable.SettingsGroup.LocalSettings,
- true);
+ false);
}
if (dlg.DialogResult == DialogResult.OK)
diff --git a/Src/Common/FieldWorks/LexicalProvider/LexicalProviderImpl.cs b/Src/Common/FieldWorks/LexicalProvider/LexicalProviderImpl.cs
index eba89e763a..9294c8d7fb 100644
--- a/Src/Common/FieldWorks/LexicalProvider/LexicalProviderImpl.cs
+++ b/Src/Common/FieldWorks/LexicalProvider/LexicalProviderImpl.cs
@@ -73,12 +73,12 @@ public void ShowEntry(string entry, EntryType entryType)
using (Mediator mediator = new Mediator())
using (PropertyTable propertyTable = new PropertyTable(mediator))
{
- propertyTable.SetProperty("HelpTopicProvider", FieldWorks.GetHelpTopicProvider(), true);
+ propertyTable.SetProperty("HelpTopicProvider", FieldWorks.GetHelpTopicProvider(), false);
propertyTable.SetPropertyPersistence("HelpTopicProvider", false);
var flexApp = FieldWorks.GetOrCreateFlexApp();
- propertyTable.SetProperty("FeedbackInfoProvider", flexApp, true);
+ propertyTable.SetProperty("FeedbackInfoProvider", flexApp, false);
propertyTable.SetPropertyPersistence("FeedbackInfoProvider", false);
- propertyTable.SetProperty("App", flexApp, true);
+ propertyTable.SetProperty("App", flexApp, false);
LexEntryUi.DisplayEntry(FieldWorks.Cache, mediator, propertyTable, propertyTable.GetValue("HelpTopicProvider"),
"UserHelpFile", tss, null);
@@ -109,12 +109,12 @@ public void ShowRelatedWords(string entry, EntryType entryType)
using (Mediator mediator = new Mediator())
using (PropertyTable propertyTable = new PropertyTable(mediator))
{
- propertyTable.SetProperty("HelpTopicProvider", FieldWorks.GetHelpTopicProvider(), true);
+ propertyTable.SetProperty("HelpTopicProvider", FieldWorks.GetHelpTopicProvider(), false);
propertyTable.SetPropertyPersistence("HelpTopicProvider", false);
var flexApp = FieldWorks.GetOrCreateFlexApp();
- propertyTable.SetProperty("FeedbackInfoProvider", flexApp, true);
+ propertyTable.SetProperty("FeedbackInfoProvider", flexApp, false);
propertyTable.SetPropertyPersistence("FeedbackInfoProvider", false);
- propertyTable.SetProperty("App", flexApp, true);
+ propertyTable.SetProperty("App", flexApp, false);
LexEntryUi.DisplayRelatedEntries(FieldWorks.Cache, mediator, propertyTable, propertyTable.GetValue("HelpTopicProvider"),
"UserHelpFile", tss);
diff --git a/Src/FdoUi/Dialogs/MergeObjectDlg.cs b/Src/FdoUi/Dialogs/MergeObjectDlg.cs
index 6c79d8e12b..8c4d44d07d 100644
--- a/Src/FdoUi/Dialogs/MergeObjectDlg.cs
+++ b/Src/FdoUi/Dialogs/MergeObjectDlg.cs
@@ -403,8 +403,8 @@ private void MergeObjectDlg_Closed(object sender, EventArgs e)
{
if (m_propertyTable != null)
{
- m_propertyTable.SetProperty("mergeDlgLocation", Location, true);
- m_propertyTable.SetProperty("mergeDlgSize", Size, true);
+ m_propertyTable.SetProperty("mergeDlgLocation", Location, false);
+ m_propertyTable.SetProperty("mergeDlgSize", Size, false);
}
}
diff --git a/Src/FdoUi/LexEntryUi.cs b/Src/FdoUi/LexEntryUi.cs
index 3ff1c4d328..13ac9f7c2e 100644
--- a/Src/FdoUi/LexEntryUi.cs
+++ b/Src/FdoUi/LexEntryUi.cs
@@ -310,7 +310,7 @@ private static IVwStylesheet GetStyleSheet(LcmCache cache, PropertyTable propert
// (new) mediator.
LcmStyleSheet styleSheet = new LcmStyleSheet();
styleSheet.Init(cache, cache.LanguageProject.Hvo, LangProjectTags.kflidStyles);
- propertyTable.SetProperty("LcmStyleSheet", styleSheet, true);
+ propertyTable.SetProperty("LcmStyleSheet", styleSheet, false);
propertyTable.SetPropertyPersistence("LcmStyleSheet", false);
return styleSheet;
}
@@ -325,7 +325,7 @@ private static void EnsureWindowConfiguration(PropertyTable propertyTable)
// files (true argument) but just trust that we put enough in the installer to make it work.
XmlDocument configuration = XWindow.LoadConfigurationWithIncludes(configFile, true);
XmlNode windowConfigurationNode = configuration.SelectSingleNode("window");
- propertyTable.SetProperty("WindowConfiguration", windowConfigurationNode, true);
+ propertyTable.SetProperty("WindowConfiguration", windowConfigurationNode, false);
propertyTable.SetPropertyPersistence("WindowConfiguration", false);
}
}
diff --git a/Src/FwCoreDlgs/FwFindReplaceDlg.cs b/Src/FwCoreDlgs/FwFindReplaceDlg.cs
index c0f31b4f87..d7f448a804 100644
--- a/Src/FwCoreDlgs/FwFindReplaceDlg.cs
+++ b/Src/FwCoreDlgs/FwFindReplaceDlg.cs
@@ -1452,11 +1452,11 @@ protected override void OnClosing(CancelEventArgs e)
if (m_mediator != null && m_propertyTable != null)
{
string propertyName = kPersistenceLabel + "DlgLocation";
- m_propertyTable.SetProperty(propertyName, Location, true);
+ m_propertyTable.SetProperty(propertyName, Location, false);
propertyName = kPersistenceLabel + "ShowMore";
m_propertyTable.SetProperty(propertyName,
Height == m_heightDlgMore ? "true" : "false",
- true);
+ false);
}
base.OnClosing(e);
// If no other handler of this event tried to intervene, the dialog itself will
diff --git a/Src/LexText/Discourse/ConstituentChart.cs b/Src/LexText/Discourse/ConstituentChart.cs
index 483fabc5c9..281af64234 100644
--- a/Src/LexText/Discourse/ConstituentChart.cs
+++ b/Src/LexText/Discourse/ConstituentChart.cs
@@ -137,7 +137,7 @@ internal void PersistAndDisplayChangedLineChoices()
PropertyTable.SetProperty(ConfigPropName,
m_ribbon.Vc.LineChoices.Persist(Cache.LanguageWritingSystemFactoryAccessor),
PropertyTable.SettingsGroup.LocalSettings,
- true);
+ false);
UpdateDisplayForNewLineChoices();
}
@@ -1211,7 +1211,7 @@ void PersistColumnWidths()
}
colList.Append("");
var cwId = ColWidthId();
- PropertyTable.SetProperty(cwId, colList.ToString(), true);
+ PropertyTable.SetProperty(cwId, colList.ToString(), false);
}
private string ColWidthId()
diff --git a/Src/LexText/FlexPathwayPlugin/FlexPathwayPlugin.cs b/Src/LexText/FlexPathwayPlugin/FlexPathwayPlugin.cs
index 73774f19ad..ffbc97b261 100644
--- a/Src/LexText/FlexPathwayPlugin/FlexPathwayPlugin.cs
+++ b/Src/LexText/FlexPathwayPlugin/FlexPathwayPlugin.cs
@@ -318,7 +318,7 @@ protected void ExportTool(string areaChoice, string toolChoice, string exportFor
File.Delete(filePath);
if (!ChangeAreaTool(areaChoice, toolChoice))
return;
- exportDialog.PropTable.SetProperty("ExportDir", Path.GetDirectoryName(filePath), true);
+ exportDialog.PropTable.SetProperty("ExportDir", Path.GetDirectoryName(filePath), false);
exportDialog.PropTable.SetPropertyPersistence("ExportDir", true);
using (DeExportDialog ed = new DeExportDialog(exportDialog.Mediator, exportDialog.PropTable))
{
diff --git a/Src/LexText/Interlinear/ComplexConcControl.cs b/Src/LexText/Interlinear/ComplexConcControl.cs
index 52b54fee7a..281a671e96 100644
--- a/Src/LexText/Interlinear/ComplexConcControl.cs
+++ b/Src/LexText/Interlinear/ComplexConcControl.cs
@@ -101,7 +101,7 @@ public override void Init(Mediator mediator, PropertyTable propertyTable, XmlNod
if (pattern == null)
{
pattern = new ComplexConcGroupNode();
- m_propertyTable.SetProperty("ComplexConcPattern", pattern, true);
+ m_propertyTable.SetProperty("ComplexConcPattern", pattern, false);
m_propertyTable.SetPropertyPersistence("ComplexConcPattern", false);
}
m_patternModel = new ComplexConcPatternModel(m_cache, pattern);
diff --git a/Src/LexText/Interlinear/FilterTextsDialog.cs b/Src/LexText/Interlinear/FilterTextsDialog.cs
index c90b78b44f..35f2e78539 100644
--- a/Src/LexText/Interlinear/FilterTextsDialog.cs
+++ b/Src/LexText/Interlinear/FilterTextsDialog.cs
@@ -90,7 +90,7 @@ protected void OnOk(object obj, EventArgs e)
if (own != null && OnlyGenresChecked(checkedList))
{
message = ITextStrings.kOkbtnGenreSelection;
- own.PropTable.SetProperty("RecordClerk-DelayedGenreAssignment", checkedList, true);
+ own.PropTable.SetProperty("RecordClerk-DelayedGenreAssignment", checkedList, false);
showWarning = true;
}
if (m_treeTexts.GetNodesWithState(TriStateTreeView.CheckState.Checked).Length == 0)
diff --git a/Src/LexText/Interlinear/InfoPane.cs b/Src/LexText/Interlinear/InfoPane.cs
index befbcaeed3..eb23d3d84e 100644
--- a/Src/LexText/Interlinear/InfoPane.cs
+++ b/Src/LexText/Interlinear/InfoPane.cs
@@ -100,7 +100,7 @@ private void InitializeInfoView(RecordClerk clerk)
var activeClerkNew = m_propertyTable.GetValue("ActiveClerk");
if (toolChoice != "interlinearEdit" && activeClerk != null && activeClerk != activeClerkNew)
{
- m_propertyTable.SetProperty("ActiveClerk", activeClerk, true);
+ m_propertyTable.SetProperty("ActiveClerk", activeClerk, false);
activeClerk.ActivateUI(true);
}
}
diff --git a/Src/LexText/Interlinear/InterlinDocForAnalysis.cs b/Src/LexText/Interlinear/InterlinDocForAnalysis.cs
index ce98cc7787..b991363761 100644
--- a/Src/LexText/Interlinear/InterlinDocForAnalysis.cs
+++ b/Src/LexText/Interlinear/InterlinDocForAnalysis.cs
@@ -813,7 +813,7 @@ internal AnalysisOccurrence SelectedOccurrence
((InterlinDocForAnalysisVc)Vc).FocusBoxOccurrence = value;
m_propertyTable.SetProperty("TextSelectedWord",
value != null && value.HasWordform ? value.Analysis.Wordform : null,
- true);
+ false);
m_propertyTable.SetPropertyPersistence("TextSelectedWord", false);
}
}
diff --git a/Src/LexText/Interlinear/InterlinDocRootSiteBase.cs b/Src/LexText/Interlinear/InterlinDocRootSiteBase.cs
index 2bb99a9445..bf644a4f70 100644
--- a/Src/LexText/Interlinear/InterlinDocRootSiteBase.cs
+++ b/Src/LexText/Interlinear/InterlinDocRootSiteBase.cs
@@ -900,7 +900,7 @@ internal void PersistAndDisplayChangedLineChoices()
m_propertyTable.SetProperty(ConfigPropName,
Vc.LineChoices.Persist(m_cache.LanguageWritingSystemFactoryAccessor),
PropertyTable.SettingsGroup.LocalSettings,
- true);
+ false);
UpdateDisplayForNewLineChoices();
}
diff --git a/Src/LexText/Interlinear/RawTextPane.cs b/Src/LexText/Interlinear/RawTextPane.cs
index 5ca65cc9b2..934232229d 100644
--- a/Src/LexText/Interlinear/RawTextPane.cs
+++ b/Src/LexText/Interlinear/RawTextPane.cs
@@ -485,7 +485,7 @@ protected override void HandleSelectionChange(IVwRootBox rootb, IVwSelection vws
IWfiWordform wordform;
if (!GetSelectedWordform(vwselNew, out wordform))
wordform = null;
- m_propertyTable.SetProperty("TextSelectedWord", wordform, true);
+ m_propertyTable.SetProperty("TextSelectedWord", wordform, false);
m_propertyTable.SetPropertyPersistence("TextSelectedWord", false);
SelectionHelper helper = SelectionHelper.Create(vwselNew, this);
diff --git a/Src/LexText/Interlinear/SandboxBase.designer.cs b/Src/LexText/Interlinear/SandboxBase.designer.cs
index f4a604bf37..c9b07f2e59 100644
--- a/Src/LexText/Interlinear/SandboxBase.designer.cs
+++ b/Src/LexText/Interlinear/SandboxBase.designer.cs
@@ -30,7 +30,7 @@ protected override void Dispose(bool disposing)
{
if (m_propertyTable != null)
{
- m_propertyTable.SetProperty("FirstControlToHandleMessages", null, true);
+ m_propertyTable.SetProperty("FirstControlToHandleMessages", null, false);
}
}
diff --git a/Src/LexText/LexTextControls/BaseGoDlg.cs b/Src/LexText/LexTextControls/BaseGoDlg.cs
index 70fb7ebc66..db72ca8d31 100644
--- a/Src/LexText/LexTextControls/BaseGoDlg.cs
+++ b/Src/LexText/LexTextControls/BaseGoDlg.cs
@@ -836,10 +836,10 @@ private void BaseGoDlg_Closed(object sender, EventArgs e)
if (m_mediator != null)
{
var propName = PersistenceLabel + "DlgLocation";
- m_propertyTable.SetProperty(propName, Location, true);
+ m_propertyTable.SetProperty(propName, Location, false);
var sz = new Size(0, m_delta);
propName = PersistenceLabel + "DlgSize";
- m_propertyTable.SetProperty(propName, Size - sz, true);
+ m_propertyTable.SetProperty(propName, Size - sz, false);
}
}
diff --git a/Src/LexText/LexTextControls/CombineImportDlg.cs b/Src/LexText/LexTextControls/CombineImportDlg.cs
index e9728fb82c..3826eda826 100644
--- a/Src/LexText/LexTextControls/CombineImportDlg.cs
+++ b/Src/LexText/LexTextControls/CombineImportDlg.cs
@@ -112,7 +112,7 @@ private void BrowseClicked(object sender, EventArgs e)
UpdateButtons();
if (btnOK.Enabled)
{
- m_propertyTable.SetProperty(FilePropertyName, tbPath.Text, true);
+ m_propertyTable.SetProperty(FilePropertyName, tbPath.Text, false);
m_propertyTable.SetPropertyPersistence(FilePropertyName, true);
}
}
diff --git a/Src/LexText/LexTextControls/DataNotebook/NotebookImportWiz.cs b/Src/LexText/LexTextControls/DataNotebook/NotebookImportWiz.cs
index 81bbf26932..4701318f52 100644
--- a/Src/LexText/LexTextControls/DataNotebook/NotebookImportWiz.cs
+++ b/Src/LexText/LexTextControls/DataNotebook/NotebookImportWiz.cs
@@ -1218,11 +1218,11 @@ private void btnSaveMapFile_Click(object sender, EventArgs e)
private void SaveSettings()
{
- m_propertyTable.SetProperty("DataNotebookImportDb", m_tbDatabaseFileName.Text, true);
+ m_propertyTable.SetProperty("DataNotebookImportDb", m_tbDatabaseFileName.Text, false);
m_propertyTable.SetPropertyPersistence("DataNotebookImportDb", true);
- m_propertyTable.SetProperty("DataNotebookImportPrj", m_tbProjectFileName.Text, true);
+ m_propertyTable.SetProperty("DataNotebookImportPrj", m_tbProjectFileName.Text, false);
m_propertyTable.SetPropertyPersistence("DataNotebookImportPrj", true);
- m_propertyTable.SetProperty("DataNotebookImportMap", m_tbSaveAsFileName.Text, true);
+ m_propertyTable.SetProperty("DataNotebookImportMap", m_tbSaveAsFileName.Text, false);
m_propertyTable.SetPropertyPersistence("DataNotebookImportMap", true);
using (TextWriter tw = FileUtils.OpenFileForWrite(m_tbSaveAsFileName.Text, Encoding.UTF8))
{
diff --git a/Src/LexText/LexTextControls/LiftImportDlg.cs b/Src/LexText/LexTextControls/LiftImportDlg.cs
index 71377c2dd4..cfd61120c6 100644
--- a/Src/LexText/LexTextControls/LiftImportDlg.cs
+++ b/Src/LexText/LexTextControls/LiftImportDlg.cs
@@ -150,7 +150,7 @@ private void btnBrowse_Click(object sender, EventArgs e)
UpdateButtons();
if (btnOK.Enabled)
{
- m_propertyTable.SetProperty(FilePropertyName, tbPath.Text, true);
+ m_propertyTable.SetProperty(FilePropertyName, tbPath.Text, false);
m_propertyTable.SetPropertyPersistence(FilePropertyName, true);
}
}
@@ -464,7 +464,7 @@ private void SetMergeStyle(FlexLiftMerger.MergeStyle ms)
m_msImport = ms;
m_propertyTable.SetProperty(MergeStylePropertyName,
Enum.GetName(typeof(FlexLiftMerger.MergeStyle), m_msImport),
- true);
+ false);
m_propertyTable.SetPropertyPersistence(MergeStylePropertyName, true);
}
diff --git a/Src/LexText/LexTextControls/MasterCategoryListDlg.cs b/Src/LexText/LexTextControls/MasterCategoryListDlg.cs
index 62a8be3d82..805884f47c 100644
--- a/Src/LexText/LexTextControls/MasterCategoryListDlg.cs
+++ b/Src/LexText/LexTextControls/MasterCategoryListDlg.cs
@@ -498,8 +498,8 @@ private void MasterCategoryListDlg_Closing(object sender, System.ComponentModel.
if (m_mediator != null)
{
- m_propertyTable.SetProperty("masterCatListDlgLocation", Location, true);
- m_propertyTable.SetProperty("masterCatListDlgSize", Size, true);
+ m_propertyTable.SetProperty("masterCatListDlgLocation", Location, false);
+ m_propertyTable.SetProperty("masterCatListDlgSize", Size, false);
}
}
diff --git a/Src/LexText/LexTextControls/MasterListDlg.cs b/Src/LexText/LexTextControls/MasterListDlg.cs
index fbd7ce0d8f..5ae6511248 100644
--- a/Src/LexText/LexTextControls/MasterListDlg.cs
+++ b/Src/LexText/LexTextControls/MasterListDlg.cs
@@ -517,8 +517,8 @@ private void MasterListDlg_Closing(object sender, System.ComponentModel.CancelEv
if (m_propertyTable != null)
{
- m_propertyTable.SetProperty(m_sWindowKeyLocation, Location, true);
- m_propertyTable.SetProperty(m_sWindowKeySize, Size, true);
+ m_propertyTable.SetProperty(m_sWindowKeyLocation, Location, false);
+ m_propertyTable.SetProperty(m_sWindowKeySize, Size, false);
}
}
diff --git a/Src/LexText/LexTextControls/MsaCreatorDlg.cs b/Src/LexText/LexTextControls/MsaCreatorDlg.cs
index 0ff426f4fa..421e3d192f 100644
--- a/Src/LexText/LexTextControls/MsaCreatorDlg.cs
+++ b/Src/LexText/LexTextControls/MsaCreatorDlg.cs
@@ -321,7 +321,7 @@ private void MsaCreatorDlg_Closed(object sender, System.EventArgs e)
{
if (m_propertyTable != null)
{
- m_propertyTable.SetProperty("msaCreatorDlgLocation", Location, true);
+ m_propertyTable.SetProperty("msaCreatorDlgLocation", Location, false);
//No need, since the dlg isnt; resizable. m_mediator.XCore.PropertyTable.SetProperty("msaCreatorDlgSize", Size);
}
}
diff --git a/Src/LexText/LexTextControls/MsaInflectionFeatureListDlg.cs b/Src/LexText/LexTextControls/MsaInflectionFeatureListDlg.cs
index 10ac8f1256..6d35d3ef66 100644
--- a/Src/LexText/LexTextControls/MsaInflectionFeatureListDlg.cs
+++ b/Src/LexText/LexTextControls/MsaInflectionFeatureListDlg.cs
@@ -631,8 +631,8 @@ private void MsaInflectionFeatureListDlg_Closing(object sender, System.Component
if (m_propertyTable != null)
{
- m_propertyTable.SetProperty("msaInflFeatListDlgLocation", Location, true);
- m_propertyTable.SetProperty("msaInflFeatListDlgSize", Size, true);
+ m_propertyTable.SetProperty("msaInflFeatListDlgLocation", Location, false);
+ m_propertyTable.SetProperty("msaInflFeatListDlgSize", Size, false);
}
}
diff --git a/Src/LexText/LexTextControls/PhonologicalFeatureChooserDlg.cs b/Src/LexText/LexTextControls/PhonologicalFeatureChooserDlg.cs
index 11b622f682..7a835d5ea1 100644
--- a/Src/LexText/LexTextControls/PhonologicalFeatureChooserDlg.cs
+++ b/Src/LexText/LexTextControls/PhonologicalFeatureChooserDlg.cs
@@ -796,8 +796,8 @@ private void PhonologicalFeatureChooserDlg_Closing(object sender, System.Compone
if (m_propertyTable != null)
{
- m_propertyTable.SetProperty("phonFeatListDlgLocation", Location, true);
- m_propertyTable.SetProperty("phonFeatListDlgSize", Size, true);
+ m_propertyTable.SetProperty("phonFeatListDlgLocation", Location, false);
+ m_propertyTable.SetProperty("phonFeatListDlgSize", Size, false);
}
}
diff --git a/Src/LexText/LexTextDll/AreaListener.cs b/Src/LexText/LexTextDll/AreaListener.cs
index dd2de3e5da..d46f039d6e 100644
--- a/Src/LexText/LexTextDll/AreaListener.cs
+++ b/Src/LexText/LexTextDll/AreaListener.cs
@@ -195,7 +195,7 @@ public void OnPropertyChanged(string name)
break;//this can happen when we use this property very early in the initialization
//for next startup
- m_propertyTable.SetProperty("InitialArea", areaName, true);
+ m_propertyTable.SetProperty("InitialArea", areaName, false);
ActivateToolForArea(areaName);
break;
@@ -546,7 +546,7 @@ private static Guid GetOwnerlessListGuidFromToolNode(XmlNode toolNode)
private void UpdateMediatorConfig(XmlNode windowConfig)
{
// We have to update this because other things besides 'tools' need to get set.
- m_propertyTable.SetProperty("WindowConfiguration", windowConfig, true);
+ m_propertyTable.SetProperty("WindowConfiguration", windowConfig, false);
m_propertyTable.SetPropertyPersistence("WindowConfiguration", false);
}
diff --git a/Src/LexText/Lexicon/FLExBridgeListener.cs b/Src/LexText/Lexicon/FLExBridgeListener.cs
index 40d42022b0..9affba42c5 100644
--- a/Src/LexText/Lexicon/FLExBridgeListener.cs
+++ b/Src/LexText/Lexicon/FLExBridgeListener.cs
@@ -85,7 +85,7 @@ public void Init(Mediator mediator, PropertyTable propertyTable, XmlNode configu
_mediator = mediator;
_propertyTable = propertyTable;
Cache = _propertyTable.GetValue("cache");
- _propertyTable.SetProperty("FLExBridgeListener", this, true);
+ _propertyTable.SetProperty("FLExBridgeListener", this, false);
_propertyTable.SetPropertyPersistence("FLExBridgeListener", false);
_parentForm = _propertyTable.GetValue