Posted by
Stein Rørvik on
Nov 17, 2017; 1:23pm
URL: http://imagej.273.s1.nabble.com/Strings-are-pasted-in-the-wrong-position-in-new-text-windows-tp5019715p5019719.html
Yes it might very well be a Win issue; probably has to do with the window and clipboard handling.
I tested it both with Java 6 and Java 8 and older ImageJ versions and see the same behaviour.
Naturally this does not happen in Fiji since that has a completely different text editor.
Stein
-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of Herbie
Sent: 17. november 2017 13:52
To:
[hidden email]
Subject: Re: Strings are pasted in the wrong position in new text windows
Good day Stein,
I can't confirm this behavior under macOS with Java 6.
Regards
Herbie
::::::::::::::::::::::::::::::::::::::::::
Am 17.11.17 um 13:18 schrieb Stein Rørvik:
> 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
>
> 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>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html