[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSTextField problems
From: |
Serg Stoyan |
Subject: |
Re: NSTextField problems |
Date: |
Tue, 28 Jan 2003 01:15:12 +0200 |
Hello Enrico,
ES>>> Updated from cvs, trying to select a NSTextField, I get this:
ES>>> 2003-01-27 13:38:18.326 GWorkspace[14398] GSTextStorage.m:393
ES>>> Assertion failed in _attributesAtIndexEffectiveRange. Error in
ES>>> binary search algorithm
ES>>
ES>> Fixed in cvs.
ES>
ES> Ok, now cliking in a NSTextField doesn't crash the app anymore, but:
ES>
ES> - after the first mouseDown:
ES>
ES> 1) the text dishappears.
ES>
ES> 2) I get a:
ES> -[NSLayoutManager(layout)
rectArrayForGlyphRange:withinSelectedGlyphRange:inTextContainer:rectCount:
]:invalid text container
ES>
ES> And, if I try to modify the contents of the field I have:
ES>
ES> - if I drag the mouse to select:
ES> the field is not the first responder anymore. (no selection)
ES>
ES> - if I try to write something:
ES>
ES> 1) again:
ES> -[NSLayoutManager(layout)
ES>
rectArrayForGlyphRange:withinSelectedGlyphRange:inTextContainer:rectCount:
]:
ES> invalid text container
ES>
ES> 2) then the app crashes:
I'd like to add more:
1) Exception:
- type into textfield something;
- switch to another textfield (for example);
- return back clicking on it;
- after typing just one character:
Uncaught exception NSRangeException, reason: -[GSLayoutManager(glyphs)
glyphRangeForCharacterRange:actualCharacterRange:] character range out of range
2) no insertion point visible (not implemented?). By the way text is
visible while typing in NSTextView (Affiche, Ink) but no insertion point.
3) problems displaying non-latin text in NSTextView both from keyboard
input and loading from file. It is displayed as =01>@:><?;5:B or something.
--
Serg Stoyan
- NSTextField problems, Enrico Sersale, 2003/01/27
- Re: NSTextField problems, Alexander Malmberg, 2003/01/27
- Re: NSTextField problems, Alexander Malmberg, 2003/01/27
- Re: NSTextField problems, Serg Stoyan, 2003/01/28
- Re: NSTextField problems, Andrew Ruder, 2003/01/28
- Re: NSTextField problems, Enrico Sersale, 2003/01/28
- Re: NSTextField problems, Alexander Malmberg, 2003/01/28
- Re: NSTextField problems, Alexander Malmberg, 2003/01/28
- Re: NSTextField problems, Enrico Sersale, 2003/01/28
- Re: NSTextField problems, Serg Stoyan, 2003/01/28