kankaristo / atom-multi-cursor-plus

Improved multi-cursor functionality for Atom: https://atom.io/packages/multi-cursor-plus
MIT License
20 stars 1 forks source link

Function.extractParams is deprecated. #10

Closed sunbird89629 closed 7 years ago

sunbird89629 commented 7 years ago

Assigning custom properties to a marker when creating/copying it is deprecated. Please, consider storing the custom properties you need in some other object in your package, keyed by the marker's id property.

Function.extractParams (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker.js:43:14)
MarkerLayer.markRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker-layer.js:196:71)
DisplayMarkerLayer.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/display-marker-layer.js:90:62)
TextEditor.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1753:38)
Object.mark (/Users/wang/.atom/packages/multi-cursor-plus/lib/multi-cursor-plus.coffee:199:14)
atom-text-editor.subscriptions.add.atom.commands.add.multi-cursor-plus:mark (/Users/wang/.atom/packages/multi-cursor-plus/lib/multi-cursor-plus.coffee:13:26)