Editor->Structure->Move Line Up/Down loses caret position

Originator:fatste
Number:rdar://44632899 Date Originated:20/09/2018
Status:open Resolved:
Product:Xcode Product Version:Version 10.0 (10A254a)
Classification:UI Reproducible:Always
 
Summary: Using the "Move Line Up/Down" commands Xcode provides selects the entire line so that the caret position is lost.


Steps to Reproduce: Use the commands


Expected Results: The caret should be in the same column as before the command, and any previous selection should be maintained (or none if there was none)


Actual Results: The line is moved in the chosen direction, but the whole line is now selected.


Version/Build: Version 10.0 (10A254a)


Configuration:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!