Compiling recent versions of NEdit
#13
RE: Compiling recent versions of NEdit
I tried the nedit-5.5 tardist I mentioned earlier and it showed the same problem I had with the source I compiled. I checked the patch that was included and did not see anything that should have worked to avoid it, so that was not very surprising.
If someone else can check the tardist to see if they have the same problem that would be nice.

I did have a look at the code to see if I can fix the problem and I think this can be fixed.
I found the following example code to get the right color for an SGI_DYNAMIC scheme color: https://techpubs.jurassic.nl/manuals/065...852-PARENT
I am not sure what to fill in for the XtResource field "resource_class", but always filling in XmBackground doesn't seem to hurt.
If I then adjust the AllocColor function in highlight.c to convert each color using that example code, it seems to work. I need to do some more testing (and fix the color preferences menu), but then I think I can make a patch.
markh
Developer

Trade Count: (0)
Posts: 25
Threads: 4
Joined: Jan 2021
Location: The Netherlands
Find Reply
04-08-2023, 11:26 PM


Messages In This Thread
Compiling recent versions of NEdit - by markh - 04-02-2023, 05:47 PM
RE: Compiling recent versions of NEdit - by Raion - 04-02-2023, 06:38 PM
RE: Compiling recent versions of NEdit - by hamei - 04-03-2023, 04:33 AM
RE: Compiling recent versions of NEdit - by markh - 04-03-2023, 09:24 PM
RE: Compiling recent versions of NEdit - by vishnu - 04-04-2023, 12:38 AM
RE: Compiling recent versions of NEdit - by hamei - 04-04-2023, 02:54 AM
RE: Compiling recent versions of NEdit - by vishnu - 04-04-2023, 09:15 PM
RE: Compiling recent versions of NEdit - by hamei - 04-05-2023, 08:10 AM
RE: Compiling recent versions of NEdit - by vishnu - 04-05-2023, 08:40 PM
RE: Compiling recent versions of NEdit - by Raion - 04-04-2023, 01:44 AM
RE: Compiling recent versions of NEdit - by Raion - 04-06-2023, 12:27 AM
RE: Compiling recent versions of NEdit - by hamei - 04-06-2023, 02:55 AM
RE: Compiling recent versions of NEdit - by markh - 04-08-2023, 11:26 PM
RE: Compiling recent versions of NEdit - by markh - 05-21-2023, 03:38 PM
RE: Compiling recent versions of NEdit - by Raion - 05-23-2023, 10:31 PM
RE: Compiling recent versions of NEdit - by markh - 08-06-2023, 02:53 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)