Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
0514228e
Commit
0514228e
authored
Oct 27, 2016
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes for document class were reworked in to a classes.
parent
8db2fd76
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
424 additions
and
387 deletions
+424
-387
word/Editor/Document.js
word/Editor/Document.js
+4
-386
word/Editor/DocumentChanges.js
word/Editor/DocumentChanges.js
+419
-0
word/Editor/Spelling.js
word/Editor/Spelling.js
+1
-1
No files found.
word/Editor/Document.js
View file @
0514228e
This diff is collapsed.
Click to expand it.
word/Editor/DocumentChanges.js
0 → 100644
View file @
0514228e
This diff is collapsed.
Click to expand it.
word/Editor/Spelling.js
View file @
0514228e
...
@@ -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
;
// Нужно заново запустить проверку орфографии
// Нужно заново запустить проверку орфографии
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment