Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
380
Copying Text within an UltraFormattedTextEditor
posted

I have noticed a bug when copying data within an UltraFormattedTextEditor.
This provides copy and paste fucntionality automatically using Ctrl-C and Ctrl-V.

An example of the unexpected behaviour:

1. Input the following lines
123
456
789

2. Highlight the first two lines (123 456) and copy

3. Paste these directly above the 789 line so it looks as follows
123
456
123            //this has been pasted
456            //this has been pasted
789

4. Now highlight and copy the last three lines (123 456  789) and paste these.
123
456
123            //this has been copied
456            //this has been copied
789            //this has been copied
                 //this has been pasted
456            //this has been pasted
789            //this has been pasted

You will see that the top line of the highlighted text is not copied.  Instead a blank line is inserted.

 What is happening?!

Thank you to anyone who can help me with this problem,

Katie