In Notepad++ 8.6 (the 238th release since 2003, for those keeping count) the Windows-based code tool [which can also be used on Linux] adds to its extensive feature set with an improved multi-edit feature.
A few 3rd-party Notepad++ plugins have offered similar functionality for a while, including BetterMultiSelection. And a bug report requesting to ability to “transform the column mode to multi-caret on HOME/END/Arrow keys” led to this native addition.
Their blog post includes an animated GIF of Notepad++ multi-edit in action.
“You can install Notepad++ on Ubuntu straight from the Ubuntu Software/App Center app (it’s a Snap Store). Alternatively, install the Windows build via WINE/CrossOver or, if you got the l33t skillz, build it by hand, from source.”