Bugfix: GenericCommandHandler.DuplicateText - crash when duplicating line