public void enableBraces() {
   setBracesEnabled(true);
   myOpeningBrace.setEnabled(true);
   myClosingBrace.setEnabled(true);
   // COLORS: Remove hardcoded color
   getEditor().leftHighlightCell(this, new Color(80, 0, 120));
 }
 public void disableBraces() {
   setBracesEnabled(false);
   myOpeningBrace.setEnabled(false);
   myClosingBrace.setEnabled(false);
   getEditor().leftUnhighlightCell(this);
 }
 @Override
 public int getBracesIndent() {
   int naturalIndent = usesBraces() ? myOpeningBrace.getWidth() : 0;
   return Math.max(myArtificialBracesIndent, naturalIndent);
 }
 public BraceCellInfo(EditorCell_Brace cell) {
   super(cell);
   myOpeningBrace = cell.myIsOpening;
   myCollectionCellInfo = cell.getParent().getCellInfo();
 }