I forgot to mention that the following settings in nedit.rc are needed to reproduce the issue: nedit.warnFileMods: True nedit.warnRealFileMods: True I also found that if I set the second "resp" (lines 2561–2574 in file.c) to "1" directly, without calling DialogF(), the issue disappears in this test case. XUngrabPointer(XtDisplay(window->shell), timestamp); if (window->fileChanged) resp = DialogF(DF_WARN, window->shell, 2, "File modified externally", "%s has been modified by another program. Reload?\n\n"...
Thank you for the quick fix.
The error has nothing to do with my Makefile. As soon as I add "-DREPLACE_SCOPE" to the original Makefile, the error appears.
Here is my Makefile.linux: # $Id: Makefile.linux,v 1.14 2006/10/26 02:20:16 tringali Exp $ CC = gcc AR = gcc-ar # For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS # If using a Motif 2.1 compatible library (LessTif, OM) add # a '-lXp' in front of the -lXext in LIBS. You also drop the # -lXpm from that list. # Ensure that the Motif/LessTif headers and libs are found! # e.g. you may have to add something like # -I/usr/lesstif/include to CFLAGS and # -L/usr/lesstif/lib to LIBS # # To evaluate an...
Compilation error
My system is Fedora 43. Xnedit source code is the latest version downloaded from GitHub.
Here is the snapshot.
unexpected highlighting/selection