You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a lot of smarts baked into the built-in copy, paste, and cut actions. Rather than reimplementing them ourselves, it's probably easiest to first setSelection, then issue the built-in command, then setSelection back
The text was updated successfully, but these errors were encountered:
Yep that's certainly part of it. There also must be code somewhere along the chain to be smart about tracking multi-cursor multi-line copies, and I think I remember seeing code trying to be smart about indentation, but not positive bout that one
I as wanted to store that reference. I think I figure out how the smart logic works internally and agree we should use the the internal copy and past function.
There are a lot of smarts baked into the built-in copy, paste, and cut actions. Rather than reimplementing them ourselves, it's probably easiest to first
setSelection
, then issue the built-in command, thensetSelection
backThe text was updated successfully, but these errors were encountered: