atom-react icon indicating copy to clipboard operation
atom-react copied to clipboard

Undo option on textbuffer is deprecated

Open samblyon opened this issue 6 years ago • 4 comments

I'm getting this deprecation warning:


The undo option is deprecated. Call groupLastChanges() on the TextBuffer afterward instead.
Report Issue
TextBuffer.setTextInRange - <embedded>:33562:22
TextEditor.setTextInBufferRange - <embedded>:3552:35
AtomReact.autoCloseTag - /Users/samlyon/.atom/packages/react/lib/atom-react.coffee:348:27
<unknown> - /Users/samlyon/.atom/packages/react/lib/atom-react.coffee:379:24
Function.module.exports.Emitter.simpleDispatch - <embedded>:68130:20
Emitter.emit - <embedded>:68259:34

samblyon avatar Jul 21 '18 20:07 samblyon

this just popped up while I was working. Were you able to find a solution?

AndrewMcLellan avatar Aug 20 '18 11:08 AndrewMcLellan

#285 was the same issue and was closed yet it is still happening. Why is there no fix for this yet?

QuentinMcCarthy avatar Nov 12 '18 21:11 QuentinMcCarthy

This is still an issue. Figured it's just getting ignored. since there hasn't been a commit in 2 years.

sjsadowski avatar May 20 '20 13:05 sjsadowski

I fixed it and will do more updates soon. The creator did good work - Time to give this package a fresh run. https://github.com/Vistoce/atom-react

ghost avatar Sep 22 '20 20:09 ghost