chaintng
chaintng

Reputation: 1343

Undo, Redo is jumping around and unpredictable (Test on PHPStorm)

I'm using PHPStrom v 8.0.2 While i was hit command-Z to undo thing. The editor jump around to somewhere but not to the cursor as illustrated image. That makes me very annoyed.

enter image description here

Is this a bug or have i setting something wrong?

HERE IS HOW TO REPRODUCE

  1. Edit any line
  2. Place the cursor far... far away from the edit line
  3. Hit command-Z to UNDO thing <-- The editor will jump to the edited line
  4. Hit command-shift-Z to REDO thing, the editor jump back to the line in (2) <--- NO... IT SHOULD NOT

Seem like Jetbrains does fix this in PHPStorm v9 EAP. But that program will expired after 30 days, Any where to implement this in PHPStorm v8.0.3 please?

One more thing, I can't find any keyboard shortcut key for auto indent for the whole document, please advise.

Best Regards,

Upvotes: 0

Views: 1372

Answers (1)

R. Oosterholt
R. Oosterholt

Reputation: 8080

This seems to be Intellij default behavior; it treats cursor movements as edit actions and as such they are being undone and redone.

See this post

Upvotes: 0

Related Questions