Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I don't know about you guys but this is starting to get annoying. There's a problem when you try to keep the indentation using Shift+Enter in a code block.

Having the caret at the end of the line works good.

enter image description here

Having the caret in the middle of the line, not so good.

enter image description here

share|improve this question
up vote 3 down vote accepted

Besides fixing the bug that's visible in your first image (the additional empty line before the "enter code here"; this really only happend in very rare cases), I (believe to) have improved the Shift-Enter behavior.

From now on, when hitting these keys while the cursor is in the middle of the line, this will split the line at that point, turning the remainder of the line into a new list item / code line. This seems to be the intutively expected behavior.

This goes out with the next build (but you can already test it in the PageDown demo editor).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .