enc = doc:GetCurrentEncoder()
doc:GetCurrentEncoder()
gets the handle of the current encoder of the document object.
The current encoder is set by invoking doc:SetCurrentEncoder() and it is used to process text when an application calls doc:SetInfoAttr().
The default value of it is Nil
.
It returns a handle of an encoder object or Nil
.