When constructing a calculated attribute in the Text Editor, it would be very useful to be able to debug the formula being entered by having a "preview" of the result of the formula.
This feature is available in QGIS Field Calculator as per the attached image.

