Activity for XNEdit

  • SweetTyler SweetTyler posted a comment on ticket #48

    The correct order is: LIBS = $(LD_OPT_FLAGS) -lXm -lXrender -lm -lpthread $(shell pkg-config --libs $(PKG_DEPS))

  • SweetTyler SweetTyler posted a comment on ticket #48

    The tile is wrong. I don't know how I made the mistake. for your reference, the following is the Makefile.linux I tried with: CC ?= gcc AR ?= gcc-ar PKG_DEPS = x11 xt xft fontconfig C_OPT_FLAGS ?= -O3 -flto -fno-semantic-interposition C_ARCH_FLAGS ?= -march=native C_VIS_FLAGS ?= -fvisibility=hidden LD_OPT_FLAGS ?= -flto CFLAGS = $(C_OPT_FLAGS) $(C_ARCH_FLAGS) $(C_VIS_FLAGS) \ -std=gnu99 -DREPLACE_SCOPE -DUSE_LPR_PRINT_CMD \ $(shell pkg-config --cflags $(PKG_DEPS)) ARFLAGS = -urs LIBS = $(LD_OPT_FLAGS)...

  • SweetTyler SweetTyler created ticket #48

    encoding at Save As

  • Pyrphoros Pyrphoros committed [225a70] on Code

    make grid header arrows etched out by default

  • Pyrphoros Pyrphoros committed [0bb541] on Code

    add Microline Grid arrowEtchedIn resource

  • Pyrphoros Pyrphoros committed [dcd6d8] on Code

    fix shading of sort direction arrow in Fsb in detail view

  • Pyrphoros Pyrphoros committed [790311] on Code

    fix incorrect type in textfield renderTable XtResource definition

  • Pyrphoros Pyrphoros posted a comment on discussion General Discussion

    Yes this is possible and makes a lot of sense. I will try to implement this.

  • Phil Stracchino Phil Stracchino posted a comment on discussion General Discussion

    That could probably best be achieved by a naïve file-size check before even TRYING to load the file. "Directory listing says this file is 2.8GB in size. It is too large to be loaded into xnedit."

  • Pyrphoros Pyrphoros committed [9b2f2b] on Code

    use filter when opening files with open-selected

  • Pyrphoros Pyrphoros committed [727710] on Code

    use dummy stdin/out/err in background mode

  • SweetTyler SweetTyler posted a comment on discussion General Discussion

    I think it would be better to have a warning (like the encoding warning) if the file is not completely loaded.

  • SweetTyler SweetTyler posted a comment on discussion General Discussion

    Thank both of you for your comments. it's true that I rarely need to deal with a text file with such large size.

  • Phil Stracchino Phil Stracchino modified a comment on discussion General Discussion

    Honestly it doesn't seem like a limitation one would hit very often, but I suppose the ticket indicates the use case does actually exist. My short-term workaround would be to split the log file into managable-size chunks using a cli tool. 'split -l 10000000 $FILE' seems a good first step.

  • Phil Stracchino Phil Stracchino posted a comment on discussion General Discussion

    Honestly it doesn't seem like a limitation one would hit very often, but I suppose the ticket indicates the use case does actually exist. My short-term workaround would be to split the log file into managable-size chunks using a cli tool. 'split -l 10000000 <file>' seems a good first step.</file>

  • Pyrphoros Pyrphoros posted a comment on discussion General Discussion

    Yes, xnedit uses signed 32 bit integers internally and can only open files up to 2gb. This is something I'm more or less working on, but there is no easy fix

  • SweetTyler SweetTyler posted a comment on discussion General Discussion

    Is there a file size limitation for xnedit? I have a log file that is 4,374,493,362 bytes in size (50,062,082 lines). When I try to open it with xnedit, it does not load the entire file. The status bar eventually shows “byte 79,522,952 of 79,526,066”, indicating that only part of the file (only 921,610 lines) was loaded.

  • Pyrphoros Pyrphoros committed [a27489] on Code

    add right margin colors to default color profiles

  • Pyrphoros Pyrphoros committed [fa937a] on Code

    add dialog for changing the right margin

  • Pyrphoros Pyrphoros committed [de9104] on Code

    implement menu items for setting showRightMargin

  • Pyrphoros Pyrphoros committed [7f8f23] on Code

    add UI for setting the right margin colors

  • Pyrphoros Pyrphoros committed [e75d45] on Code

    enable text bg2 drawing beyond right margin

  • Pyrphoros Pyrphoros committed [b6eb1c] on Code

    implement functions for changing right margin in the text widget

  • Pyrphoros Pyrphoros committed [9ae1e9] on Code

    rename preference rborderColor to rightMarginColor

  • Pyrphoros Pyrphoros committed [d064e5] on Code

    implement preferences for right margin

  • Pyrphoros Pyrphoros committed [12e28c] on Code

    draw vertical line in the text widget after 80 characters

  • GitHub committed [3e7445] on Code

    switch from ubuntu-latest to ubuntu-22.04 in github action (#184)

  • Pyrphoros Pyrphoros committed [e11565] on Code

    add link to sourcehut

  • Pyrphoros Pyrphoros committed [0f2e04] on Code

    update libs in macos build-dependencies script

  • Pyrphoros Pyrphoros committed [aad8df] on Code

    fix fix checkAutoShowInsertPos/callCursorMovementCBs order when moving the cursor

  • Phil Stracchino Phil Stracchino posted a comment on discussion General Discussion

    On 12/14/25 14:46, Pyrphoros wrote: No, there is no mailing list. Would a rss/atom feed just for releases help? That would be something I could create. That would be helpful, yes. I just installed an RSS reader extension in my browser. -- Phil Stracchino Fenian House Publishing phils@caerllewys.net phil@co.ordinate.org Landline: +1.603.293.8485 Mobile: +1.603.998.6958

  • Pyrphoros Pyrphoros posted a comment on discussion General Discussion

    No, there is no mailing list. Would a rss/atom feed just for releases help? That would be something I could create.

  • Phil Stracchino Phil Stracchino posted a comment on discussion General Discussion

    On 12/14/25 13:32, SweetTyler wrote: Thank you. Everything is working as expected now. About file encoding https://sourceforge.net/p/xnedit/discussion/ general/thread/ed86aa6386/?limit=25#6e0a Quickie question: I maintain an ebuild for xnedit in my unofficial Gentoo overlay. Is there an -announce list I can join to get timely notification of new upstream releases? I didn't realize until today that I was a minor version behind. (It's up-to-date now.) -- Phil Stracchino Fenian House Publishing phils@caerllewys.net...

  • SweetTyler SweetTyler posted a comment on discussion General Discussion

    Thank you. Everything is working as expected now.

  • Pyrphoros Pyrphoros posted a comment on discussion General Discussion

    It is a bug. The newest commit should fix this issue.

  • Pyrphoros Pyrphoros committed [d73464] on Code

    fix DetectEncoding misses some utf8 encoding errors

  • SweetTyler SweetTyler posted a comment on discussion General Discussion

    I have an attached file that is encoded in ISO-8859-1, as confirmed by the Linux file command. However, when I open it with xnedit, xnedit always reports: “4 non-convertible characters skipped …” If I manually select ISO8859-1 and click the Reload button, the file loads correctly. I also tried changing the following settings in nedit.rc: nedit.editorConfig: False nedit.defaultCharset: ISO8859-1 nedit.fallbackCharset: ISO8859-1 but they did not help—xnedit still reports the same error every time....

  • Pyrphoros Pyrphoros modified ticket #47

    Paste using the middle mouse button

  • SweetTyler SweetTyler posted a comment on ticket #47

    Thank you! Yes! I confirm it works now.

  • Pyrphoros Pyrphoros posted a comment on ticket #47

    It should work now. I think it only affected Gnome Wayland or other Wayland based desktops.

  • Pyrphoros Pyrphoros committed [5f2100] on Code

    fix textfield primary selection insertion on some platforms

  • SweetTyler SweetTyler posted a comment on ticket #47

    The terminal emulator is the default in Fedora 43 Gnome, Ptyxis.

  • SweetTyler SweetTyler posted a comment on ticket #47

    it's Fedora 43 Gnome running on VMware workstaion pro.

  • Pyrphoros Pyrphoros committed [5865cb] on Code

    fix build when using the DISABLE_XNE_TEXTFIELD option

  • Pyrphoros Pyrphoros posted a comment on ticket #47

    Which desktop environment and terminal emulator are you using?

  • SweetTyler SweetTyler created ticket #47

    Paste using the middle mouse button

  • Pyrphoros Pyrphoros committed [6b587b] on Code

    fix C/C++ character constant highlighting pattern

  • Pyrphoros Pyrphoros modified ticket #46

    Fedora 42/43: imDefLkup.c,399: The key event is already unfabricated.

  • SweetTyler SweetTyler posted a comment on ticket #46

    No problem - just report what I saw. Thank you for your reply and please close it.

  • Pyrphoros Pyrphoros posted a comment on ticket #46

    I have seen this before, not only in xnedit, but also in other applications. The message itself is from xlib. I was not able to pin this to a specific line in the xnedit source, it happens somewhere in the event loop (XtAppMainLoop).

  • Pyrphoros Pyrphoros committed [272640] on Code

    fix missing colorDialog initialization

  • SweetTyler SweetTyler created ticket #46

    Fedora 42/43: imDefLkup.c,399: The key event is already unfabricated.

  • Pyrphoros Pyrphoros committed [bd3cda] on Code

    disable buttons when no item in the color profile list is selected

  • Pyrphoros Pyrphoros committed [7a3028] on Code

    add dialog for managing the color profile list

  • GitHub committed [7bfa3c] on Code

    CI build AppImage on push (#179)

  • Pyrphoros Pyrphoros committed [fc8ba4] on Code

    treat windows without _NET_WM_DESKTOP as on the current desktop

  • Pyrphoros Pyrphoros committed [2fa581] on Code

    parent process with bgrun option waits until the first window is mapped

  • Pyrphoros Pyrphoros modified ticket #45

    find /replace caused xnedit crash

  • SweetTyler SweetTyler posted a comment on ticket #45

    Thank you for the fix! Xnedit works as expected now.

  • Pyrphoros Pyrphoros posted a comment on ticket #45

    Thanks, I was able to reproduce the bug. The newest commit should fix this issue.

  • Pyrphoros Pyrphoros committed [44f21f] on Code

    fix potential crash when deleting text in case highlight cursor line is enabled

  • Pyrphoros Pyrphoros committed [f7d468] on Code

    fix statline update when deleting text in splitpane mode

  • SweetTyler SweetTyler posted a comment on ticket #45

    I just found I don't have to modify "nedit.rc" - "highlightCursorLine" setting can be enabled/disabled in "Preferences" menu.

  • SweetTyler SweetTyler modified a comment on ticket #45

    It appears that enabling the nedit.highlightCursorLine: True setting may be responsible for the crash. Below are the steps I followed to reproduce the issue: Downloaded the latest version of xnedit from GitHub and compiled it from source. Renamed the nedit.rc file in the .xnedit directory to back it up. Launched the compiled xnedit executable and saved preferences via Preferences → Save Defaults.... Closed xnedit. Launched xnedit again using the command: xnedit aa where aa is a large text file (mentioned...

  • SweetTyler SweetTyler posted a comment on ticket #45

    It appears that enabling the nedit.highlightCursorLine: True setting may be responsible for a crash. Below are the steps I followed to reproduce the issue: Downloaded the latest version of xnedit from GitHub and compiled it from source. Renamed the nedit.rc file in the .xnedit directory to back it up. Launched the compiled xnedit executable and saved preferences via Preferences → Save Defaults.... Closed xnedit. Launched xnedit again using the command: xnedit aa where aa is a large text file (mentioned...

  • SweetTyler SweetTyler posted a comment on ticket #45

    I used the default "Find/Replace" dialog layout.

  • SweetTyler SweetTyler posted a comment on ticket #45

    Yes, "Segmentation fault" happened after the third "Replace All in:" "Window".

  • Pyrphoros Pyrphoros posted a comment on ticket #45

    Does this happen after the third "Replace All" or did you try a fourth replace?

  • SweetTyler SweetTyler posted a comment on ticket #45

    Let me know if you need me try anything else.

  • SweetTyler SweetTyler posted a comment on ticket #45

    Here is the output: BufReplace(0x7fdc35bf5010, 0, 14088466, 0x3aa0fd30) BufReplace(0x7fdc35bf5010, 0, 12955507, 0x3aa0fd30) BufReplace(0x7fdc35bf5010, 3, 11810191, 0x3aa0fd30) Segmentation fault (core dumped) where I downloaded the latest source code, and replaced textBuf.c with the attached one. I didn't modified any setting in the makefile.

  • Pyrphoros Pyrphoros posted a comment on ticket #45

    Can you replace source/textBuf.c with the attached file? It prints some debug infos on stdout. Also you can remove the -fsanitize=address option.

  • SweetTyler SweetTyler posted a comment on ticket #45

    Please don't hesitate to let me know if you need any further information or tests.

  • Pyrphoros Pyrphoros committed [34a490] on Code

    revert unnecessary change in scanCTagsLine

  • Pyrphoros Pyrphoros committed [495eaf] on Code

    update contributors list

  • Pyrphoros Pyrphoros committed [c874aa] on Code

    fix parse error when reading ctags files that contain lines ending with / or ?

  • Pyrphoros Pyrphoros committed [74aded] on Code

    improve file sorting

  • SweetTyler SweetTyler posted a comment on ticket #45

    xxxxxxx@fedora:~/workspace/temp$ export ASAN_OPTIONS=verbosity=1:malloc_context_size=30 xxxxxxx@fedora:~/workspace/temp$ ~/Downloads/xnedit-master/source/xnedit aa ==5342==AddressSanitizer: failed to intercept 'strcmp' ==5342==AddressSanitizer: failed to intercept 'strcasecmp' ==5342==Registered root region at 0x7fe227600f40 of size 64 ==5342==Registered root region at 0x7fe2272007a0 of size 32 ==5342==Unregistered root region at 0x7fe227600f40 of size 64 ==5342==Unregistered root region at 0x7fe2272007a0...

  • Pyrphoros Pyrphoros posted a comment on ticket #45

    Thanks, can you set the this environment variable and try again? export ASAN_OPTIONS=verbosity=1:malloc_context_size=30

  • SweetTyler SweetTyler posted a comment on ticket #45

    OK. with many errors I have the executable, run it and load that large text file I have: ================================================================= ==4985==ERROR: AddressSanitizer: heap-use-after-free on address 0x7be29849d0da at pc 0x000000503959 bp 0x7ffdc816a490 sp 0x7ffdc816a488 READ of size 1 at 0x7be29849d0da thread T0 #0 0x000000503958 in BufStartOfLine (/home/xxxxxxx/Downloads/xnedit-master/source/xnedit+0x503958) (BuildId: 657c97aa2c67d48f45d92f272fe9fb8e5125a254) #1 0x0000004f637f...

  • SweetTyler SweetTyler posted a comment on ticket #45

    Hi, I added "-fsanitize=address" to CLAGS in makefiles/Makefile.linux: CFLAGS=$(C_OPT_FLAGS) -std=gnu99 -fsanitize=address -I/usr/X11R6/include -I/usr/include/X11 -DUSE_LPR_PRINT_CMD $(shell pkg-config --cflags xft fontconfig) However, I cannot compile the source code successfully- there are many errors like: Indirect leak of 448 byte(s) in 14 object(s) allocated from: ........

  • Pyrphoros Pyrphoros posted a comment on ticket #45

    Can you add -fsanitize=address to the CFLAGS/LDFLAGS and test again?

  • Pyrphoros Pyrphoros committed [30fb80] on Code

    fix incorrect initial window size, when the statsline is enabled by default

  • Pyrphoros Pyrphoros committed [b55fc7] on Code

    always save backlightCharTypes setting

  • SweetTyler SweetTyler posted a comment on ticket #45

    Thanks for the reply. Please let me know if you need any more info.

  • Pyrphoros Pyrphoros posted a comment on ticket #45

    No it didn't get lost, but I'm not sure when I have time for it. Maybe in a few weeks. I looked a bit into this, but I wasn't able to reproduce it yet. The error is probably not in searchBackward (textBuf.c:2830), it looks like the internal text buffer is in a corrupt state at this point.

  • SweetTyler SweetTyler posted a comment on ticket #45

    Just wondering if you’ve had a chance to try reproducing it with the text file I provided, or if there’s anything else I can share to help. Totally understand if you're busy—just wanted to make sure it didn’t get lost in the shuffle.

  • Pyrphoros Pyrphoros committed [de08d5] on Code

    Merge branch 'master' of https://github.com/unixwork/xnedit

  • GitHub committed [c9de54] on Code

    Adds support to both page and zoom using the mouse scroll wheel — resolves #170 (#171)

  • Pyrphoros Pyrphoros committed [92d836] on Code

    update contributors list

  • Pyrphoros Pyrphoros committed [ea4c33] on Code

    add light/dark color profiles

  • SweetTyler SweetTyler posted a comment on ticket #45

    I recompiled the source with "-g" and ran xnedit under "gdb" and I got Program received signal SIGSEGV, Segmentation fault. 0x00000000004929a8 in searchBackward (buf=0x9fbfe0, startPos=11822547, searchChar=10 '\n', foundPos=0x7fffffff889c) at textBuf.c:2830 2830 if (buf->buf[pos + gapLen] == searchChar) {

  • SweetTyler SweetTyler posted a comment on ticket #45

    this file is not what I used yesterday - the size and lines are doubled. BTW when I compiled the source code I use the flag "-DREPLACE_SCOPE".

  • SweetTyler SweetTyler modified a comment on ticket #45

    Please try this. I could repeat it even after a system reboot. if you still cannot reproduce it, just stop.

  • SweetTyler SweetTyler posted a comment on ticket #45

    Please try this. I could repeat it even after a system reboot. if you still cannot reproduce it. Just stop.

  • Pyrphoros Pyrphoros posted a comment on ticket #45

    No problem at all, thank you for reporting it in the first place. Please don’t hesitate to reach out again if you encounter any bugs or unexpected behavior.

  • SweetTyler SweetTyler posted a comment on ticket #45

    I am very sorry that today I couldn't reproduce the crash either, even with original text file I used yesterday. I could reproduce it yesterday. What I did after submitting the report was just a reboot of my system (Fedora 42 on VMWare workstation). So please discard this bug report and sorry again for wasting your time.

  • Pyrphoros Pyrphoros modified a comment on ticket #45

    Never mind, I can actually edit your post and see the correct format. However I still can't reproduce the crash.

  • Pyrphoros Pyrphoros posted a comment on ticket #45

    Never mind, I can actually edit your post and see the correct format. 0 88 -84.986877 -39.104391 86.111804 230.788086 However I still can't reproduce the crash.

  • Pyrphoros Pyrphoros posted a comment on ticket #45

    So far I had no luck reproducing this issue. Maybe you can attach a (partial) txt file with the correct formating.

1 >