VS2022 Paste Bug? - paste

Recently VS2022 has been behaving unpredictably when I press ctrl-v (paste). It does not always do it, but frequently enough to be repeatable.
If I copy a section of text (ctrl-c), and then select some other text to replace when I paste it the selected text and the pasted text will disappear. A ctrl-z will return the text that WAS pasted.
Any ideas?
Thanks.

Related

How to copy from Sublime Text 3 with formatting?

I have XML in Sublime Text 3 and I would like to use it as an example in Google Slides. The issue is when you copy the text you end up with plain text, I would like to keep the syntax highlighting as it makes it much easier to read. Is this possible? Is there some Sublime package I need?
Open the package control to install a package (Ctrl/Cmd + Shift + P):
Look for Highlight and click it:
Done! You can now right click some text and copy it as RTF:
Then you can paste that in Google Slides, PowerPoint, Word, Outlook, whatever you like.
I use CopyAsHtml pakage. It is better than SublimeHighlight pakage. You can install it according to what MS Berends said above.
CopyAsHtml pakage keeps sublime coloring exactly.
It will add another copy as HTML in your right click as you can see below.

WebStorm doesn't pick up text copied to buffer

Occasionally I copy text and try to paste this text into WebStorm, but WebStorm doesn't pick up that copied text, although this text can be pasted into other varies text processor. This happens to all members of our team.
Is this some known issue? I tried to google it but haven't found any mentioning of this problem.

save textbox as picture in powerpoint_transparancy difficulties

In powerpoint 2010 I want to save an inserted textbox as a picture, which is simply done by right-clicking on the text box and save it. The saved image will however include a large amount of transparancy around the text. I am wondering whether this abundance of transparency around the text can be reduced, whithout using photo-editing programs.
I understand that powerpoint is not the right tool to use the beautifuly created texts for other purposes aside from office itself, however this would make things ten times easier for some coworkers of mine.
I hope someone can help me with this, also if it means using VBA or other (complex) codes/languages.
Thnx for your time.
Mike
Once you have typed your text in the textbox,
Copy the text box, right-click and paste as image
Now you have the image of the text box as you will get while saving that textbox as image - - using the save_as_image option
Select this image and click on format tab
You have an option to crop your image
Crop the image and save it as a picture

vb.net code to enlarge font size, font name and do page setup in ms.excell

I am creating an excel report from vb.net. Now it works. But i realize that the apparent does not make sense. I just want enlarge some font size and change font name plus setting up the page to fit my receipt printer (Epson TM-T88IV).
what should i do ?
thanks in advance
First manually set everything up bit by bit until it all fits nicely on your receipt printer.
Once you have everything just the way you want:
Generate a new, plain copy of the report.
Start recording a macro
Manually replicate the changes that you did in your practice sheet onto your macro recording sheet.
Stop recording the Macro, and press Alt-F11 to get to the VB that was generated.
Use the relevant lines of the generated macro to see what you need to add to your report generation code.

Sitecore: Forcing pasting as unformatted text

Is there a good way to force pasting as text inside Rich Text Fields inside Sitecore? I know there's a "Paste as Text" button in the Rich Text Editor itself, but content authors are almost definitely going to just hit Ctrl+V or Right-Click->Paste to put the text in, and if that content came from Word, all hell breaks loose with the markup. The workaround we have so far is to paste into notepad and then to copy that text and paste it into the Rich Text Field, but that solution is inelegant and I hate it.
Thank you for your time.
Take a look at the setting
<property name="StripFormattingOnPaste">None</property>
Located in the file /sitecore/shell/radcontrols/editor/ConfigFile.xml
Last time I had a requirement similar to yours, I went in there and made the change and it worked fine. Should still work, unless they changed something :-)