Maybe it is better to change the Ctrl+X in the IDE to Ctrl+Alt+X. Trying to solve a problem when I was aiming for Ctrl+Z in the IDE, two things had happened together. I was in the wrong tab and instead of Ctrl+Z I pressed Ctrl+X. It resulted in a deleted line that bugged me for sometime until I figured out what was wrong.