show hilighted part info in main window