Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / August 2006

Tip: Looking for answers? Try searching our database.

Text-Editor: pasting in multi-line-selection (paste same expression in all marked lines)?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roland Müller - 09 Aug 2006 13:44 GMT
Hello Ng,

lets say i have 3 lines:

private System.Windows.Forms.TabControl m_TabControl;
private System.Windows.Forms.TabPage m_TabPage0;
private System.Windows.Forms.TabPage m_TabPage1;
private System.Windows.Forms.TabPage m_TabPage2;

In the vs text-editor i can select with mouse and keeping ALT pressed a
underlying block, lets take "System.Windows.Forms" in this example.
But how can i paste some expression ("test.controls.forms") to all this
(marked) lines? I want to replace "System.Windows.Forms" with
"test.controls.forms" in all 4 lines.
I cannot with ALT+V, this opens the view of the main menu.

Is there any possibilty?

Thanks in advace.
Roland
Kevin - 10 Aug 2006 19:15 GMT
> Hello Ng,
>
[quoted text clipped - 11 lines]
> "test.controls.forms" in all 4 lines.
> I cannot with ALT+V, this opens the view of the main menu.

I don't know anything about System.Windows.Forms. etc., but don't you want
CTRL+V as the shortcut to Paste?

Also, if you have only 1 "test.controls.forms" copied into the clipboard,
then only 1 line will be pasted, even though 4 lines of "System.Windows..."
was highlighted.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.