First time here? Check out the FAQ!
1

vim-mode 'V/foo[enter]' removes selection
 

Say I want to highlight all lines between my cursor and the string 'foo'. I am accustomed to being able to do one of:

V/foo[enter]

V?foo[enter]

Depending on whether 'foo' is before or after my cursor. The search works, and the selection works, but when I hit [enter] to stop typing my search string and start manipulating the selection, the selection goes away and I'm left back where I started.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
MatrixManAtYrService's avatar
33
MatrixManAtYrService
asked 4 years ago
Wingware Support's avatar
4.3k
Wingware Support
updated 4 years ago

Comments

see more comments

1 Answer

0

I think this is a bug. We'll try to fix it soon in an update.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Wingware Support's avatar
4.3k
Wingware Support
answered 4 years ago
link

Comments

That would be very cool. Thank you.

MatrixManAtYrService's avatar MatrixManAtYrService (4 years ago)

This should be fixed in update 7.2.5.2 when that is available. There are some limitations in our emulation since our underlying editor cannot put the caret in the middle of a selection, but it should select the same things and apply edits in the same way. Please let us know if you see other problems after 7.2.5.2.

Wingware Support's avatar Wingware Support (4 years ago)
see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)