Commit 0514228e authored by Ilya Kirillov's avatar Ilya Kirillov

Changes for document class were reworked in to a classes.

parent 8db2fd76
This diff is collapsed.
This diff is collapsed.
...@@ -691,7 +691,7 @@ CDocument.prototype.Set_DefaultLanguage = function(NewLangId) ...@@ -691,7 +691,7 @@ CDocument.prototype.Set_DefaultLanguage = function(NewLangId)
// Устанавливаем словарь по умолчанию // Устанавливаем словарь по умолчанию
var Styles = this.Styles; var Styles = this.Styles;
var OldLangId = Styles.Default.TextPr.Lang.Val; var OldLangId = Styles.Default.TextPr.Lang.Val;
this.History.Add( this, { Type : AscDFH.historyitem_Document_DefaultLanguage, Old : OldLangId, New : NewLangId } ); this.History.Add(new CChangesDocumentDefaultLanguage(this, OldLangId, NewLangId));
Styles.Default.TextPr.Lang.Val = NewLangId; Styles.Default.TextPr.Lang.Val = NewLangId;
// Нужно заново запустить проверку орфографии // Нужно заново запустить проверку орфографии
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment