News for hackers. Stuff that matters.
Re:Flow – A Programmer's Text Editor by rk06 on Wednesday December 17, 2025 @12:56AM (#46298715)
multiple cursor is basic editor 101.

programmer' text editor need to have it as bare minimum. otherwise, i would have to go to sublime or vscode for text editing and then I will wonder why should I bother with this editor.

Re:Flow – A Programmer's Text Editor by cake-rusk on Wednesday December 17, 2025 @02:46AM (#46299280)
Yes I get that its a basic requirement for some people. I am asking why.
Re:Flow – A Programmer's Text Editor by enricozb on Wednesday December 17, 2025 @04:29PM (#46305781)
Today's usage from what edits I can recall:

- I wanted to edit the visibility (pub -> pub(crate)) of most but not all functions in a class.

- I changed a macro to not require commas in a list of items it took in as input.

- I changed a function to deal with utf-8 codepoints instead of bytes, so I wanted to rename all uses of "byte" to "char".

Basically, localized find and replace, with a bit of flexibility.

Re:Flow – A Programmer's Text Editor by cake-rusk on Thursday December 18, 2025 @02:04AM (#46309701)
Got it. Thanks for sharing.
Re:Flow – A Programmer's Text Editor by az09mugen on Saturday December 20, 2025 @05:31AM (#46335092)
A use case I have also is the creation of a switch case from a list of enums
Re:Flow – A Programmer's Text Editor by cake-rusk on Monday December 22, 2025 @12:33AM (#46351644)
Nice one!