Merge branch ztflow-liyang-release/21.7.2#liyang of zentao/zentaopms (#9513)
This commit is contained in:
@@ -101,6 +101,7 @@ function createMonaco(id, action, options, diffContent, onMouseDown, onMouseMove
|
||||
const range = new monaco.Range(startLine, startCol, endLine, endCol);
|
||||
programmaticSelectionRange = range;
|
||||
editor.setSelection(range);
|
||||
editor.revealRangeInCenter(range);
|
||||
updateDecorations();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user