mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 18:24:09 +03:00
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:
parent
b29f1965f0
commit
f8d959ae16
@ -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"
|
||||
},
|
||||
|
@ -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: ->
|
||||
|
Loading…
Reference in New Issue
Block a user