I've got this snippet of code:
int result = 0;
int keys = event.getKeys();
if (keys & MouseEvent.ALT_KEY != 0)
result = result + KeyEvent.ALT_MASK;
Now I get an error on the if statement as the "keys &
MouseEvent.ALT_KEY" clause needs brackets around it. If I select that
section, and execute 'Code|Surround With...' I don't get the (expr) item
I want, that's usually the first place in the list. All I get is the
list of Live Templates defined.
I suppose it could be because that line of code is marked with an error,
but this is the very operation I need to fix it!
Is anyone else noticing this? Seems like it must be a recent change...