Re: Strings are pasted in the wrong position in new text windows
Posted by
Wayne Rasband-2 on
Jan 17, 2018; 4:01am
URL: http://imagej.273.s1.nabble.com/Strings-are-pasted-in-the-wrong-position-in-new-text-windows-tp5019715p5019894.html
> On Nov 17, 2017, at 7:18 AM, Stein Rørvik <
[hidden email]> wrote:
>
> There seems to be a bug in the way the clipboard is handled in the ImageJ built-in text editor.
>
> Try this:
>
> Copy some string to the clipboard from any application, e.g. MyString
>
> Create a new text window (Ctrl-Shift-N) in ImageJ and then type something (e.g. Test)
> and then paste the above string at the current cursor position (which is after your typed string)
> by keyboard Ctrl-V or from the menu.
>
> The result is MyStringTest instead of TestMyString
This Windows-only bug is fixed in the latest daily build (1.51u15).
-wayne
> The pasted position seems to always come at the start of the current line or at the start of the file.
> The result of this varies, depending on the length of the text already present before you try to paste.
>
> This problem only occurs with newly created text windows;
> it does not happen if you paste into a text window that was opened from a file.
>
> I am using daily build ImageJ 1.51s on Windows 7 64-bit.
>
> Stein
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html