Questions tagged [pasting]
52 questions
25
votes
5 answers
vim limited line memory
im trying to copy 300 lines from one file to another,
in source file i type "300yy", it says it has yanked 300 lines.
go to destination file and press p,
it pastes, but only the first 50 lines.
any idea why it isn't pasting the 300?

john-jones
- 7,490
- 18
- 53
- 86
10
votes
3 answers
python: ignoring leading ">>>" and "..." in interactive mode?
Many online python examples show interactive python sessions with normal leading ">>>" and "..." characters before each line.
Often, there's no way to copy this code without also getting these prefixes.
In these cases, if I want to re-paste this…

HippoMan
- 2,119
- 2
- 25
- 48
6
votes
1 answer
Pasting screenshots into Gmail with Safari Browser
I often have a need to grab a screen shot of something on my screen (Since I am using OSX, I use the Command+Control+Shift+4 combination, which puts the screenshot into the clipboard). This works well, and allows me to paste into MS Word and other…

Benjamin Romero
- 69
- 2
5
votes
2 answers
How can one paste images into a Web App? What solutions are available? HTML 5 Canvas?
I'm currently building a very bare bones web app, that had the requirement of being able to copy an image while broswing the web, and then pasting it onto my page.
I know that this type of functionality IS possible - as I've pasted images into gmail…

nicoslepicos
- 505
- 1
- 5
- 9
3
votes
1 answer
paste several column values into one value in R
I have a really simple question that I cannot find a straightforward answer for. I have a data.frame that looks like this:
df3 <- data.frame(x=c(1:10),y=c(5:14),z=c(25:34))
ID x y z
1 1 5 25
2 2 6 26
3 3 7 27
etc.
And I want to 'paste'…

Annemarie
- 689
- 6
- 14
- 28
3
votes
1 answer
Vim "paste once" without update of undo
To implement pasting only once I can use:
noremap p p:let @"=""
This clears register after pasting, so that following paste will not work. What will however happen is empty pasting which updates undo. So pressing p 3 times will require…

Rob Luca
- 153
- 10
3
votes
1 answer
While pasting text to UITextView, textViewDidChange: is not getting called
I have a UITextView. I am resizing the text view based on the size of the text inside the method textViewDidChange. This works fine when I type. But this does not get calls when I paste something. Is it expected behavior or am I missing something?

hsusmita
- 282
- 3
- 16
3
votes
2 answers
copy image to clipboard and let it be pasted as file (vb.net)
I have a picture box, and if I use snipet below:
Clipboard.SetImage(PictureBox.image)
Then I can only paste the image into things like Paint and MS word. I can't paste it as a file into a folder/desktop.
So how can I copy the image to the clipboard…

Jonathan.
- 53,997
- 54
- 186
- 290
3
votes
1 answer
Android inserting variables into web page fields
I am trying to build an app that automatically logs you into web mail after entering in a username and password. This is my first time and I've been playing around with some eclipse tutorials and trying to build off them. What I have right now is…

Alex Roe
- 31
- 3
2
votes
1 answer
Is there a way to copy a selected area up or down in vim?
In VSCode you can copy and paste selected lines of text up or down using Alt+Shift + Up or Down.
I switched to vim a few months ago, and I really miss this feature.
I found out you can move selected lines in visual mode up or down using these visual…

Fahim Emroz
- 21
- 3
2
votes
1 answer
Excel: text to columns is remembered, how to disable?
I have text copied from a pdf file to Excel(2010). I used 'text-to-columns' to create separate columns.
Now I have finished that part of my task, I want to paste another piece of text into the same file.
But now Excel directly uses the…

DutchArjo
- 319
- 3
- 8
- 29
1
vote
2 answers
converting different rows of a data frame to one single row in R
I have a dataset that looks like this:
CATA 1 10101
CATA 2 11101
CATA 3 10011
CATB 1 10100
CATB 2 11100
CATB 3 10011
etc.
and I want to combine these different rows into a single, long row like this:
CATA 101011110110011
CATB 101001110010011
I've…

Annemarie
- 689
- 6
- 14
- 28
1
vote
1 answer
Issues with copying row data and Paste -> R
I have an ascii file that contains one week of data. This data is a text file and does not have header names. I currently have nearly completed a smaller task using R, and have made some attempts with Python as well. Being a pro at neither, its been…

Livin2020
- 11
- 1
1
vote
2 answers
jQuery Maskedinput plugin: Completed event after pasting not work
I have trouble with using jQuery Masked Input Plugin
text typing successfully works, but if I paste text into masked textbox - I cannot catching Completed event.
Example from plugin site: