Improved auto indention check and added dcg case.
Crop search result title label for searches triggered from the editor.