Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 250306
Collapse All | Expand All

(-)src/org/eclipse/ui/internal/console/IOConsolePartitioner.java (-1 / +3 lines)
Lines 410-416 Link Here
410
					        newPartition.setReadOnly();
410
					        newPartition.setReadOnly();
411
					        newPartition.clearBuffer();
411
					        newPartition.clearBuffer();
412
					        int index = partitions.indexOf(partition);
412
					        int index = partitions.indexOf(partition);
413
						    partitions.add(index, newPartition);
413
					        if (index > -1) {
414
					        	partitions.add(index, newPartition);	
415
					        }
414
					        input.append(contentBefore);
416
					        input.append(contentBefore);
415
					        //delete everything that has been appended to the buffer.
417
					        //delete everything that has been appended to the buffer.
416
					        partition.delete(0, lastLineDelimiter);
418
					        partition.delete(0, lastLineDelimiter);

Return to bug 250306