Visual studio code 编辑方法中的undoStopAfter和undoStopBefore选项的确切含义是什么?它们的行为如何

Visual studio code 编辑方法中的undoStopAfter和undoStopBefore选项的确切含义是什么?它们的行为如何,visual-studio-code,vscode-extensions,Visual Studio Code,Vscode Extensions,e.edit((editBuilder)=>{//这里e是texteditor的对象 editBuilder.insert(_p,content); 返回true; }, {undoStopAfter:true,undoStopBefore:false} ).然后(x=>{ //指定undoStopAfter和undoStopBefore选项后会发生什么? 返回true; }); 在处理扩展时,撤消操作会出现异常的问题。我也想知道这个问题的答案!在处理扩展时遇到撤消行为异常的问题。我也想知道这个

e.edit((editBuilder)=>{//这里e是texteditor的对象
editBuilder.insert(_p,content);
返回true;
},
{undoStopAfter:true,undoStopBefore:false}
).然后(x=>{
//指定undoStopAfter和undoStopBefore选项后会发生什么?
返回true;
});

在处理扩展时,撤消操作会出现异常的问题。我也想知道这个问题的答案!在处理扩展时遇到撤消行为异常的问题。我也想知道这个问题的答案!