PradeepC I think that this doesn't happen in cPanel as well. You have to click on the edit button to edit a file.
Rich It would be nice it this also worked of other files like logs. I can open config files with a double click but some log files have not. Agreed it's way more natural to double click or use the context menu when desired.