public void colorSegment() { int Index = editorGrid.CurrentRow.Index; Segment segment = mainForm.project.getCurrentFile().getSegmentByIndex(Index); mainForm.colorRTBRawForm(segment); }