evandrocoan / FixedToggleFindPanel

A package to fix the Sublime Text bug where `toggle_whole_word` and other related commands do not work if the `find_panel` does not has focus
GNU General Public License v3.0
2 stars 0 forks source link

Copy line and indent-paste it in the middle of another line #1

Open ajgrez opened 3 years ago

ajgrez commented 3 years ago

I have a comment (a bug maybe) about the "Paste and Indent does not work for whole lines copied/cut" part. When I copy a line, then place the cursor at the beginning of the line I want to place it, and then "indent-paste", it works like a charm. However, if I place the cursor in the middle of the line, the result is not the expected one, as the new line gets mixed with the current one.

1 2 3

By the way, thanks for the nice plugin!

evandrocoan commented 3 years ago

Hi. I understand your problem. I just noticed this happening (while I was using this).

For now I am sticking to put the cursor in a new line before pasting with Ctrl+Shift+V.

I gave a look at the code and it seems quite complicated (because it is most like a hack into Sublime Text).

Perhaps Sublime Text will fix his behavior on Sublime Text 4. But I have to wait until I migrate all my plugins to Sublime Text 4. For now I will be using Sublime Text 3.

Enduriel commented 2 years ago

Hi there, just checked out your plugin because half a decade after the first report this still isn't fixed in ST. Would be really great if you could fix the bug here as it means I can't use this either ):

evandrocoan commented 2 years ago

Well, this is affecting me, but for now, it is not enough to make it spend a full day working on it. I do not assume it will be an easy fix as Sublime (programming interface) is full of bugs, thus a full day working.