Thursday, October 10, 2024

Teaser: Multi-caret editing is coming to PyScripter

The series of short videos that follow, introduce the forthcoming new multi-caret and multi-selection editing capabilities of PyScripter. They can also serve as a tutorial on how to effectively use them for more productive code editing.

Multiple carets and selections using the mouse

Takeaways:

  • Alt + Mouse click:  Adds new caret
  • Alt + Mouse move: Adds new selection
  • Alt + Shift + Mouse click/move: Selects column mode

Multiple carets and selections using the keyboard


Takeaways:

  • Alt + Shift + Left/Right/Up/Down/PgUp/PgDown: Selects column mode
  • Alt + End: Adds carets to the end of the lines in the current selection


Editing with multiple carets and selections



Takeaways:

  • Most editing commands work with multiple carets and selections

Copying and pasting with multiple selections

Takeaways:

  • If the number of carets when you copy, is equal to the number of carets when you paste, copying is taking place on a one-to-one basis.  Otherwise, the full selected text is copied.

Selecting matching words and text

Takeaways:

  • Ctrl + W: Adds the next matching word as a new selection
  • Shift +Ctrl + W: Selects all matching occurrences of the current selection




No comments: