Incorrect Ctrl-Delete behaviour when "Use CamelHumps" mode is enabled

Hello.
I have the following problem: when using CamelHumps feature, Ctrl-Delete (incorrectly) deletes parentheses and braces .
Consider the following example, I'll use the pipe ( | ) to specify the cursor location:


Now, when I press Ctrl-Delete, I expect the following (as it works when CamelHumps mode is disabled):


Instead, this happens:


Hope this explains it.
I opened a bug ticket at http://jetbrains.net/jira/browse/RSRP-84987

Thanks!

4 comments

This issue is back in ReSharper 7.1.2

On pressing CTRL+Delete at the end of a line instead of just deleting the newline it deletes whatever is at the start of the next line as well.

0

Hello,

I cannot reproduce this issue on my PC. Could you please record a video screencast, which can show us the issue and repro steps for it?

Thank you in advance!

0

Where I work we have almost no Internet access at all and so most low friction screencast and file sharing tools are blocked. I have knocked up a quick video though and been able to host it on SkyDrive, here is the link. Sorry if this isn't a very good screencast, it's my first.

https://skydrive.live.com/redir?resid=1EBA23D24291C0EE!8251&authkey=!ADC5zQrvWrFYfLQ

In this video I'm pressing Enter to break the line "if (a && b)" and then positioning the cursor at the end of the first line and pressing CTRL+Delete to recombine the lines.

As you can see, with ReSharper enabled and Use CamelHumps enabled, it eats the first token from the second line, whereas the correct operation is to just delete the newline first.

0

Hi,

Thanks a lot for the screencast! I've reopened the original issue here: http://youtrack.jetbrains.com/issue/RSRP-84987

Thanks for the report!

0

Please sign in to leave a comment.