I’ve been using Dreamweaver CS4 for a while (I’ll get CS5 eventually) and one annoying bug that frequently arises in my setup is when selecting portions of code in Code view when trying to copy and paste. It will select the entire code on the page instead (as if you’ve just press Cntrl+A). This code selecting problem seems to happen with all code types – HTML, CSS & JS as well as server side code such as PHP.
Switching between design and code view will temporarily fix this problem, but to fix this code selection problem permanently, you will need to change your Workspace Layout to ‘Classic’. While it might take a few minutes to reset up all your panels, toolbars and saving the new workspace, it’s well worth the time and I haven’t had a problem since.
I’ve kept up to date with all the released updates but I believe this is the only way to fix the problem… maybe it only happens for certain set-ups like ‘Coder’ or ‘Designer’ workspace but I’m convinced that changing to classic workspace should always fix the problem.