tks Roland - will experiment! > On 17 Jan 2025, at 09:43, Roland Küffner <[email protected]> wrote: > > Hi, > you could replace the default "Go to Next Placeholder" functionality (= > pressing TAB) by a custom script that removes the Placeholder syntax > "<#...#>" and jumps to the next Placeholder. > > I tried to record a quick and dirty Applescript that worked on my (very > basic) tests: > tell application "BBEdit" > activate > replace "<#(.+?)#>" using "\\1" searching in selection of text window 1 > options {search mode:grep} > end tell > tell application "System Events" to keystroke " " > > Please mind that the keystroke command in the last line has a literal tab in > it's string – you could also use keystroke (ASCII character 9) > > The placeholder must already be selected (probably by having pressed TAB). > > All you would have to to is to save such a script, give it a keyboard > shortcut, jump to the first placeholder (TAB) and use your shortcut from > there, > Not ideal, but maybe better than removing them brackets with bare hands. > Regards > Roland > > > On Mon, Dec 30, 2024 at 2:50 AM john Mitchell <[email protected] > <mailto:[email protected]>> wrote: >> Hi all >> >> bbedit version 15.1.3 (15B62, Apple Silicon) >> macOS 15.2 (24C101) >> >> I get this completion example (inPython): >> >> change_individual_name(<# level_families #>, <# family_id #>, <# child_id >> #>, <# new_name #>) >> >> is there a (smart) way to accept the variable names instead of deleting the >> delimiters. >> In this example the first 3 arguments are identical, but the last argument >> will have a custom edit, and of course there will be great variation in >> arguments >> >> >> >> John Mitchell >> >> >> -- >> This is the BBEdit Talk public discussion group. If you have a feature >> request or believe that the application isn't working correctly, please >> email "[email protected] <mailto:[email protected]>" rather than >> posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@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 visit >> https://groups.google.com/d/msgid/bbedit/9838765A-E34D-4068-8A9C-C379FF74FA08%40cqr.net.au >> >> <https://groups.google.com/d/msgid/bbedit/9838765A-E34D-4068-8A9C-C379FF74FA08%40cqr.net.au?utm_medium=email&utm_source=footer>. > > > -- > This is the BBEdit Talk public discussion group. If you have a feature > request or believe that the application isn't working correctly, please email > "[email protected]" rather than posting here. Follow @bbedit on Mastodon: > <https://mastodon.social/@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 visit > https://groups.google.com/d/msgid/bbedit/CABybPXZwH9bXCCCq_FFDtJmLXOtdjzBbGvrS_Hxeo999Cm4U9Q%40mail.gmail.com > > <https://groups.google.com/d/msgid/bbedit/CABybPXZwH9bXCCCq_FFDtJmLXOtdjzBbGvrS_Hxeo999Cm4U9Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.
regards John U1005/2 Dind Street, Milsons Point, NSW 2061 Australia Email: [email protected] • Mob: +61 410 318 131 Skype: jrmitchell -- This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "[email protected]" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@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 visit https://groups.google.com/d/msgid/bbedit/17265FB0-F881-42AF-AD09-68A40103E061%40cqr.net.au.
