python-indent
python-indent copied to clipboard
code disappear after indentation when using multiple cursors
There is a bug where part of the code disappear after creating new lines when using multiple cursors and when indentation is required. I narrowed it down and this only happens when I enable this package.
To reproduce: create multiple cursors on a single line (either by selecting something and pressing Ctrl+d or by clicking while holding Ctrl+Shift) and then press Enter. If the new lines will require indentation, all code other than the very first newly created line will be deleted (!). At that point, you can press Ctrl+z to undo the indentation and the code reappers, but it will require manual indentation at that point. See the animation below:
