Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] StyledText & StyledText2

Just wanted to know what the difference between the two are, why there are these two seemingly similar components, and which one is the preferred one to use.
 
I'm asking because I previously used StyledText2 over StyledText because it supported a way to set the Margins. However when I downloaded and installed the newest SWT API, the method had been removed. Without any sortof deprecation warning at all. It wasn't such a big deal though, since StyledText had acquired new ways to indent Text with the new API and now I use StyledText instead of StyledText2. I suspect that the use of StyledText2 is probably not such a good idea.
 
Regards,
Louis.

Back to the top