mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Call createAsRoot for mini editor's buffer
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
"season": "0.14.0",
|
||||
"semver": "1.1.4",
|
||||
"space-pen": "2.0.0",
|
||||
"telepath": "0.33.0",
|
||||
"telepath": "0.34.0",
|
||||
"temp": "0.5.0",
|
||||
"underscore-plus": "0.3.0"
|
||||
},
|
||||
|
||||
@@ -104,7 +104,7 @@ class Editor extends View
|
||||
@edit(editSession)
|
||||
else if @mini
|
||||
@edit(new EditSession
|
||||
buffer: new TextBuffer
|
||||
buffer: TextBuffer.createAsRoot()
|
||||
softWrap: false
|
||||
tabLength: 2
|
||||
softTabs: true
|
||||
|
||||
Reference in New Issue
Block a user