Well that was quick.
Is this documented somewhere?
The one flaw I see with this is the width of the selected rectangle is controlled by the width of the top and bottom lines being selected. The width of the rectangle will continually snap left and right as the rectangle is dragged downward. In other words the CRLF of the first and last line will determine the width of the rectangle. It does not work this way in Delphi or Notepad++.
Example. In your selection example, if you try and move the selected rectangle down one more line to "End Sub", the width of selected rectangle will snap to the left. I would prefer to see the selected rectangle width NOT be controlled by CRLF in the lines as it is being dragged (width should not snap back and forth). (spaces would be added to the shorter lines to make up for the missing text in the rectangle.)
TIA