mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2026-10-25 00:02:16 +00:00
Delete unused highlightSearch in ui.ts
This commit is contained in:
1 parent
21d3c464b6
commit
ddcef74f08
1 file changed
-9
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user