DESCRIPTION

Fix IAE in DiffViewer.refreshStyleRanges for binary change

The problem was that the underlying document did not yet contain the
text that the style ranges were referring to.

In DiffEditorPage#formatDiff, the job calls
DiffStyleRangeFormatter#write, which flushes the output stream at the
end. So implement flush in DocumentOutputStream to make sure the
document is complete.

Bug: 406542
Change-Id: I2288c8b12a20557f42a51ea11df6dfc6d3b3d91c


COMMENTS

author: Danika Greer
date: 2013-04-27 12:10:40.000000000

Uploaded patch set 2.

-------------------------------------
author: Brenden Conley
date: 2013-04-27 12:25:17.000000000

Patch Set 2:

Build Started https://hudson.eclipse.org/sandbox/job/egit.gerrit/4458/ 

-------------------------------------
author: Brenden Conley
date: 2013-04-27 12:39:56.000000000

Patch Set 2: Verified

Build Successful 

https://hudson.eclipse.org/sandbox/job/egit.gerrit/4458/ : SUCCESS

-------------------------------------
