before the current text、after the current text

Have a suggestion for "Everything"? Please post it here.
Learning Regex
Posts: 11
Joined: Thu May 05, 2022 11:09 am

before the current text、after the current text

Post by Learning Regex »

Is it possible to customize bookmark text to insert before the current text, insert after the current text, or replace the current text?(With Attachment)

0 = No change
1 = Replace
2 = Insert at the home
3 = Insert at the end

OR(I feel this would be better):Add a new macro that only works within bookmarks

current-text:

(Macros native to the bookmark will be skipped directly when the bookmark is invoked.)

It’s best if we can freely decide where to place it.

Note: I’m aware there is a right-click function labeled "Append to Search". However, this method is a bit cumbersome and cannot be triggered via keyboard shortcuts.

Would this be hard to implement? :D

Thanks for the great work you’ve done!
You do not have the required permissions to view the files attached to this post.
void
Developer
Posts: 20041
Joined: Fri Oct 16, 2009 11:31 pm

Re: before the current text、after the current text

Post by void »

Is it possible to customize bookmark text to insert before the current text, insert after the current text, or replace the current text?
Please try the /set-search search command.

To insert ABC at the start of your search:
/set-search ABC$current-search:


To insert ABC at the end of your search:
/set-search $current-search:ABC


/set-search
/add-search
Search commands
Learning Regex
Posts: 11
Joined: Thu May 05, 2022 11:09 am

Re: before the current text、after the current text

Post by Learning Regex »

Thanks a lot! This app is fantastic—there’s tons of features I still haven’t found! :D :D