diff --git a/vassal-app/src/main/java/VASSAL/configure/ConfigureTree.java b/vassal-app/src/main/java/VASSAL/configure/ConfigureTree.java index 29e71a21e8..f1f6fc69ac 100644 --- a/vassal-app/src/main/java/VASSAL/configure/ConfigureTree.java +++ b/vassal-app/src/main/java/VASSAL/configure/ConfigureTree.java @@ -55,6 +55,7 @@ import VASSAL.launch.EditorWindow; import VASSAL.preferences.Prefs; import VASSAL.search.SearchTarget; +import VASSAL.tools.BrowserSupport; import VASSAL.tools.ErrorDialog; import VASSAL.tools.NamedKeyStroke; import VASSAL.tools.ReadErrorDialog; @@ -126,6 +127,7 @@ import java.io.IOException; import java.io.Writer; import java.lang.reflect.InvocationTargetException; +import java.net.MalformedURLException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; @@ -2241,7 +2243,17 @@ public void actionPerformed(ActionEvent e) { } private void showSearchHelp() { - // FIXME - Add Help ref + File dir = VASSAL.build.module.Documentation.getDocumentationBaseDir(); + dir = new File(dir, "ReferenceManual"); //$NON-NLS-1$ + final File theFile = new File(dir, "Search.html"); //$NON-NLS-1$ + HelpFile h = null; + try { + h = new HelpFile(null, theFile, "#top"); //$NON-NLS-1$ + } + catch (MalformedURLException e) { + ErrorDialog.bug(e); + } + BrowserSupport.openURL(h.getContents().toString()); } /**