/// <summary>
        /// Refresh settings.
        /// </summary>
        public void Refresh()
        {
            AddedLineMarginBrush    = _formatMap.GetForeground <AddedLineMarginFormatDefinition>();
            ModifiedLineMarginBrush = _formatMap.GetForeground <ModifiedLineMarginFormatDefinition>();
            RemovedLineMarginBrush  = _formatMap.GetForeground <RemovedLineMarginFormatDefinition>();

            var generalSettings = TfsPendingChangesMarginPackage.GetGeneralSettings();

            IgnoreLeadingAndTrailingWhiteSpace = (bool)generalSettings.Item("IgnoreLeadingAndTrailingWhiteSpace").Value;
        }