Attempt to continue (Qt5 only) in reformatBlock.

Leo build: 20140908184445
Fixed another Qt5 crasher: changed QtWidgets.QTextCharFormat to QtGui.QtextCharFormat.

Leo build: 20140908184639