StyledText widget implementation without SWTBot dependencies