Sublime Forum

ST 3176 Text Selection Bug(?)

#1

So when I add this text to a file: ( https://pastebin.com/4uLRbLGD )

<?php
$category = "";
$tag = "";
// ----0--9--8--7--6--5--4--3--2--1--1--2--3--4--5--6--7--8--9--0---- //
// ================================================================== //
//                                                                    //
?>

And then select from the last character on line 3 (or the last non visual character, the CR so to speak) to the last ‘//’ on line 6, using either mouse or keyboard; and then press enter, it duplicates line three.

So you end up with two $tag = “”; 's.

It’s a bit fiddly to explain, hope you get it! Cheers

0 Likes

#2

sounds like a keybinding doing you favors, likely from a third party package

0 Likes