public static void Show(RansackQuery ransackQuery) { var window = GetWindow <ProcessWindow>(utility: true, title: "Ransack Search"); window._query?.Dispose(); window._query = ransackQuery; window.Show(); }
private static void RunRansack(string search, string fileNames, bool insideEditor = true) { if (insideEditor) { RansackQuery ransackQuery = new RansackQuery(search, fileNames); ProcessWindow.Show(ransackQuery); } else { RansackQuery.OpenRansackExternal(search, fileNames); } }