src/document/DocumentCommandHandlers.js
function handleDirtyChange(event, changedDoc) {
        var currentDoc = DocumentManager.getCurrentDocument();

        if (currentDoc && changedDoc.file.fullPath === currentDoc.file.fullPath) {
            _updateTitle();
        }
    }
function handleDirtyChange(event, changedDoc) {
        var currentDoc = DocumentManager.getCurrentDocument();

        if (currentDoc && changedDoc.file.fullPath === currentDoc.file.fullPath) {
            _updateTitle();
        }
    }
function handleDirtyChange ( event , changedDoc ) { var currentDoc = DocumentManager . getCurrentDocument ( ) ; if ( currentDoc && changedDoc . file . fullPath === currentDoc . file . fullPath ) { _updateTitle ( ) ; } }
Handles dirtyFlagChange event and updates the title bar if necessary
Handles dirtyFlagChange event and updates the title bar if necessary