Code sample line length trimming