Hi I would like to know if it's possible to copy just the collapsed
view vissible from the IDE to the clipboard.
If i have collapsed code, and then highlight it and copy it - and then
paste this into notepad for example, the full expanded code listing is
pasted.
How do i copy just the collapsed portion as it looks in the IDE before
I copy it?
Thankyou,
Gary- 6 1551
On 19 Dec 2006 03:45:17 -0800, ga********@mywa y.com wrote:
>Hi I would like to know if it's possible to copy just the collapsed view vissible from the IDE to the clipboard.
If i have collapsed code, and then highlight it and copy it - and then paste this into notepad for example, the full expanded code listing is pasted.
How do i copy just the collapsed portion as it looks in the IDE before I copy it?
Thankyou,
Gary-
I suspect the only way would be to take the first and last lines of
the text in the clipboard and merge them together somehow to create
what you want.
rossum
Wow I think this is really bad on MS's part.
I would think this would be a very basic requirement, but thanks for
letting me know I wasn't overlooking something simple.
rossum wrote:
On 19 Dec 2006 03:45:17 -0800, ga********@mywa y.com wrote:
Hi I would like to know if it's possible to copy just the collapsed
view vissible from the IDE to the clipboard.
If i have collapsed code, and then highlight it and copy it - and then
paste this into notepad for example, the full expanded code listing is
pasted.
How do i copy just the collapsed portion as it looks in the IDE before
I copy it?
Thankyou,
Gary-
I suspect the only way would be to take the first and last lines of
the text in the clipboard and merge them together somehow to create
what you want.
rossum
Hi,
<ga********@myw ay.comwrote in message
news:11******** **************@ a3g2000cwd.goog legroups.com...
Hi I would like to know if it's possible to copy just the collapsed
view vissible from the IDE to the clipboard.
If i have collapsed code, and then highlight it and copy it - and then
paste this into notepad for example, the full expanded code listing is
pasted.
Of course, what do you expect to happens?
It's just like if you collapse a method and then copy & paste in the notepad
and you wanted to see it "collapse" , it will not going to happen.
It's only just because the IDE interprete what is written that it is capable
of doing such a magic.
Of course notepad has no idea about that.
--
Ignacio Machin
machin AT laceupsolutions com
It's not a limitation of Notepad but of VS.NET. It's certainly
possible for VS.NET to have an option to copy text as shown instead of
as expanded. I'm sure it's even possible to write a macro or add-in
to achive this.
Other apps provide this type of functionality--in Excel you can hide a
row and then choose to either copy the whole range or copy the visible
rows. Same idea.
Sam
------------------------------------------------------------
We're hiring! B-Line Medical is seeking Mid/Sr. .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.
On Tue, 19 Dec 2006 10:31:25 -0500, "Ignacio Machin \( .NET/ C# MVP
\)" <machin TA laceupsolutions .comwrote:
>Hi,
<ga********@my way.comwrote in message news:11******* *************** @a3g2000cwd.goo glegroups.com.. .
>Hi I would like to know if it's possible to copy just the collapsed view vissible from the IDE to the clipboard.
If i have collapsed code, and then highlight it and copy it - and then paste this into notepad for example, the full expanded code listing is pasted.
Of course, what do you expect to happens? It's just like if you collapse a method and then copy & paste in the notepad and you wanted to see it "collapse" , it will not going to happen.
It's only just because the IDE interprete what is written that it is capable of doing such a magic. Of course notepad has no idea about that.
Sam,
That's exactly the point of view I was looking at this at, which is why
I thought it was a pretty basic feature omitted from the IDE.
Thanks for making me still feel sane!
Gary-
Samuel R. Neff wrote:
It's not a limitation of Notepad but of VS.NET. It's certainly
possible for VS.NET to have an option to copy text as shown instead of
as expanded. I'm sure it's even possible to write a macro or add-in
to achive this.
Other apps provide this type of functionality--in Excel you can hide a
row and then choose to either copy the whole range or copy the visible
rows. Same idea.
Sam
------------------------------------------------------------
We're hiring! B-Line Medical is seeking Mid/Sr. .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.
On Tue, 19 Dec 2006 10:31:25 -0500, "Ignacio Machin \( .NET/ C# MVP
\)" <machin TA laceupsolutions .comwrote:
Hi,
<ga********@myw ay.comwrote in message
news:11******** **************@ a3g2000cwd.goog legroups.com...
Hi I would like to know if it's possible to copy just the collapsed
view vissible from the IDE to the clipboard.
If i have collapsed code, and then highlight it and copy it - and then
paste this into notepad for example, the full expanded code listing is
pasted.
Of course, what do you expect to happens?
It's just like if you collapse a method and then copy & paste in the notepad
and you wanted to see it "collapse" , it will not going to happen.
It's only just because the IDE interprete what is written that it is capable
of doing such a magic.
Of course notepad has no idea about that.
Today I found a kind of workaround for this problem I posted some time
ago.
While printing I noted there is an option to 'hide collapsed regions',
couple that with a print to file, and CTRL V, - and you have a kind of
awkward way of copying just the expanded view into the clipboard!
Gary- ga********@mywa y.com wrote:
Sam,
That's exactly the point of view I was looking at this at, which is why
I thought it was a pretty basic feature omitted from the IDE.
Thanks for making me still feel sane!
Gary-
Samuel R. Neff wrote:
It's not a limitation of Notepad but of VS.NET. It's certainly
possible for VS.NET to have an option to copy text as shown instead of
as expanded. I'm sure it's even possible to write a macro or add-in
to achive this.
Other apps provide this type of functionality--in Excel you can hide a
row and then choose to either copy the whole range or copy the visible
rows. Same idea.
Sam
------------------------------------------------------------
We're hiring! B-Line Medical is seeking Mid/Sr. .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.
On Tue, 19 Dec 2006 10:31:25 -0500, "Ignacio Machin \( .NET/ C# MVP
\)" <machin TA laceupsolutions .comwrote:
>Hi,
>
>
><ga********@my way.comwrote in message
>news:11******* *************** @a3g2000cwd.goo glegroups.com.. .
>Hi I would like to know if it's possible to copy just the collapsed
>view vissible from the IDE to the clipboard.
>>
>If i have collapsed code, and then highlight it and copy it - and then
>paste this into notepad for example, the full expanded code listing is
>pasted.
>
>Of course, what do you expect to happens?
>It's just like if you collapse a method and then copy & paste in the notepad
>and you wanted to see it "collapse" , it will not going to happen.
>
>It's only just because the IDE interprete what is written that it is capable
>of doing such a magic.
>Of course notepad has no idea about that.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: tabonni |
last post by:
Hi all
I want to create an ASP page, which can copy the real PDF files into
the clipboard and then the user can paste it in Outlook message as
attachments(it's like inserting attachments)
My idea is: When user checked the checkboxes for the requested PDF
files from ASP page and press the "Add To Clipboard" button, all
requested PDF files will be copied into clipboard. Then, the user open
MS outlook message and right click -> Paste all...
|
by: tabonni |
last post by:
Hello All
I am creating an ASP page. There are a list of filename and checkbox
next to it. When user checked all the documents they want and click
ADD TO CLIPBOARD button. All filepaths will be copied into clipboard
and then they can right-click -> paste into MS Outlook as attachments.
How can I use clipboardData.setData function to do that? I saw a lot
of examples they are just copy and paste text.
|
by: Phil Stanton |
last post by:
I am trying to produce a program that will output any Access report to an
editable Word document. So far it is working well but slowly with text
boxes, labels, and lines.
I now need to try to output one of Stephen Lebans' RTF2 controls on the
report. He indicates that a copy and paste method will work from a form to
the Word doc and that is fine although I have not done this in VB, rather
used ^C and ^V
I suspect that a similar method...
|
by: dixie |
last post by:
I am doing a job where I need to copy a letter header into each of about 100
letters which are mail merge template documents for about 20 different
customers - all up about 2000 copy and pastes requiring opening each
document and deleting the current header and pasting the new one. I have
tried to use IncludeText to do this and having the header in a file, but it
appears that the client must open each letter and refresh the link before...
|
by: Wayne Wengert |
last post by:
I have an aspx page on which I am trying to copy the contents of a textbox
to the client clipboard when the users clicks a button. The button code is
as follows:
=====================================
Private Sub btnCopyToClipboard_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnCopyToClipboard.Click
Clipboard.SetDataObject(txtHidden.Text)
End Sub
| |
by: lgbjr |
last post by:
Hello All,
I¡¯m using a context menu associated with some pictureboxes to provide
copy/paste functionality. Copying the image to the clipboard was easy. But
pasting an image from the clipboard is proving to be more difficult. These
pictureboxes are bound to an AccessDB. If the user wants to add an image,
they select an image using an OpenFileDialog:
Dim result As DialogResult = Pic_Sel.ShowDialog()
If (result = DialogResult.OK) Then
|
by: mhospodarsky |
last post by:
Hi--
I am using VB.Net 2002 for this app. I am working with Tiff and jpeg
images. I have a picturebox set up that I use to view the images. I
have the picture box inside of a scrollable panel.There are two viewing
preferences available: to view the image with scrollbars (the original
image unsized), and to view the iamge without scrollbars (the image
resized to fit within the panel's viewing range.) When I resize the
image so that...
|
by: ACF |
last post by:
Hello,
I'm programming an application in MS Access 2003 / 2007 and would like to know how I can copy highlighted text to the windows clipboard?
I am now using a statement in combination with module "Call ClipBoard_SetData(Memo)" but this copies the whole 'memo' field.
I want to highlight text in the memo field and copy only that text to the clipboard.
What I really want is the VBA code for window's to copy selected text to the...
|
by: Over |
last post by:
Hi
it's possible with language C, (Mingw or Djgpp)
copying the clipboard of WinXp into file.txt?
which function must be use.
Thanks
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |