wait… 1. select your ‘want to change things in this block of text’ section.
2. set your ‘find ____’ text and your ‘replace with ______’ text 3. check the ‘search and replace in selected text only’ checkbox. unless i’m missing something? bruce > On Oct 11, 2019, at 7:48 AM, Sam Hathaway <[email protected] > <mailto:[email protected]>> wrote: > > On October 11, 2019 3:26:56 AM Gustave Stresen-Reuter [email protected] > <mailto:[email protected]> wrote: > > What else would you use discontiguous selections for (serious question)? > > Lack of multiple selection is one of several things that make me jealous of > VSCode/Atom/SublimeText users. In one of those editors, I would change the > types of some variables in a struct like this: > > select a word (say, uint16_t) > hit a key combo to also select the next instance of the selected word > and the next one > and the next one > ok, I've selected all the instances of uint16_t in this struct that I want to > change > type: uint32_t > This is different from editing all instance of some text. If I’m changing a > few variables in one struct from being 16-bit to 32-bit, that doesn’t mean I > want to change every single uint16_t in the file. > > I can get close with current BBEdit like this: > > select a word (say, uint16_t) > hit Cmd-E (to set find text) > type: uint32_t > hit Opt-Shift-Left to select the word I just typed > hit Cmd-Opt-E (to set replace text) > hit Cmd-G > hit Cmd-T > hit Cmd-T > hit Cmd-T > This is… okay… I guess… but the keyboard acrobatics are a little stressful on > my fingers, and I don’t like that I have to enter the replacement text first, > before selecting all the instances that I want to change. It’s conceptually > cleaner for me to “grab” all the text I want to change, and then change it > all at once. > > If all the words I want to change are on adjacent lines and lined up > vertically, I can use a rectangular selection and this works pretty well (as > long as I remember to use Cmd-Z rather than Backspace if I make a mistake). I > wish I could do this even when things are not lined up nicely. > > Does that make sense? > -sam > > On 11 Oct 2019, at 3:26, Gustave Stresen-Reuter wrote: > > Not sure if this is what you want but you can edit all instances of found > text. Not at my computer so can't consult the docs but it is possible. > > What else would you use discontiguous selections for (serious question)? > > Ted > > On Fri, Oct 11, 2019, 3:45 AM Tom Robinson <[email protected] > <mailto:[email protected]>> wrote: > See the ungimmicky footer of every message to this group: > > > If you have a > > feature request or need technical support, please email > > "[email protected] <mailto:[email protected]>" rather than posting > > to the group. > > > > On 2019-10-11, at 14:20, 'Tom' via BBEdit Talk <[email protected] > > <mailto:[email protected]>> wrote: > > > > Hey guys, > > > > as much as I like the Playground thingy for regexen, it’s nothing we didn’t > > do already on regex101 for the last years. > > > > So, instead of those gimmicky (though nice) additions, I really would like > > to see non-contigous selection. As almost any other text program on macOS > > can do. > > > > Any thoughts/timeline? > > -- > This is the BBEdit Talk public discussion group. If you have a > feature request or need technical support, please email > "[email protected] <mailto:[email protected]>" rather than posting to > the group. > Follow @bbedit on Twitter: <https://twitter.com/bbedit > <https://twitter.com/bbedit>> > --- > You received this message because you are subscribed to the Google Groups > "BBEdit Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:bbedit%[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/bbedit/BEE3E49E-192F-4E8C-9D83-287ECB930EAE%40gmail.com > > <https://groups.google.com/d/msgid/bbedit/BEE3E49E-192F-4E8C-9D83-287ECB930EAE%40gmail.com>. > > -- > This is the BBEdit Talk public discussion group. If you have a > feature request or need technical support, please email > "[email protected] <mailto:[email protected]>" rather than posting to > the group. > Follow @bbedit on Twitter: <https://twitter.com/bbedit > <https://twitter.com/bbedit>> > --- > You received this message because you are subscribed to the Google Groups > "BBEdit Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/bbedit/CAKAQjicfJDhvaak3n9hEXL95o-WcTajgD2ovFBETM-rfekVP_Q%40mail.gmail.com > > <https://groups.google.com/d/msgid/bbedit/CAKAQjicfJDhvaak3n9hEXL95o-WcTajgD2ovFBETM-rfekVP_Q%40mail.gmail.com?utm_medium=email&utm_source=footer>. > > -- > This is the BBEdit Talk public discussion group. If you have a > feature request or need technical support, please email > "[email protected] <mailto:[email protected]>" rather than posting to > the group. > Follow @bbedit on Twitter: <https://twitter.com/bbedit > <https://twitter.com/bbedit>> > --- > You received this message because you are subscribed to the Google Groups > "BBEdit Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/bbedit/6075C4ED-9B46-4D05-9A40-1DA84D69B388%40munkynet.org > > <https://groups.google.com/d/msgid/bbedit/6075C4ED-9B46-4D05-9A40-1DA84D69B388%40munkynet.org?utm_medium=email&utm_source=footer>. bruce linde 5 happiness webmaster (four more than the competition!) http://www.5happy.com/ <http://www.5happy.com/> http://clockhappy.com/ 510.530.1331 office 510.206.9730 mobile (shift key available upon request) -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/8C5F2CA4-1F53-4740-9CAD-D65DE34A8367%405happy.com.
