Strange behaviour of NSTextView

  • Hi
    In my app (math exerices for kids at school)i, I use a subclass of
    NSTextView to handle inputs of the user. It handles the control of
    correct digits and the enter key. Everything works fine, but if the
    user types the enter key very close to the last digit entered in the
    field, this field is drawn about 1 centimeter under the normal
    position. The caret blinks, and the enter key works correct. After
    that, the field is redrawn at the correct position, but the wrong
    drawing still remains at it's position.
    When I write the  the keyDown events in the log, the 'fast' enter key
    is not noticed.

    I know that's not a severe problem, but perhaps someone of you gurus
    can help me. I would like to send screen shots of the parts of the
    window.
    Thanks for every help
    Ruedi Heimlicher
  • On Nov 15, 2006, at 1:55 PM, Ruedi Heimlicher wrote:

    > I know that's not a severe problem, but perhaps someone of you
    > gurus can help me. I would like to send screen shots of the parts
    > of the window.

    Your best bet is to re-create the behavior in a very simple test app.
    If you can get it to happen there, put that project on a web site and
    post the URL to the list.

        - Scott
previous month november 2006 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
Go to today