Code cleanup:  Various changes to TextPane:
* Use the new Utils.checkNull method in a lot of places.
* Add a "checkDocumentExists()" method and use that for a common check.
* Add some explanatory text to several IllegalArgumentExceptions.
* Deal with all the various types of line endings when reading text
  from a stream or file, and construct a canonical form of paragraph.


git-svn-id: https://svn.apache.org/repos/asf/pivot/trunk@1747382 13f79535-47bb-0310-9956-ffa450edef68
1 file changed