.any thoughts on the following?
When copying a rectangular selection of text, then pasting it
to a rectangular selection in another part of a file - both rectangular
selections are equal in size - the rectangular paste doesn't seem to
respect the selection boundaries.
E.g.
- Press the "Alt" key, then select several rows of text within the same column.
- Use Ctrl-C to copy the rectangular selection.
- In this example say rows 1 thru 4, column 4. This would be all the upper case "D"s
of the following text snippet.
a b c D
a b c D
a b c D
a b c D
- Now press the "Alt" key, then select rows 1 thru 4, column 2. This would be all
the lower case case "b"s
- Now use Ctrl-V to paste the previously copied column of "D"s.
- On several wxPython designed editors (DrPython, PyPE, SPE, and my own creation)
the output is incorrect and looks as follows :
a D
D
D
D
c D
a c D
a c D
a c D
I also tried this on the SciTE editor and it worked as expected, i.e., all the lower case
"b"s were replaced with the upper case "D"s.
Also, I tried a few hacks, such as intercepting the paste event and using
ReplaceSelection() [along with a few others ], but nothing seemed to work.
Any help, insight, suggestions, hacks, code, etc... would be greatly appreciated.
Thanks,
Joe
Joseph D. Poirier
DSP Software
IMN, Nokia Inc.
6000 Connection Drive
Irving, TX 75039