mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-12 22:50:54 +03:00
Ensure options
exists in autoIndentBufferRows
This commit is contained in:
parent
8418c06a47
commit
1273008bca
@ -5670,7 +5670,7 @@ module.exports = class TextEditor {
|
||||
//
|
||||
// * startRow - The row {Number} to start at
|
||||
// * endRow - The row {Number} to end at
|
||||
autoIndentBufferRows(startRow, endRow, options) {
|
||||
autoIndentBufferRows(startRow, endRow, options = {}) {
|
||||
const languageMode = this.buffer.getLanguageMode();
|
||||
let lastRowIndented = startRow - 1;
|
||||
if (languageMode.suggestedIndentForBufferRows) {
|
||||
|
Loading…
Reference in New Issue
Block a user