I have to create two StyledText that scroll in tandem , All I am getting is code for creating same using ScrolledComposites . I have limitation of using StyledText only because, I am using it for other purpose as well.
I want to create same thing link here but using StyledText.
I tried same code replacing ScrolledComposites with StyledText but it din't allowed me to setOrigin(x , y) .
You can use the methods
StyledText#setHorizontalPixel()andStyledText#setTopPixel()(and their respecrivegetmethods) to get and set the positions: