Author Topic: PadSlash & PadStar (c-slash & c-asterisk) vs incremental-search. Also Paste...  (Read 257 times)

at5dapa1

  • Senior Community Member
  • Posts: 253
  • Hero Points: 22
In my configuration I have:
Code: [Select]
def  'PAD-SLASH'= c_slash;
def  'PAD-STAR'= c_asterisk;
But when I use incremental search ('C-I'= i_search in my config) and try to use the numerical slash or numerical star, instead to type into the seach box, the typing stops and instead go into the current document buffer.
Can this be fixed so that c_slash and c_asterisk detect that an incremental search is in progress and instead direct the characters there?

Similar question for Paste (Ctrl+V): it stops the i-search and instead paste it into the buffer. And this one does this also into the default config...
Thanks!

at5dapa1

  • Senior Community Member
  • Posts: 253
  • Hero Points: 22
About the PASTE: it works fine into the quick-replace (which opens a similar input as the i_search)

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6455
  • Hero Points: 503
You should removed the bindings for PAD-STAR and PAD-SLASH. Then, everything will work the way you want. i-search will allow you to insert them and pressing one of these keys in a source file which map the key to the non-pad key binding.

i-search doesn't have support for paste yet. I'll see if we can add it.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6455
  • Hero Points: 503
Added paste support to i_search. Will be in beta 3