Clearer logic in selector completion (related to issue 6927)
Issue 6916: Smartly recognize CSS selectors in the search field

https://code.google.com/p/fbug/issues/detail?id=6916