Segmentation code modification and display