"Reformat Code" makes the editor jump to a random position of the file in IDEA 14.0.2

I have recently started evaluating IntelliJ IDEA. I am using version 14.0.2 on Linux Mint. However, I have the following problem: When I reformat a large code file using Ctrl-Alt-L, the editor jumps to a random position. The cursor, however, stays where it was, so when pressing an arrow key, it jumps back to where I was.The position it jumps to is often near the top of the file, but sometimes some other arbitrary one, but always the same one for the same file.
Did anyone experience a similar problem? Is there a fix for it?

Please sign in to leave a comment.