複数のカーソルを挿入する

Edit モードのエディタで、複数の場所に同時に変更を適用するには、Altキーを押したままクリックして、ファイル内の複数の場所にカーソルを配置します。行った変更は、すべてのカーソル位置で同時に適用されます。

エディタ内の複数のカーソル

カーソルの操作方法:

  • 矢印キーを押して、すべてのカーソルを上下に移動します。
  • HomeキーまたはEndキーを押すと、すべてのカーソルが行の先頭または末尾に移動します。
  • Altキーを押したまま文字列をダブルクリックすると、複数の文字列を同時に選択できます。
  • Alt+Shift+Iを押すと、選択した行の末尾にカーソルが作成されます。
  • Escキーを押すと、すべてのカーソルと選択範囲が解除されます。

「コードの編集方法」、「 選択した行の編集」、「コードの編集も参照してください

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.