On rubymine cmd-Y (mac) deletes the current line.
But if that line happens to be highlighted, it deletes that line and the subsequent line. This is a major gotcha and has bitten me on a number of occasions. (cmd-Y will also delete the entire currently highlighted block, whatever that happens to be).
Is there a way to delete the current line that will function irrespective of whatever highlight may be currently activated?