function _collapseRightInlines( inlines, targetInline ) {

	if ( !targetInline ) return;

	for ( let i = 0; i < inlines.length; i++ ) {

		const inline = inlines[ i ];

		inline.fontFactor = 0;
		inline.offsetX = targetInline.offsetX + targetInline.cumulativeWidth;
		inline.cumulativeWidth = 0;

	}

}
Visually collapse inlines from right to left ( endtrim )
@param {Array} inlines
@param targetInline
@private