ajaxorg/cloud9 — pull request #1101 by mattpardee (2012-03-16 11:02:45+00:00)
Title: When switching files, updates the selection bytes

@zefhemel @janjongboom

Previously it only waited for a new selection event to set the label, now this also does it when switching files. Moved the functionality to its own method. DRY baby, DRY!