473,396 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Why does Visual Studios randomly change code?!

This is the oddest problem!
When I do a copy (<ctl> C) and paste (<ctl> P) in my C# code I
sometimes find that Visual Studios has deleted the first few letters of
several consecutive lines elsewhere in the code! Code dosent compile
and I have to figure out what Visual Studios deleted.

Further, when I do a paste (<ctl> P) the focus (where the cursors
located) is moved to another location. In other words, when I paste I
expect the focus location to be to the right of the paste, but it ends
up several lines away from there!

Strange, very strange.

Thanks
Steve

Nov 23 '05 #1
1 1190
Is it possible that the copied text has hidden carriage returns and other
control characters? I use PureText to filter out all but the text portions
when pasting.

See: http://stevemiller.net/puretext/

Ken

"Steve Kershaw" <st***********@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
This is the oddest problem!
When I do a copy (<ctl> C) and paste (<ctl> P) in my C# code I
sometimes find that Visual Studios has deleted the first few letters of
several consecutive lines elsewhere in the code! Code dosent compile
and I have to figure out what Visual Studios deleted.

Further, when I do a paste (<ctl> P) the focus (where the cursors
located) is moved to another location. In other words, when I paste I
expect the focus location to be to the right of the paste, but it ends
up several lines away from there!

Strange, very strange.

Thanks
Steve


Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ken Janke | last post by:
I am trying to understand something about using visual studios .net 2003. I am trying to find out about the headers in visual c++ .net 2003. Do they have to be without .h at the end? Or should I...
5
by: John Tenney | last post by:
If I have a windows form (System.Windows.Forms.Form) open and I push the pin on the toolbox to keep the docked window open, Visual Studios 2003 pegs the processor and basically hangs my computer. I...
13
by: Challenger | last post by:
Hi I am creating a program in C++ using visual studios 2003, and for a project I am required to create a application. In this application for testing purposes I am outputing a number to show that a...
0
by: thomasburrows1 | last post by:
Please excuse my simple question. I have the following C#.NET code. using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using...
10
by: yansong1990 | last post by:
well ok, im pretty new to c++, i have -a lot- of exp in programming in VBA (visual basic for app) for excel to make macros so i picked up a new course for computing which handles c++ only, i...
12
by: Udhay | last post by:
I am new to vc++. Whether Visual Studio is a platform independent? Is there any chance of using my application created by vc in MAC or Linux. udhay
2
Ajm113
by: Ajm113 | last post by:
Ok, first off I like to say hi and I am a developer of the Doom3 Scripter project and I wanted to go with C# and Visual Studios for the 2.0 area and I needed some help with both of those things. ...
1
by: =?Utf-8?B?RnJpZWRp?= | last post by:
Hi everybody, I am studying VB 2005 express and think, very interesting projects can be developed with it. Before I step over and buy the VB full version, can anybody tell me the difference of...
7
by: JamesX | last post by:
Hi I am new to programming and I just wrote a small test program to see if Visual Studios 2010 works. It seems that even though I targeted the Program for .Net 3.5, the DLL project is still...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.