This method is called when a new offset is required based on the current
offset and a movement type.
<p>
The following event fields are used:<ul>
<li>event.lineOffset line start offset (input)</li>
<li>event.lineText line text (input)</li>
<li>event.movement the movement type (input)</li>
<li>event.offset the current offset (input)</li>
<li>event.newOffset the new offset (input, output)</li>
</ul>
This method is called when a new offset is required based on the current offset and a movement type.
<p> The following event fields are used:<ul> <li>event.lineOffset line start offset (input)</li> <li>event.lineText line text (input)</li> <li>event.movement the movement type (input)</li> <li>event.offset the current offset (input)</li> <li>event.newOffset the new offset (input, output)</li> </ul>
@param event the event
@see MovementEvent @see StyledText#addWordMovementListener(MovementListener)