jed-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Split windows problem with xjed (-84)?


On 07/04/2005 at 08:35 Marko Mahnic wrote:

>Romano Giannetti wrote:
>> Hi all,
>> 
>>    I am seeing a strange effect when working in split windows in xjed 
>>    (99.17-84). It's faster if I show you an image: 
>> 
>>    http://www.dea.icai.upco.es/romano/linux/jedbr/divline.png
>> 
>>    the modeline of the top windows does not arrive to the right edge.   
>> 
>The same thing happens in WJed 99-17. Also the right and the bottom
>edge of the window are blue (color of the status line) instead of
>white (background color). Sometimes WJed leaves blue squares also
>in the middle of the text area, mostly when switching from/to WJed.
>The squares only disappear when you scroll the text and something
>other than a space is written to the affected square.
>
>How has the screen refresh mechanism (in slsmg) changed lately?
>
>Marko
>

The problem in with the blue bits in WJed has been there for some time and
I don't think it is related to the modeline problem. I did post a fix for
it but for some reason it didn't get incorporated into the source.

The fix is at line 84 in wterm.c, where there are two alternative
definitions for CURRENT_BG_COLOR, one of which is commented out:

/* #define CURRENT_BG_COLOR JColors[JNORMAL_COLOR].hbrBG */
#define CURRENT_BG_COLOR This_Window.current_color->hbrBG

If you swap them round so that the second one is commented and the first
one uncommented then the blue updates should go away (at least it does for
me, building with either Borland C v5 or OpenWatcom C).

Regards

John


-----------------------------------------
John Skilleter - john@xxxxxxxxxxxxxxxx & elsewhere
'DOS is best spelt backwards!'
    http://www.skilleter.org.uk
    http://www.roada.org.uk
-----------------------------------------



--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]