I have made some changes to the FreeDOS EDIT source. EDIT 0.9a contains quite many bugs, which I find astonishing considering it is the default editor since a few decades.
Things I have done so far: - fix IVT memory corruption resulting from a null ptr write when creating a new document - fix "replace all" not replacing all occurrences (but only from the current cursor position) - fix mouse cursor flickering - fix wrong drive being initially selected (always A:) in the file open / save dialog - fix bug which prevents the user from navigating beyond the last character of a line via right arrow key (for example in the search dialog with previously entered text, or when the last line of a document did not end with a newline character) - make search "wrap around" at end of the document if search is not started from the beginning (did previously only search from current cursor position to end of document). - remove the border and title bar around of the "main window", as this only wastes space. The new layout looks like [1]. To investigate: - People report high CPU usage Issues probably never fixed: - EDIT has a huge binary size considering its limited text editing capabilities - it is incapable of editing files >65000 bytes - could be faster on slow machines - it cannot create documents without the last line being terminated by a newline char (not sure that is an issue, but one person complained on the sourceforge bug tracker) - I am sure I will find more... To remove some of these issues, a SIGNIFICANT amount of time has to be invested. So I wonder if it would be better to actively search for a replacement. Other option is to live with its current state... [1]: https://github.com/boeckmann/edit/issues/1#issuecomment-2849246567 Bernd _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel