Delete unused highlightSearch in ui.ts

This commit is contained in:
Fred Sauer authored and Steven Hugg committed 2026-08-14 16:45:56 +02:00
1 parent 21d3c464b6
commit ddcef74f08
1 file changed
-9
-9
View File
@@ -2323,15 +2323,6 @@ function writeOutputROMFile() {
alternateLocalFilesystem.setFileData(`bin/${prefix}${suffix}`, current_output);
}
}
export function highlightSearch(query: string) { // TODO: filename?
var wnd = projectWindows.getActive();
if (wnd instanceof SourceEditor) {
var sc = wnd.editor.getSearchCursor(query);
if (sc.findNext()) {
wnd.editor.setSelection(sc.pos.to, sc.pos.from);
}
}
}
function startUIWhenVisible() {
let started = false;