Commit 8357b6a4 authored by Ilya Kirillov's avatar Ilya Kirillov

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

parent 610dfec0
......@@ -340,6 +340,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