@Override
    public void handleForeground(int foregroundId) {
      myBuffer.append("\\cf").append(foregroundId).append('\n');
      myForegroundId = foregroundId;
    }
@Override
    public void handleForeground(int foregroundId)