Logic in display the split editor