MCPcopy Create free account
hub / github.com/CatMuse/HiNote / emitHighlightUpdate

Method emitHighlightUpdate

src/services/EventManager.ts:22–24  ·  view source on GitHub ↗

* 触发高亮更新事件

(filePath: string, oldText: string, newText: string, sourceId: string)

Source from the content-addressed store, hash-verified

20 * 触发高亮更新事件
21 */
22 public emitHighlightUpdate(filePath: string, oldText: string, newText: string, sourceId: string) {
23 this.events.trigger('highlight:update', filePath, oldText, newText, sourceId);
24 }
25
26 /**
27 * 触发高亮删除事件

Callers 2

addHighlightMethod · 0.80
emitHighlightTextChangeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected