private void paste ( final DiffBlock curB ) { String text = bufferMap . remove ( curB . getId ( ) ) ; // Paste (C S B) DiffPart action = new DiffPart ( DiffAction . PASTE ) ; // S action . setStart ( version . length ( ) ) ; codecData . checkBlocksizeS ( version . length ( ) ) ; // B action . setText ( Integer . toString ( curB . getId ( ) ) ) ; codecData . checkBlocksizeB ( curB . getId ( ) ) ; diff . add ( action ) ; version . append ( text ) ; }
Creates a paste operation .