discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] CodeEditor, Bug or ... ?


From: Yen-Ju Chen
Subject: Re: [Q] CodeEditor, Bug or ... ?
Date: Tue, 30 Sep 2003 16:31:28 -0400

Hi,

 If you apply the first patch and it shows the message below,
 it means your are using the wrong CodeEditorView.bundle
 There are probably older CodeEditorView.bundle in your system.
 The first patch use the default GNUstep text system,
 which won't generate any message.
 The message below is from the text system of CodeEditor.
 I guess the CodeEditor.app pick up the wrong bundle,
 which causes unpredictable problems.
 You probably need to use "find" to search the "CodeEditorView.bundle"
 to see whether you have a old one.

 PS. The first two messages is normal.
Starting from "layoutGlyphsInLayoutManager ..." should not exist when first patch is applied.

 Yen-Ju

From: NeXT <chunsj@embian.com>
To: Yen-Ju Chen <yjchenx@hotmail.com>
CC: discuss-gnustep@gnu.org
Subject: Re: [Q] CodeEditor, Bug or ... ?
Date: Tue, 30 Sep 2003 23:48:16 +0900

Second patch does not work. It continously takes memory and I should kill when I open new window. First patch and lasted CVS does not emit font... error. But when I type a character and delete it with backspace it
just died with segmantation fault. On first patch case,
2003-09-30 23:30:22.286 CodeEditor[22322] Exception from text view replace characters !!
error message is displayed. Lasted CVS case,

2003-09-30 23:46:43.830 CodeEditor[31420] Loading application scripting support 2003-09-30 23:46:44.104 CodeEditor[31420] Invalidparam: Ordering invalid window
0
2003-09-30 23:46:47.274 CodeEditor[31420] layoutGlyphsInLayoutManager start...
2003-09-30 23:46:47.301 CodeEditor[31420] setNormalFont FreeMonoBold
2003-09-30 23:46:47.321 CodeEditor[31420] setFont FreeMonoBold, forType Normal
2003-09-30 23:46:47.347 CodeEditor[31420] setNormalFont FreeMonoBold
2003-09-30 23:46:47.365 CodeEditor[31420] setFont FreeMonoBold, forType Normal
2003-09-30 23:46:47.387 CodeEditor[31420] setNormalFont FreeMonoBold
2003-09-30 23:46:47.405 CodeEditor[31420] setFont FreeMonoBold, forType Normal
2003-09-30 23:46:47.426 CodeEditor[31420] setNormalFont FreeMonoBold
2003-09-30 23:46:47.445 CodeEditor[31420] setFont FreeMonoBold, forType Normal
2003-09-30 23:46:47.463 CodeEditor[31420] 0, 0
2003-09-30 23:46:47.480 CodeEditor[31420] Use layout manager cache
2003-09-30 23:46:47.498 CodeEditor[31420] layoutGlyphsInLayoutManager... Done! 2003-09-30 23:46:47.690 CodeEditor[31420] layoutGlyphsInLayoutManager start...
2003-09-30 23:46:47.710 CodeEditor[31420] setNormalFont FreeMonoBold
2003-09-30 23:46:47.731 CodeEditor[31420] setFont FreeMonoBold, forType Normal
2003-09-30 23:46:47.759 CodeEditor[31420] 0, 0
2003-09-30 23:46:47.776 CodeEditor[31420] Use layout manager cache
2003-09-30 23:46:47.793 CodeEditor[31420] layoutGlyphsInLayoutManager... Done! 2003-09-30 23:46:49.157 CodeEditor[31420] layoutGlyphsInLayoutManager start...
2003-09-30 23:46:49.167 CodeEditor[31420] setNormalFont FreeMonoBold
2003-09-30 23:46:49.177 CodeEditor[31420] setFont FreeMonoBold, forType Normal
2003-09-30 23:46:49.188 CodeEditor[31420] 1, 1
2003-09-30 23:46:49.197 CodeEditor[31420] Use layout manager cache
2003-09-30 23:46:49.214 CodeEditor[31420] layoutGlyphsInLayoutManager... Done! 2003-09-30 23:46:49.596 CodeEditor[31420] layoutGlyphsInLayoutManager start...
2003-09-30 23:46:49.610 CodeEditor[31420] setNormalFont FreeMonoBold
2003-09-30 23:46:49.620 CodeEditor[31420] setFont FreeMonoBold, forType Normal
2003-09-30 23:46:49.631 CodeEditor[31420] 0, 0
2003-09-30 23:46:49.641 CodeEditor[31420] layoutGlyphsInLayoutManager... Done!
Segmentation fault
.

To produce this, I did
1. open CodeEditor
2. New Window(in menu)
3. click window and type 'h'
4. delete it with backspace.

Thanks in advance.


On 2003-09-30 01:17:58 +0900 Yen-Ju Chen <yjchenx@hotmail.com> wrote:

Hi,

Even after you applied the first patch, it still shows the error about defaultLineHeightForFont ?
You need to reinstall the bundle to make it work.
If it still doesn't work, it's pretty weird.
defaultLineHeightForFont is used in CETypeSetter,
and the first patch comments out the usage of CETypeSetter.
If it still shows message about defaultLineHeightForFont,
you probably have a unclean CodeEditor.



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://mail.gnu.org/mailman/listinfo/discuss-gnustep

_________________________________________________________________
Help protect your PC. Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963





reply via email to

[Prev in Thread] Current Thread [Next in Thread]