Upgrade to text-buffer 0.12.0

* Drop deprecation of insert/append/delete. The method names will remain
  short.

* Replace ::getLastPosition with ::getEndPosition
This commit is contained in:
Nathan Sobo 2014-01-08 10:53:07 -07:00
parent b29f1965f0
commit f8d959ae16
2 changed files with 3 additions and 12 deletions

View File

@ -48,7 +48,7 @@
"semver": "1.1.4",
"space-pen": "2.0.2",
"temp": "0.5.0",
"text-buffer": "0.11.0",
"text-buffer": "0.12.0",
"underscore-plus": "0.6.1",
"theorist": "~0.7.0"
},

View File

@ -194,17 +194,8 @@ class TextBuffer extends TextBufferCore
else
null
# Deprecated: Use ::getLastPosition instead
getEofPosition: -> @getLastPosition()
# Deprecated: Use appendText instead
append: -> @appendText(arguments...)
# Deprecated: Use insertText instead
insert: -> @insertText(arguments...)
# Deprecated: Use deleteText instead
delete: -> @deleteText(arguments...)
# Deprecated: Use ::getEndPosition instead
getEofPosition: -> @getEndPosition()
# Saves the buffer.
save: ->