title: Lotus Notes Eclipse Java UI API - multiple lines
body: <p>I'm working on a sidebar plugin that needs to update the body field of a calendar entry when it's opened. I got the update to work using the <code>NotesUIDocument</code> API, but I can't seem to write a multi-lined (carriage return/line feed/newline) message in the body.</p>
  
  <p>I've tried all the usual culprits.. \n, \r\n, char(10), char(13), .appendText....  I was able to update the backend doc, and close/reopen but that's cheesey.</p>
  
  <p>I know the issue is with the .setText function..but what other way is there?</p>
  
  <p>For example, the following line works fine..</p>
  
  <pre><code>NotesUIDocument.getField("Body").setText("hi");
  </code></pre>
  
  <p>But I can't find a way to add a new line for the next bit of text.</p>
  
  <p>Any ideas out there?</p>