Insert multiple cursors
To apply a change to several places simultaneously in the editor in the Edit mode, press and hold Alt, and click to place cursors in several places in the file. Any changes you make are applied simultaneously at all the cursor positions.
To manage cursors:
- Press the arrow keys to move all the cursors up and down.
- Press the Home and End key to move all the cursors to the beginning or to the end of the line.
- Press and hold Alt and double-click strings to select several strings simultaneously.
- Press Alt+Shift+I to create cursors at the ends of selected lines.
- Press Esc to remove all the cursors and selections.
See also How To: Edit Code, Editing Selected Lines, and Edit Mode.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.