public void print(String message){
  String[] lines=message.split("\n");
  for (  String line : lines) {
    view.print(line);
  }
  view.scrollBottom();
  PartPresenter activePart=partStack.getActivePart();
  if (activePart == null || !activePart.equals(this)) {
    isUnread=true;
  }
}

public void print ( String message ) { String [ ] lines = message . split ( "\n" ) ; for ( String line : lines ) { view . print ( line ) ; } view . scrollBottom ( ) ; PartPresenter activePart = partStack . getActivePart ( ) ; if ( activePart == null || ! activePart . equals ( this ) ) { isUnread = true ; } }
print message to console .
