summaryrefslogtreecommitdiff
path: root/extension/react-app/src/hooks/useContinueGUIProtocol.ts
diff options
context:
space:
mode:
authorTy Dunn <ty@tydunn.com>2023-07-05 23:20:06 -0700
committerTy Dunn <ty@tydunn.com>2023-07-05 23:20:06 -0700
commita5386d7897f5e3f3f7443246de3a443f5b2179d0 (patch)
treeaa51a50475d06efc4d1f039dad8068363e08fee4 /extension/react-app/src/hooks/useContinueGUIProtocol.ts
parentc0177d013e79593e6444069feec08bc2dff9c157 (diff)
parent22b02641b4b14ffad32914d046e645cf6f850253 (diff)
downloadsncontinue-a5386d7897f5e3f3f7443246de3a443f5b2179d0.tar.gz
sncontinue-a5386d7897f5e3f3f7443246de3a443f5b2179d0.tar.bz2
sncontinue-a5386d7897f5e3f3f7443246de3a443f5b2179d0.zip
Merge branch 'main' of github.com:continuedev/continue
Diffstat (limited to 'extension/react-app/src/hooks/useContinueGUIProtocol.ts')
-rw-r--r--extension/react-app/src/hooks/useContinueGUIProtocol.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/extension/react-app/src/hooks/useContinueGUIProtocol.ts b/extension/react-app/src/hooks/useContinueGUIProtocol.ts
index e950387c..49f200ae 100644
--- a/extension/react-app/src/hooks/useContinueGUIProtocol.ts
+++ b/extension/react-app/src/hooks/useContinueGUIProtocol.ts
@@ -74,6 +74,10 @@ class ContinueGUIClientProtocol extends AbstractContinueGUIClientProtocol {
deleteContextAtIndices(indices: number[]) {
this.messenger.send("delete_context_at_indices", { indices });
}
+
+ toggleAddingHighlightedCode(): void {
+ this.messenger.send("toggle_adding_highlighted_code", {});
+ }
}
export default ContinueGUIClientProtocol;