Commit 72e5c5e7 authored by Ilya Kirillov's avatar Ilya Kirillov Committed by Alexander.Trofimov

В класс ParaText добвлена функция Is_NoBreakHyphen для проверки неразрывного тире.

parent 3e7679e9
......@@ -316,6 +316,14 @@ ParaText.prototype =
this.Flags &= PARATEXT_FLAGS_NON_SPACEAFTER;
},
Is_NoBreakHyphen : function()
{
if (false === this.Is_SpaceAfter() && (this.Value === 0x002D || this.Value === 0x2013))
return true;
return false;
},
Write_ToBinary : function(Writer)
{
// Long : Type
......
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