message: Support Multicursor (re: section shifting)
diff: @@ -562,15 +562,6 @@ export class Commander {
  return
  }
  - const document = editor.document
  - let selection = editor.selection
  - if (selection.isEmpty) {
  - const line = document.lineAt(selection.anchor)
  - selection = new vscode.Selection(line.range.start, line.range.end)
  - }
  -
  - const selectionText = document.getText(selection)
  -
  const increments = {
  part: 'part',
  chapter: 'part',
  @@ -607,11 +598,23 @@ export class Commander {
  // when supported, negative lookbehind at start would be nice --- (?<!\\)
  const pattern = /\\(part|chapter|section|subsection|subsection|subsubsection|paragraph|subparagraph)(\[.+?\])?(\{.+?\})/g
  - const newText = selectionText.replace(pattern, replacer)
  + const document = editor.document
  + const selections = editor.selections
  const edit = new vscode.WorkspaceEdit()
  +
  + for (let selection of selections) {
  + if (selection.isEmpty) {
  + const line = document.lineAt(selection.anchor)
  + selection = new vscode.Selection(line.range.start, line.range.end)
  + }
  +
  + const selectionText = document.getText(selection)
  + const newText = selectionText.replace(pattern, replacer)
  edit.replace(document.uri, selection, newText)
  - return vscode.workspace.applyEdit(edit)
  + }
  +
  + vscode.workspace.applyEdit(edit)
  }
  devParseLog() {
  