StyledText.redraw

Causes the entire bounds of the receiver to be marked as needing to be redrawn. The next time a paint request is processed, the control will be completely painted. <p> Recalculates the content width for all lines in the bounds. When a <code>LineStyleListener</code> is used a redraw call is the only notification to the widget that styles have changed and that the content width may have changed. </p>

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

@see Control#update()

  1. void redraw()
    class StyledText
    override
    void
    redraw
    (
    )
  2. void redraw(int x, int y, int width, int height, bool all)

Meta