We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48b8023 commit d1992f7Copy full SHA for d1992f7
lib/split-diff.coffee
@@ -352,13 +352,13 @@ module.exports = SplitDiff =
352
353
# auto open editor panes so we have two to diff with
354
if editor1 == null
355
- editor1 = atom.workspace.buildTextEditor()
+ editor1 = atom.workspace.buildTextEditor({autoHeight: false})
356
@wasEditor1Created = true
357
# add first editor to the first pane
358
panes[0].addItem(editor1)
359
panes[0].activateItem(editor1)
360
if editor2 == null
361
- editor2 = atom.workspace.buildTextEditor()
+ editor2 = atom.workspace.buildTextEditor({autoHeight: false})
362
@wasEditor2Created = true
363
editor2.setGrammar(editor1.getGrammar())
364
rightPaneIndex = panes.indexOf(atom.workspace.paneForItem(editor1)) + 1
0 commit comments