WebStorm doesn't pick up text copied to buffer - intellij-idea

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.

Related

neovim ignores newline on paste

Using neovim version v0.8.2 when pasting multi-line text from the system clipboard (not an internal register), the newline characters get stripped away, undesirably resulting in a single line.
Querying the termpastefilter, the value is on the defaults - "BS,HT,ESC,DEL".
When pasting, neovim asks for a confirmation before pasting due to the fact there are control characters in the pasted string and in the confirmation message, part of the text is revealed with the control characters escaped, where one can clearly see the \n characters, however after pasting the string they get stripped.
The terminal emulator is urxvt version v9.31.
How can one undo this behavior?
I've the same "problem" but sad news:
More information would be needed - what are "incorrect line endings" and have
you disabled the confirm-paste plugin? If not, which option did you chose?
Also for some reason when i open the terminal, half the screen is
flushed. This seems to have been reported here already:
Yes, that is a race condition between your wm and urxvt. It can happen
with all terminals and also older versions of urxvt, but happens much
more commonly in the current version. We have plans to address this,
but are not sure what the right course is, yet, as it is not a bug.
A workaround of sorts is to output some newliens so the prompt is at
the bottom (which is where it will end up anyway, under normal use),
or specify a geometry larger than the screen and let your wm shrink
it, which has pretty much the same effect.
Source is the official mailing list which can be found here: http://lists.schmorp.de/pipermail/rxvt-unicode/2023q1/002650.html
As a workaround I will temporary transfer terminator.

VS2022 Paste Bug?

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.

Scale text to fit in a text box in illustrator using scripts(javascript)?

I have been trying to figure out how to get a font to shrink to fit in to its text box, but it needs to scale down the font size. I want to be able to do it to multiple text boxes at once. I dont have any coding right now. I know a little JavaScripting but not 100% sure how to do if for illustrator.
You can use the code snippet in my LinkedIn article: Dealing with Overset Text.
The Illustrator scripting API gives one some control over the paragraphs, lines, words, characters and arbitrary text ranges of an Illustrator text frame. One upgrade my script could use though is to incorporate text-on-a-path - maybe someday soon I'll fix it up and update my article.
As for using the snippet, just run it however you choose to run scripts (put into App scripts folder or use File > Scripts > Other Scripts. When you run it, any overset text boxes which are area text will have their font shrunk to no longer be overset. You can use this same snippet with Illustrator variable data to ensure a batch process will not have oversets.

copy query from sql developer with format

How can I copy queries from Oracle SQL Developer with format. Unlike Toad the query format is lost as I paste it in any document.
I am referring to font formatting.
Not (yet) supported in 4.x.
Your best shot is to vote/rate it up: "Copy to clipboard" should include HTML and/or RTF clipboard formats
As a workaround, if you really, really want it bad - you might try out long and tedious path of using "Print" option in color to some PDF printer, then copying it from there (some programs like Preview on Mac OS X preserve formatting while copying from PDF)
There is an extension called "Copy As HTML/RTF". But version 4.x doesn't support extensions. Only 3.x and earlier versions support them.
if you are talking about Highlight Format, I can suggest you to use one plugin in Notepad++, which preserves the Font color as in Notepad++ when you copy to Microsoft Word.
You can visit this site: Copy Notepad++ text with formatting?
SSMS has the same issue. With SSMS, it appears that there is a 10,045 byte limit. At 10,046 char/bytes, the sql format changes to text. There are two ways to resolve this issue that I know of so far.
Select all the sql text in the query window, open the word doc, and drag the text over to word instead of copy/pasting it.
Break your copy/paste text into sections less than 10,045 bytes and paste to word code section by code section. In other words, select sections of the sql text that are smaller than 10,045 bytes and copy/paste multiple times into word instead of the whole query at once.

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 :-)