Strings are pasted in the wrong position in new text windows
Posted by
Stein Rørvik on
Nov 17, 2017; 12:18pm
URL: http://imagej.273.s1.nabble.com/Strings-are-pasted-in-the-wrong-position-in-new-text-windows-tp5019715.html
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