Call createAsRoot for mini editor's buffer

This commit is contained in:
Kevin Sawicki
2013-11-13 18:51:51 -08:00
parent abc1f23516
commit a475e27cd4
2 changed files with 2 additions and 2 deletions

View File

@@ -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"
},

View File

@@ -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