textideedittext-editorgeany

How can I write to multiple lines simultaneously in Geany?


I want to modify the beginning of every line of a txt file in Geany. Somehow it is possible to write in multiple lines at the same time (maybe with box selection?). How to do this?


Solution

  • You need to install before the plugin Extra Selection.

    For my configuration (Debian/Buster, Geany 1.33) I add to configure shortcuts key. See plugin manual for more details :

    Usage :

    Under Tools -> Extra Selection, there are 7 new items: "Column Mode", "Select to Line", "Select to Matching Brace", "Toggle Rectangular/Stream", "Set Anchor", "Select to Anchor" and "Rectangle Select to Anchor". Normally these should be bound to keys, for example Alt-C, Alt-Shift-L, Ctrl-Shift-B, Ctrl+2, F12, Shift-F12 and Alt-Shift-F12.