More PtText Bugs


Here is a few more the QA folks missed ;o)

  1. If the horizontal alignment of a text widget is set to Pt_RIGHT it is not
    possible to select characters using the mouse. In fact, it is not possible
    to position the caret with the mouse at all.

  2. I have a widget with and edit mask set to “##” and a verify callback. The
    verify routine accepts the first digit entered but refuses these second
    doit = 0 ). However, rather than the caret remaining in the same position
    it moves one character to the right (a space appears to be inserted, even
    though doit is definitely 0). If the edit mask is removed the widget behaves
    as expected. I can put together a sample if you have problems reproducing