Bug 397991 - Rap/SWT: Issues with custom text smartfield

https://bugs.eclipse.org/bugs/show_bug.cgi?id=397991