For some reason IDEA really frustrates me with the way it handles replace in selected text. After you select a portion of text that you want to replace and bring up the replace dialog you can not leave that dialog box to then select a region of text so that you can replace in that region.
Instead you seem to have to select the region you want to replace in BEFORE you try to replace anything - but the problem with this is you lose the ability to select the portion of text that you want to replace and have that automatically appear in the replace box.
Maybe I'm missing a way around this? Considering other editors (jEdit, UltraEdit ) don't operate this way, I'm surprised to not see this replace in selected text handled differently.