forked from: TextFlowで選択位置の取得

...
@author umhr