PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Martin Francom on December 11, 2009, 01:01:25 AM

Title: Cut & Paste Problem
Post by: Martin Francom on December 11, 2009, 01:01:25 AM
Anyone else notice a problem with "Cut & Paste".

What I am seeing is:
If I select the text with the keyboard arrows and then use the right mouse button to past the text.  The text ends up somewhat other than where it is supposed to go.

Title: Re: Cut & Paste Problem
Post by: David Kenny on December 11, 2009, 03:20:02 PM
Marty,

I am not seeing that problem.  Does that problem occur after extensive editing, or will it happen right after opening a project?  Also, you didn't mention how you were doing the copy.  Not that it should make a difference, but we are troubleshooting here. :) 

Your post implies that moving the cursor with the keys (as opposed to right-clicking the mouse) works fine. Is that accurate?

Does it make any difference how much you have selected?  One word, one line, three lines, etc.

*** In attempting to reproduce your problem, I did find one myself. Consider the following:      Function = %TRUE
   End If
End Function

If you select all three rows and then Cut. Without moving, Paste. It works as you would expect.
Now, try this: Select from someplace in the middle of the first line (right before the the word 'Function' for instance) to the end of the third line. Now, Cut and then (again, without moving) Paste. You will notice that the third line is not complete. We lose X number of characters on the left side of the last line where X=The column number of the start of the selection.

David
Title: Re: Cut & Paste Problem
Post by: Martin Francom on December 11, 2009, 03:40:58 PM
Yes,  It seems to be a problem when high lighting blocks of text.
Title: Re: Cut & Paste Problem
Post by: Marc van Cauwenberghe on December 12, 2009, 08:51:18 AM
Me too,
I always have to edit the last line I have pasted.

Marc
Title: Re: Cut & Paste Problem
Post by: Paul Squires on December 12, 2009, 10:22:25 AM
Thanks guys, that is certainly a bug. I'll get it fixed today.

Title: Re: Cut & Paste Problem
Post by: Paul Squires on December 12, 2009, 10:59:21 AM
All fixed. Silly logic bug in determining the selected text.

Fix will be in v3.05.
Title: Re: Cut & Paste Problem
Post by: Roger Garstang on December 12, 2009, 06:03:21 PM
Would this have fixed my other CRLF paste problem too ( http://www.planetsquires.com/protect/forum/index.php?topic=2203.0 )?  And, when you say will be in 3.05 is it being updated to download again and see if things improve?  I have an issue with Tab Order for labels and frames in another thread, and reported a possible bug in the Up/Down control thread for their placement at runtime.  If fixed I'd like to get the latest .05 and see how things work...current project I'd like to compile Mon/Tue too for customer to test and it uses Up/Down controls which would be effected by two of the issues in the other threads for Tab Order and Up/Down placement..