Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix: ref selection (#2770)
lumixe885f76e0160
diff --git a/packages/sheets-formula/src/controllers/prompt.controller.ts b/packages/sheets-formula/src/controllers/prompt.controller.tsindex 7200ab5459..eb241e45a3 100644--- a/packages/sheets-formula/src/controllers/prompt.controller.ts+++ b/packages/sheets-formula/src/controllers/prompt.controller.ts@@ -1814,8 +1814,9 @@ export class PromptController extends Disposable {this._formulaPromptService.setSequenceNodes(lastSequenceNodes);- this._syncToEditor(lastSequenceNodes, formulaString.length - 1, editorUnitId);- })+ this._syncToEditor(lastSequenceNodes, formulaString.length - 1, editorUnitId, true, false);+ })+ ));this.disposeWithMe(@@ -1830,6 +1831,9 @@ export class PromptController extends Disposable {);}+ /**+ * Absolute range, triggered by F4+ */private _changeRefString() {const activeRange = this._textSelectionManagerService.getActiveRange();