Fixed unneeded changes to the constants to avoid confusion.
SWC-453 Last adjustments to the reference widget

*Fixed the bug that made characters (following widget syntax) at the end of lines disappear.
Merge branch 'issue453_ref_widget' into develop