private void setBraces() {
    myOpeningBrace = new EditorCell_Brace(getContext(), getSNode(), true);
    myClosingBrace = new EditorCell_Brace(getContext(), getSNode(), false);

    if (myLastCellSelectionListener == null) {
      myLastCellSelectionListener = new MyLastCellSelectionListener();
    }
    addEditorCellAt(0, myOpeningBrace, true);
    addEditorCellAt(getChildCount(), myClosingBrace, true);
  }
 private void addCell(EditorCell cellToAdd) {
   addEditorCellAt(getChildCount(), cellToAdd, false);
 }