Author |
Topic |
|
xMRi
Tomato Guru
Germany
315 Posts |
Posted - Jul 07 2004 : 07:19:20 AM
|
I have a selected text i.E. 10 chars long. On the cliboard ring there is a text with 5 chars. I press Ctrl+Shift+V. The menu apperas and I choose the short text. After the operation the cursor is 10 chars from the start of the selected position. I would expect that it is at the end of the 5chars inserted text.
Martin |
Martin Richter [rMVP] WWJD http://blog.m-ri.de "A well-written program is its own heaven; a poorly written program is its own hell!" The Tao of Programming |
|
support
Whole Tomato Software
5566 Posts |
Posted - Jul 07 2004 : 1:46:22 PM
|
What IDE and build of VA X do you have?
We are unable to reproduce the problem but we suspect this is in part because we do not understand the problem completely.
Can you provide a detailed scenario to reproduce the problem?
You mention both a clipboard ring and menu. Do you mean menu in both cases? In other words, is "Display paste menu..." enabled throughout your example?
Does where you insert effect behavior? |
Whole Tomato Software, Inc. |
|
|
xMRi
Tomato Guru
Germany
315 Posts |
Posted - Jul 08 2004 : 04:22:14 AM
|
Using .NET 2003 VAX Build 1242
Take the following code:
struct STest
{
int m_a;
};
static STest g_test;
void Test()
{
STest *p = &g_test;
p->m_a = 5;
g_test.m_a = 5;
}
Move the cursor to "p->" and copy it to the clipboard with Ctrl+C. Select something else and copy it to the clipboard. Select "g_test." and ause Shift+Ctrl+V and paste the "p->". The cursor is not moved to the correct ending position.
Martin
|
Martin Richter [rMVP] WWJD http://blog.m-ri.de "A well-written program is its own heaven; a poorly written program is its own hell!" The Tao of Programming |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Jul 08 2004 : 3:04:27 PM
|
You example works fine for us. The caret is left betwee p-> and m_a.
Can anyone else reproduce the problem? |
Whole Tomato Software, Inc. |
|
|
jpizzi
Tomato Guru
USA
642 Posts |
Posted - Jul 08 2004 : 7:19:39 PM
|
I remember a problem in the past with proportional fonts. Could that be related? |
Joe Pizzi |
|
|
Stephen
Tomato Guru
United Kingdom
781 Posts |
Posted - Jul 09 2004 : 04:17:06 AM
|
I am seeing this in .NET 2003, VAX 1240, XP Pro. I usually use Verdana font, but I continued to see it after I switched to Terminal.
For the record, my second selection that I copied in the example above was "STest *p = &g_test;" (just the text, not the whole line). |
Stephen Turner ClickTracks http://www.clicktracks.com/ Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
|
|
|
yuri
Ketchup Master
USA
85 Posts |
Posted - Jul 09 2004 : 10:22:33 AM
|
Well I've been seeing this too. I have build 1244 .NET 2k3 xp pro. Using default fonts with .NET. It happened with every build above 1239. I think. Not exactly sure on that.
Mine happens, also, when I highlight and try to type over it. My cursor will suddenly jump up or to another file even. I can't reproduce it but it happens at least 3 times a day. I can't even guess when it happens. It's frustrating. Any thoughts??? |
|
|
Stephen
Tomato Guru
United Kingdom
781 Posts |
Posted - Jul 09 2004 : 12:10:53 PM
|
I'm seeing the jumping thing too, but I'm inclined to think that it's separate, because it's been happening sporadically for several months. (See 1910, for example). |
Stephen Turner ClickTracks http://www.clicktracks.com/ Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
|
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Jul 09 2004 : 1:24:37 PM
|
The original problem occurs when "g_test." is selected from left to right, eg with Shift+Right, and when the pasted text is shorter than the selected text. Leave the blinking caret at the end of "g_test." in the example, then paste "->" with Ctrl+Shift+V.
If the selection is made such that the caret is at the left of the selection, the caret is in the correct place after the paste.
case=167 |
Whole Tomato Software, Inc. |
|
|
|
Topic |
|