Ticket #461 (Fixed)Fri Nov 23 23:22:27 UTC 2018
Edit paste buglet
Reported by: | Fred Graute (114) | Severity: | Minor |
Part: | RISC OS: Application | Release: | |
Milestone: | Status | Fixed |
Details by Fred Graute (114):
Pasting the clipboard contents into an empty Edit (1.73) window doesn’t mark the text as changed.
Changelog:
Modified by Sprow (202) Sat, November 24 2018 - 09:17:35 GMT
It does for me:
- Open StrongEd, type “hello”, select, Ctrl-Shift-C to clipboard.
- Click on Edit iconbar icon, window called <untitled> opens.
- Ctrl-V, window changes to <untitled> *. Attempts to close it give “This file has been modified” dialogue.
Modified by Fred Graute (114) Sat, November 24 2018 - 10:59:35 GMT
That worked for me too, once I killed UniServerFS. StrongED supports RAM transfers whereas UniServerFS does not (as shown by WimpMon).
So, if Edit obtains the clipboard contents via a file transfer then the text is not marked as changed.
If you don’t have UniServerFS then you can test with SciCalc which doesn’t support RAM transfers either.
Modified by Sprow (202) Mon, November 26 2018 - 21:13:31 GMT
Huh, so it does (when pasting via scrap). This may require a journey into the bowels of RISC_OSLib where the indentation is “interesting”, since it should work much the same as RAM transfer – using the xfer functions.
Modified by Sprow (202) Wed, July 03 2019 - 07:25:55 GMT
- Attachment added: editapp.zip
I plucked up the courage to delve inside RISC_OSLib, please try the attached !Edit – solves it for me.
Modified by Chris Mahoney (1684) Sun, July 07 2019 - 00:24:42 GMT
The updated Edit works correctly for me too.
Modified by Sprow (202) Tue, July 09 2019 - 07:35:37 GMT
- Status changed from Open to Fixed
Thanks for checking – change now in RISC_OSLib-6_02 (though note that since the fix was in the library, Edit’s version number will appear unchanged).