Skip to content

Commit 213a062

Browse files
committed
Update Program.cs
1 parent d1c1593 commit 213a062

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/DiffEngineWord/Program.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
// Mark as saved so Word won't prompt to save on close
6060
comparedDoc.Saved = true;
6161

62+
// Disable spelling and grammar checks
63+
comparedDoc.ShowSpellingErrors = false;
64+
comparedDoc.ShowGrammaticalErrors = false;
65+
6266
word.Visible = true;
6367

6468
return 0;

0 commit comments

Comments
 (0)