In Visual Studio 2005, I copy a block of code with tabs in it, such
as:
myLabel.Text = "Please wait ...";
progressBar.Val ue = 0;
(In the above, the two = signs are aligned with each other using
tabs.)
When I paste it, the tabs are removed, moving the = signs out of sync.
VS2003 did not have this problem, and the tab settings in Tools >
Options Text Editor don't seem to control it in VS2005. How can I
fix this unwanted reformatting without actually turning off the good
features like IntelliSense auto-indentation of new lines?
Eq. 3 1333
On Sat, 17 Feb 2007 21:21:23 -0000, "Paul E Collins"
<fi************ ******@CL4.orgw rote:
>In Visual Studio 2005, I copy a block of code with tabs in it, such as:
myLabel.Text = "Please wait ..."; progressBar.Va lue = 0;
(In the above, the two = signs are aligned with each other using tabs.)
When I paste it, the tabs are removed, moving the = signs out of sync.
VS2003 did not have this problem, and the tab settings in Tools > Options Text Editor don't seem to control it in VS2005. How can I fix this unwanted reformatting without actually turning off the good features like IntelliSense auto-indentation of new lines?
Eq.
Load the macros up and select the lines you want to align as you described and
run the "LineEmUp" macro.
Good luck with your project,
Otis Mukinfus http://www.otismukinfus.com http://www.arltex.com http://www.tomchilders.com http://www.n5ge.com
I know you mentioned Options Text Editor, but have you tried Options
Text Editor C# Formatting Adjust indentation on paste.
I've just tried it, and it seems to work.
Personally, I rarely see the benefit in taking the time to line up
such things... but up to you ;-p
Marc
"Marc Gravell" <ma**********@g mail.comwrote:
I know you mentioned Options Text Editor, but have
you tried Options Text Editor C# Formatting >
Adjust indentation on paste.
That's it: thanks. I'd expected it to be under "Tabs", if anywhere.
Eq. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Michael Shell |
last post by:
Greetings,
Consider the XHTML document attached at the end of this post.
When viewed under Firefox 1.0.5 on Linux, highlighting
and pasting (into a text editor) the <pre> tag listing will
preserve formatting (white space and line feeds). However, this
is not true when doing the same with the <code> tag listing
(it will all be pasted on one...
|
by: carbon_dragon |
last post by:
The application is a console app, though it does have a temporary
windows form console, which is fairly complicated and which was
developed in VS2003. I installed VS2005 on an XP OS and tried to see
how much work it's going to be to convert over to 2005. I converted the
app, tried to compile and resolved all the warnings. One had to be...
|
by: Al Knowles |
last post by:
I have researched and tried every method I can find for passing a two-page
tif file from a VB6 application to
a web service via XML. These include XMLTextReader.ReadBase64,
Convert.FromBase64, and using
the Binary Writer. When the web service stores the file, the length is the
same as the uploaded length.
Double-clicking on the file...
|
by: Phill |
last post by:
Here's what I'm doing to make the right context mnue show up based on
what node was cliked:
private void tvwMenu_MouseUp(object sender, MouseEventArgs e)
{
//Select Node When Right Clicked & Set Context Menu To Use
if( e.Button == MouseButtons.Right )
{
TreeNode node = tvwMenu.GetNodeAt( new Point( e.X, e.Y ) );
if( node != null )
|
by: Pieter |
last post by:
Hi,
I'm making an Outlook (2003) Add-In (VB.NET 2005), with a simple button and
a textbox (msoControlEdit). When the user types something in the textbox,
and clicks on the button, the text in the textbox should be used.
But on the moment that the textbox loses the focus, it loses the text
also...
Any idea how to get around this problem?
| |
by: V&G |
last post by:
Hello all,
I have following configuration for remoting application:
Server side; was wrote in VS2003
Shared library; was wrote in VS2003. Contains shared objects
Client side; was wrote in VS2005.
I use WEB-application as a client. Each call to remote objects executes
with some object from shared library set to CallContext. When I try to...
|
by: teixeira1985 |
last post by:
Hi ,
Due an unknown cause VS2005 started to show an error when i switch
from code to design in windows forms projects.
I repaired the installation but the same happens.
The error is:
One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project,
while others...
|
by: =?Utf-8?B?QnJpYW4=?= |
last post by:
I have a master page that contains a simple treeview populated using a
SiteMapDataSource so the data is static. Here is my problem. When I expand
the menu to show the 2nd level treeview items and then click on one to move
to the selected page, when the new page is displayed the treeview has
reverted back to it's original non-expanded state.
...
|
by: sklett |
last post by:
I'm curious if anyone has encountered this. I'm developing an outlook
add-in that needs to display a PDF. I've included the Adobe Reader ActiveX
cotnrol and when I re-load the form I get the dreaded "The path is not of a
legal form" error.
I've tried all the usual solutions to this error (cleaning, exiting,
deleting bin/obj folders,...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |