Re: Editor is really buggy
Re: Editor is really buggy
- Subject: Re: Editor is really buggy
- From: Nate Friedman <email@hidden>
- Date: Sat, 29 May 2004 13:46:43 -0700
twas 5/29/04 11:23 AM, when Jeremy Dronfield at email@hidden
treated us all with:
> On 29 May 2004, at 5:26 pm, David Ewing wrote:
>
>> On May 28, 2004, at 3:41 PM, Fred Leboucher wrote:
>>
>>> Personally I have big problems with /* and */ comments...
>>> Sometimes I open a comment and when I close it, XCode crashes ! It
>>> can happen 5 or 6 times in a row, and then never happen again for a
>>> month...
>>
>> If memory serves, this may be related to using multiple fonts in the
>> editor. It's a known issue, but not something that we've heard
>> reported often. I tend use Courier just so I can still have Bold and
>> Italic variants.
>
> I've seen this bug quite often, and I don't think it's caused by
> multiple fonts (I use the default Monaco). I tend to get it when
> working really fast, zipping through large amounts of code commenting
> things out. I insert a /* then click to set the insertion point for the
> */. It seems to be on the click that the exception occurs, and happens
> if I click before the /* has changed into "comment colour".
>
> I've just managed to reproduce the bug, and here's the log output:
>
> ** INTERNAL ERROR: Uncaught Exception **
> Exception: -[NSLayoutManager
> _fillGlyphHoleAtIndex:desiredNumberOfCharacters:] *** attempted glyph
> generation while textStorage is editing. It is not valid to cause the
> layoutManager to do glyph generation while the textStorage is editing
> (ie the textStorage has been sent a beginEditing message without a
> matching endEditing.)
<snip>
> Hope this clarifies the issue.
> Regards,
> -Jeremy
I've found the best workaround for this bug (that I haven't seen since I
updated to XCode 1.2... A month or two ago - did I wind up getting seeded
without realizing it?) is to select the block of text you want to comment
out and type b/ which throws // at the begging of every line though one of
the XCode scripts. (unless that was introduced with 1.2 as well... I don't
remember anymore)
I'd also like to point out that I'm using the default fonts and formatting
myself as well, and found that bug quit annoying.
PS for the Unicode challenged, the string of nonsensical characters above
(b/) is Command - Forward Slash
b
Nate Friedman
b email@hidden
b email@hidden
--
Side effects of using Microsoft Windows have been headache, nausea, broken
bones, asthma and are similar to the sugar pill. Women who are pregnant or
might be pregnant should not use Microsoft Windows. Please consult with a
medical professional before deciding to use Microsoft Windows. See our ad on
MSNBC.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.