Update the History view only when necessary
Due to #381, updates to the History view are sometimes lengthy, enough to prevent a comfortable use of the IDE when Link with Editor and Selection is active. I've just had the case with HTML files, where clicking in the editor or moving the caret triggers a new computation of the history of the file.