livestyle / atom

LiveStyle plugin for Atom editor
http://livestyle.io
135 stars 9 forks source link

Function.extractParams is deprecated. #16

Open webspilka opened 8 years ago

webspilka commented 8 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)
TextBuffer.markRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:790:38)
newMarkers.forEach.marker (/Users/bit/.atom/packages/livestyle-atom/lib/analyzer/index.js:225:16)
Set.forEach (native)
markBufferWithAnalyzerData (/Users/bit/.atom/packages/livestyle-atom/lib/analyzer/index.js:224:16)
9585999 commented 7 years ago

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 TextBuffer.markRange - /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:791:38 newMarkers.forEach.marker - /Users/diegos/.atom/packages/livestyle-atom/lib/analyzer/index.js:225:16 Set.forEach - native markBufferWithAnalyzerData - /Users/diegos/.atom/packages/livestyle-atom/lib/analyzer/index.js:224:16

omarciovsena commented 7 years ago

It is also available to me after I updated the atom to version 1.13.0

BigEricS commented 7 years ago

Function.extractParams - C:\Users\erics\AppData\Local\atom\app-1.14.1\resources\app.asar\node_modules\text-buffer\lib\marker.js:43:14 MarkerLayer.markRange - C:\Users\erics\AppData\Local\atom\app-1.14.1\resources\app.asar\node_modules\text-buffer\lib\marker-layer.js:211:71 TextBuffer.markRange - C:\Users\erics\AppData\Local\atom\app-1.14.1\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:743:38 newMarkers.forEach.marker - C:\Users\erics.atom\packages\livestyle-atom\lib\analyzer\index.js:225:16 Set.forEach - native markBufferWithAnalyzerData - C:\Users\erics.atom\packages\livestyle-atom\lib\analyzer\index.js:224:16

saberky 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 - /usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/marker.js:43:14 MarkerLayer.markRange - /usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/marker-layer.js:215:71 TextBuffer.markRange - /usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:742:38 newMarkers.forEach.marker - /home/sabir/.atom/packages/livestyle-atom/lib/analyzer/index.js:225:16 Set.forEach - native markBufferWithAnalyzerData - /home/sabir/.atom/packages/livestyle-atom/lib/analyzer/index.js:224:16

BenjaminHoegh commented 7 years ago

Atom: 1.17.0

Function.extractParams - <embedded>:110839:20
MarkerLayer.markRange - <embedded>:71710:77
TextBuffer.markRange - <embedded>:28092:44
newMarkers.forEach.marker - /Users/benjamin/.atom/packages/livestyle-atom/lib/analyzer/index.js:225:16
Set.forEach - native
markBufferWithAnalyzerData - /Users/benjamin/.atom/packages/livestyle-atom/lib/analyzer/index.js:224:16
8bit-echo commented 7 years ago

Atomo 1.18.0 - Mac

Same output as HawkonDK.

Bandeirex commented 7 years ago

I have this Issue Atom 1.20.1 Windows 10

don1420 commented 7 years ago

Function.extractParams - :131558:20 MarkerLayer.markRange - :74751:77 TextBuffer.markRange - :31839:44 newMarkers.forEach.marker - C:\Users\User.atom\packages\livestyle-atom\lib\analyzer\index.js:225:16 Set.forEach - native markBufferWithAnalyzerData - C:\Users\User.atom\packages\livestyle-atom\lib\analyzer\index.js:224:16

vik-vavilikhin commented 6 years ago

Function.extractParams - :133689:20 MarkerLayer.markRange - :76551:77 TextBuffer.markRange - :33380:44 newMarkers.forEach.marker - C:\Users\vva76.atom\packages\livestyle-atom\lib\analyzer\index.js:225:16 Set.forEach - native markBufferWithAnalyzerData - C:\Users\vva76.atom\packages\livestyle-atom\lib\analyzer\index.js:224:16

esmailnosrati commented 5 years ago

Function.extractParams :14:61659 MarkerLayer.markRange :14:72468 TextBuffer.markRange:11:489894 newMarkers.forEach.marker - C:\Users\en.atom\packages\livestyle-atom\lib\analyzer\index.js:225:16 Set.forEach - null:null:null markBufferWithAnalyzerData - C:\Users\en.atom\packages\livestyle-atom\lib\analyzer\index.js:224:16