Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UNLINEARITY/Obsidian-CodeSpace
/ toggleSearchPanel
Method
toggleSearchPanel
src/code_view.ts:891–895 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
889
890
// 切换搜索面板(供命令调用)
891
toggleSearchPanel() {
892
if
(this.searchPanel) {
893
this.searchPanel.toggle();
894
}
895
}
896
897
private getSelectedTextForSearch(): string | null {
898
if
(!this.editorView)
return
null;
Callers
2
initCodeMirror
Method · 0.95
onload
Method · 0.80
Calls
1
toggle
Method · 0.45
Tested by
no test coverage detected