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
23635fb5
Commit
23635fb5
authored
7 years ago
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug #33711
parent
1fcb92cd
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
word/Editor/Spelling.js
word/Editor/Spelling.js
+8
-0
No files found.
word/Editor/Spelling.js
View file @
23635fb5
...
...
@@ -309,6 +309,14 @@ CParaSpellChecker.prototype =
Add
:
function
(
StartPos
,
EndPos
,
Word
,
Lang
)
{
if
(
Word
.
length
>
0
)
{
if
(
Word
.
charAt
(
Word
.
length
-
1
)
==
'
\'
'
)
Word
=
Word
.
substr
(
0
,
Word
.
length
-
1
);
if
(
Word
.
charAt
(
0
)
==
'
\'
'
)
Word
=
Word
.
substr
(
1
);
}
var
SpellCheckerEl
=
new
CParaSpellCheckerElement
(
StartPos
,
EndPos
,
Word
,
Lang
);
this
.
Paragraph
.
Add_SpellCheckerElement
(
SpellCheckerEl
);
this
.
Elements
.
push
(
SpellCheckerEl
);
...
...
This diff is collapsed.
Click to expand it.
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