Author Topic: Win7x64 Beta6: Issue with insert-blankline-above  (Read 2145 times)

TKasparek

  • Senior Community Member
  • Posts: 246
  • Hero Points: 29
Win7x64 Beta6: Issue with insert-blankline-above
« on: October 24, 2014, 07:44:19 PM »
I have insert-blankline-above assigned to ctrl-shift-enter as is the default for CUA I believe. In the following example:
Code: [Select]
for( int i; i < 10; i++ ) {
   // Have cursor on this line and execute insert-blankline-above
}
Having the cursor on the line after the for loop will cause insert-blankline-above to change the cursor location to after the conditional of the for loop; ie after the "10;".
Is this the expected behavior? This has been in SE for a long time, I figured I would mention it anyway.

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
Re: Win7x64 Beta6: Issue with insert-blankline-above
« Reply #1 on: October 27, 2014, 06:31:39 PM »
Very tricky case, we are hitting some code that is trying to advance the cursor to the next part of a for loop on Ctrl+Enter.