[SOLVED] vim: newlines when pasting block selection

Hi there!
When pasting a block selection im Vim, the pasted lines are added to the existing lines. That definitely has it's uses, but usually I'd like to paste the lines onto blank lines. For this, I first have to generate a buch of empty lines, and only then can I paste the block. Is there a way to automatically generate new lines when pasting blocks?
Here's a small example in Fortran. I'd like to get the list of REALs by block-selecting the variables and copying them between the REAL and the INTEGER block.
REAL :: &
real1 (2,2) , &
real2 (5,2) , &
real3 (1,2)
INTEGER :: &
int1 ,&
int2
If I just block-select it and paste it onto the line between the REAL and INTEGER blocks, I end up with this:
REAL :: &
real1 (2,2) , &
real2 (5,2) , &
real3 (1,2)
real1
real2INTEGER :: &
real3 int1 ,&
int2
What I'd like to end up with, though, is this:
REAL :: &
real1 (2,2) , &
real2 (5,2) , &
real3 (1,2)
real1
real2
real3
INTEGER :: &
int1 ,&
int2
Without manually inserting blank lines, that is!
PS: I'm not really sure whether that's the correct subforum, but as the questions mostly addresses Programmers/Coders, I guess it should be fine here.
Last edited by cryptkeeper (2013-11-07 08:16:32)

karol wrote:http://vim.wikia.com/wiki/Unconditional … wise_paste
'\cp' seems to do what you want.
I haven't tried it yet, but it looks exactly what I need! What I do after pasting the selected block is often joining the lines to a single line with the variables delimited by commas or \\|| (for further use in vim regexes), and it looks like this plugin can do exactly this.
Thanks! I'll mark it SOLVED then (and hope I'll get around to actually try it soon enough).
Trilby wrote:Karol's answer seems like a more direct solution, but I'd personally go with a combination of simpler commands like "3yy3jPw Ctrl-v 3j$d"
The problem with this is that you know the exact number of lines, i.e. 3 in this case, which is usually not the case in the code I work with as the variable lists are much longer.
But what I've become accustomed to in the meantime is memorizing the number of lines that vim shows when I yank the block and inserting that number of new lines before pasting, e.g. for a 24 line block
24o<ESC>j
24k
p
I doubt that using 24o<ESC>j is the best way to insert the 24 blank lines, but it works well enough.

Similar Messages

  • [SOLVED] Rxvt-unicode fails to paste PRIMARY selection owned by Vim

    Urxvt almost always work with the X PRIMARY selection. i.e., if I select some
    text in Firefox or other applications, I will be able to paste it in urxvt.
    But Vim seems to be an exception. Steps to reproduce:
      1. Select some text ("foo") in Vim, either using the mouse or in visual mode.
         Leave the Vim window open.
      2. In another urxvt window, press Shift-Insert, _nothing_ is pasted.
         Middle mouse click has the same effect as Shift-Insert in urxvt.
      3. Issue the command `xsel -po`, and the text "foo" is printed. This means
         the text is indeed what the X PRIMARY selection holds (or points to).
      4. The text "foo" is also pasted in Firefox by middle mouse click.
         The text "foo" is also pasted in xterm by either middle mouse click or
         Shift-Insert.
      5.1. If you do `xsel -po | xsel -pi`, urxvt will behave like everyone else.
      5.2. Without doing 5.1, quit Vim (:q). After that, "foo" will be pasted in
           urxvt by Shift-Insert.
           What Vim does on quit is documented in its help (:h x11-cut-buffer):
    Vim wrote:
    There are, by default, 8 cut-buffers: CUT_BUFFER0 to CUT_BUFFER7.  Vim only
    uses CUT_BUFFER0, which is the one that xterm uses by default.
    Whenever Vim is about to become unavailable (either via exiting or becoming
    suspended), and thus unable to respond to another application's selection
    request, it writes the contents of any owned selection to CUT_BUFFER0.  If the
    "+ CLIPBOARD selection is owned by Vim, then this is written in preference,
    otherwise if the "* PRIMARY selection is owned by Vim, then that is written.
    My guesses are:
      * Urxvt somehow requires the cut buffer (CUT_BUFFER0) to sync with the
        PRIMARY selection, otherwise it will fail to request the PRIMARY selection.
      * The reason why text selected from applications other than Vim can be pasted
        just fine in urxvt is probably that they always sync the cut buffer with the
        PRIMARY selection.
    I may be wrong, so please do comment.
    If my conclusion proves to be right, I will file a bug report to rxvt-unicode.
    Edit: This issue is fixed in rxvt-unicode 9.12.
    Last edited by lolilolicon (2011-07-02 16:31:45)

    lolilolicon wrote:
    Urxvt almost always work with the X PRIMARY selection. i.e., if I select some
    text in Firefox or other applications, I will be able to paste it in urxvt.
    But Vim seems to be an exception. Steps to reproduce:
      1. Select some text ("foo") in Vim, either using the mouse or in visual mode.
         Leave the Vim window open.
      2. In another urxvt window, press Shift-Insert, _nothing_ is pasted.
         Middle mouse click has the same effect as Shift-Insert in urxvt.
      3. Issue the command `xsel -po`, and the text "foo" is printed. This means
         the text is indeed what the X PRIMARY selection holds (or points to).
      4. The text "foo" is also pasted in Firefox by middle mouse click.
         The text "foo" is also pasted in xterm by either middle mouse click or
         Shift-Insert.
      5.1. If you do `xsel -po | xsel -pi`, urxvt will behave like everyone else.
      5.2. Without doing 5.1, quit Vim (:q). After that, "foo" will be pasted in
           urxvt by Shift-Insert.
           What Vim does on quit is documented in its help (:h x11-cut-buffer):
    Vim wrote:
    There are, by default, 8 cut-buffers: CUT_BUFFER0 to CUT_BUFFER7.  Vim only
    uses CUT_BUFFER0, which is the one that xterm uses by default.
    Whenever Vim is about to become unavailable (either via exiting or becoming
    suspended), and thus unable to respond to another application's selection
    request, it writes the contents of any owned selection to CUT_BUFFER0.  If the
    "+ CLIPBOARD selection is owned by Vim, then this is written in preference,
    otherwise if the "* PRIMARY selection is owned by Vim, then that is written.
    My guesses are:
      * Urxvt somehow requires the cut buffer (CUT_BUFFER0) to sync with the
        PRIMARY selection, otherwise it will fail to request the PRIMARY selection.
      * The reason why text selected from applications other than Vim can be pasted
        just fine in urxvt is probably that they always sync the cut buffer with the
        PRIMARY selection.
    I may be wrong, so please do comment.
    If my conclusion proves to be right, I will file a bug report to rxvt-unicode.
    Hi lolilolicon,
    I cannot reproduce the errors from step 2. My system has the following packages:
    gvim 7.3.206-1
    vim-runtime 7.3.206-1
    rxvt-unicode 9.12-1
    To be fair, rxvt-unicode was upgraded to 9.12 recently (I think it was sometime last week), and I also recall vim's visual mode selections NOT being paste-able into a separate urxvt window. But I guess the 9.12 update fixed things. (There are a couple regression fixes with the words "selection" to describe them @ http://cvs.schmorp.de/rxvt-unicode/Changes .) I tested both gvim and regular console vim (visual mode) and it all worked. I also double-checked with `xsel -po`.

  • Why, when I paste my selection in a new layer, is it 10 times larger than when I copied it?

    Why, when I paste my selection in a new layer, is it 10 times larger than when I copied it?

    Kevin If you don't understand don't try to take the discussion offline via private message.  Other that have the same problem will not benefit if taken offline here is you PM.
    Hi,
    Thanks for your response to my question. What is the best way to adjust to match resloutions of pictures/photos, etc in PSE 12. I am trying to layer photos and selections from photos but when I cut and paste, sometimes I get this HUGE image that doesn't even come close to fitting on the screen.
    Thanks!
    Kevin
    Kevin
    You need to understand pixels better know what is going on when you do things.  All pixels are not created equal.  Some have better quality the others.
    When you have a camera that take captures  3000x2000 px for an image and you have a good lens and exposure setting you wing up with 6,000,000 quality pixels for your image.
    If you resample that image  for the web to fit within 300x200 pixels you wind up with a 60,000 high quality web size image. Or a high quality image that will fit on your display at its resolution. The images resoultion setting is meanless for displays use their resolutuin they do not support image print DPI resolution setting.  And Displays do not hava a 72DPI resolution. 
    So when your post processing think about Pixels DPI is meaningless except when you use a unit based on DPI like inches.  However also remember Displays do no support the images print dpi resolution.  The only time 1" on display equal 1" in print is when the images print resolution is the same as the display you are using. All displays do not  have the same resolution/ Most desktop displaye are around 100DPI that is changing and Laptop and tablets can have resolution above 300DPI. So what will nor fit on your displat may well fix on a laptop or tablet.
    DPI is actual pixel size 100DPI pixels a 1/100" x 1/100" = 10,000 per square inch  300DIP 1/300"x 1/300"  90,000 px per sq inch.
    The same number on pixels image on a 300dpi display is 9 time larger on a 100Dpi display. What may not fit one your low resolution display may fit on the same size high resolution display for the display  displays more pixels then your display can.
    If you resample that 300x200 web size image to back to a 3000x2000 pixel image for print you wind up with 6,0000,000 lower quality pixels. 
    Though the 300X200 pixels image was a high quality web size image much of the original 6,000,000 image quality was reduced in the 300x200 px image. Much of the detail you had in the original 6,000,000 pixels image was discarded in the process.  The new 6,000,000 pixels image was made only from a 60,000pixel image they were not captures using a camera exposure.  The camera had the actual real detail in front of it to capture.  All the computer had were 300x200 pixels it has to add details for the larger image and it does by interpolating the 300x200px image.
    Preserve the pixel you get from your cameras. They are the highest quality pixels you will ever have for your images.  Every time you resample an image up or down in number of pixels you loose some image quality.   Not one of the original pixels remain intact you wind up with a totally new image created by interpolating the old image.  Do not save the new image over the old image and loose your good high quality pixels. 

  • WHEN-TREE-NODE-SELECTED need 2 Execute-Query on Master-Detail data block

    I optimize tree using this link
    http://andreas.weiden.orcl.over-blog.de/article-29307730.html_+
    For huge amount of data (Accountings)
    All i need for now is
    WHEN-TREE-NODE-SELECTED need 2 Execute-Query on the data block
    DECLARE
    htree ITEM;
    node_value VARCHAR2(100);
    BEGIN
    IF :SYSTEM.TRIGGER_NODE_SELECTED = 'TRUE' THEN
    -- Find the tree itself.
    htree := FIND_ITEM ('BL_TREE.IT_TREE');
    node_value := FTREE.GET_TREE_NODE_PROPERTY( htree, :SYSTEM.TRIGGER_NODE ,  ftree.node_value  );
       GO_BLOCK ('GL_ACCOUNTS');
       set_block_property('GL_ACCOUNTS', DEFAULT_WHERE , 'ACCOUNT_ID ='|| node_value  );
    EXECUTE_QUERY;
    END IF;
    END;The above code is working fine 4 the detail block which is *'GL_ACCOUNTS'*
    when i substitute is Master block which is 'GL_ACCOUNTS_TYPES' it doesn't display all data
    Help is Appriciated pls.
    Regards,
    Abdetu...

    Hello
    In WHEN-TREE-NODE-SELECTED i modified the following code :_
    DECLARE
            htree ITEM;
           node_value VARCHAR2(100);
           parent_node FTREE.NODE;
    BEGIN
      IF :SYSTEM.TRIGGER_NODE_SELECTED = 'TRUE' THEN
      -- Find the tree itself.
      htree := FIND_ITEM ('BL_TREE.IT_TREE');
      -- Get the parent of the node clicked on. 
                  parent_node := FTREE.GET_TREE_NODE_PARENT ( htree, :SYSTEM.TRIGGER_NODE );
           GO_BLOCK('GL_TYPES');
                set_block_property('GL_TYPES', DEFAULT_WHERE , 'TYPE_ID ='|| parent_node  );
                  EXECUTE_QUERY;
      -- Get the detail of the parent node
          node_value := FTREE.GET_TREE_NODE_PROPERTY( htree, :SYSTEM.TRIGGER_NODE ,  ftree.node_value  );
               GO_BLOCK('GL_ACCOUNTS');
               set_block_property('GL_ACCOUNTS', DEFAULT_WHERE , 'ACCOUNT_ID ='|| node_value  );     
                   EXECUTE_QUERY;
          END IF;
    END;
    FRM-40350 : Query caused no records to be retrieved but i have records in the data base ...!
    Well, Do u think that's because in ur package i retrieve only the detail block ?
    Regards,
    Abdetu...

  • Error when generating the selection screen "1000"  for Report ztest

    Hi Experts,
    I am getting this strange error while trying to activate my report. I simply copy paste report from my other system to new system it was working fine there. I also created all include program etc.
    While I am trying to create "Selection-text" it is giving message that "Program contain some serious syntax error" while checking syntax saying that "Program is syntactically right".
    Any idea how to solve this???
    Regards,
    Gourav

    Here is the code::::
    SELECTION-SCREEN BEGIN OF BLOCK select  WITH FRAME TITLE text-sl1.
    Component
    SELECT-OPTIONS:
           s_xcide            FOR gw_zsmmess_compo-xcide
                              NO INTERVALS
                              MATCHCODE OBJECT zsm_xcide_oi.
    SELECTION-SCREEN END OF BLOCK select.
    SELECTION-SCREEN BEGIN OF BLOCK prcopt  WITH FRAME TITLE text-sl2.
    Default severity code
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(30) text-dsc.
    SELECTION-SCREEN POSITION 33.
    PARAMETERS: p_dfsevc   LIKE gw_zsmglob_sever-sevco
                           OBLIGATORY
                           MATCHCODE OBJECT zsm_sevco
                           DEFAULT '3'.
    SELECTION-SCREEN COMMENT 37(30) pt_sevtx.
    SELECTION-SCREEN END OF LINE.
    Minutes to wait before re-issuing alert
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(30) text-ria.
    SELECTION-SCREEN POSITION 33.
    PARAMETERS: p_aleexp(3) TYPE n
                            OBLIGATORY
                            DEFAULT '45'.
    SELECTION-SCREEN COMMENT 37(10) text-min.
    SELECTION-SCREEN END OF LINE.
    Use component specific parameters Yes/No
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(30) text-cpu.
    SELECTION-SCREEN POSITION 33.
    PARAMETERS: p_usecsp   RADIOBUTTON GROUP rg1  DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 35(10) text-rby    FOR FIELD p_usecsp.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 33.
    PARAMETERS: p_dnucsp   RADIOBUTTON GROUP rg1.
    SELECTION-SCREEN COMMENT 35(10) text-rbn    FOR FIELD p_dnucsp.
    SELECTION-SCREEN END OF LINE.
    Create/update component specific parameters automatically
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(32) text-cpc.
    SELECTION-SCREEN POSITION 33.
    PARAMETERS: p_updcsp   RADIOBUTTON GROUP rg2.
    SELECTION-SCREEN COMMENT 35(10) text-rby    FOR FIELD p_updcsp.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 33.
    PARAMETERS: p_dnccsp   RADIOBUTTON GROUP rg2  DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 35(10) text-rbn    FOR FIELD p_dnccsp.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(30) text-afo.
    SELECTION-SCREEN POSITION 33.
    Fire one alert per component/error type combination
    PARAMETERS: p_afrerr   RADIOBUTTON GROUP rg3  DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 35(50) text-afe    FOR FIELD p_afrerr.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 33.
    Fire one alert per component (= outbound XI interface)
    PARAMETERS: p_afrcom   RADIOBUTTON GROUP rg3.
    SELECTION-SCREEN COMMENT 35(50) text-afc    FOR FIELD p_afrcom.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 33.
    Fire one alert per run
    PARAMETERS: p_afrrun   RADIOBUTTON GROUP rg3.
    SELECTION-SCREEN COMMENT 35(50) text-afr    FOR FIELD p_afrrun.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(30) text-sel.
    SELECTION-SCREEN POSITION 33.
    Select messages since last run
    PARAMETERS: p_lstrun   RADIOBUTTON GROUP rg4  DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 35(40) text-slr    FOR FIELD p_lstrun.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 33.
    Select messages in selected interval
    PARAMETERS: p_mintvl   RADIOBUTTON GROUP rg4.
    SELECTION-SCREEN COMMENT 35(40) text-sin    FOR FIELD p_mintvl.
    SELECTION-SCREEN END OF LINE.
    Message selection interval
    SELECTION-SCREEN BEGIN OF BLOCK msgfilt WITH FRAME TITLE text-msf.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(10) text-icr.
    SELECTION-SCREEN COMMENT 14(05) text-ifr.
    SELECTION-SCREEN COMMENT 25(05) text-dat       FOR FIELD p_stadat.
    Select messages - start date
    PARAMETERS: p_stadat   TYPE d.
    SELECTION-SCREEN COMMENT 46(05) text-tim       FOR FIELD p_statim.
    Select messages - start time
    PARAMETERS: p_statim   TYPE t.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 14(05) text-ito.
    SELECTION-SCREEN COMMENT 25(05) text-dat       FOR FIELD p_enddat.
    Select messages - end date
    PARAMETERS: p_enddat   TYPE d                  DEFAULT sy-datum.
    SELECTION-SCREEN COMMENT 46(05) text-tim       FOR FIELD p_endtim.
    Select messages - end time
    PARAMETERS: p_endtim   TYPE t                  DEFAULT sy-timlo.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK msgfilt.
    SELECTION-SCREEN END OF BLOCK prcopt.
    SELECTION-SCREEN BEGIN OF BLOCK testopt WITH FRAME TITLE text-tso.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(10) text-tst.
    SELECTION-SCREEN POSITION 33.
    List only, no updates
    PARAMETERS: p_lstonl    RADIOBUTTON GROUP rg5  DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 35(14) text-tsl       FOR FIELD p_lstonl.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 33.
    Execute updates
    PARAMETERS: p_update    RADIOBUTTON GROUP rg5.
    SELECTION-SCREEN COMMENT 35(14) text-tsu       FOR FIELD p_update.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK testopt.
    *eject
    INITIALIZATION.

  • To find past blocking

    Hi Experts,
    I am in need to find out the previous blocking sessions which occurred over the weekend when Database Maintenance Weekly Index Rebuild and Database
    Maintenance Weekly Integrity Check runs, I know how to find out current blocking  but not about the past blocking sessions.
    Can someone please help me.
    Thanks in advance.

    Hi Shanky Sir,
    The reason why we want this is: Apparently have an external database maintenance job that is causing the database locking issue with the IS causing this behavior.  we need to suggest scheduling of this DB maintenance jobs so that it doesn't interfere with
    the production IS processing.
    Thanks.
    Very well if you are using MP to rebuild index and update stats it would create problem instead please use
    Ola hallengren solution for index maintenance and backup maintenance as well its ready made script.
    If there is something else Like other said you have to schedule job to capture blocking session. Plus again it wont be much helpful to you because on complex prod systems locking and blocking occur its normal the problem arise when locks are held for longer
    duration causing blocking.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Question re: Paste into Selection

    I've recently purchased PSE11 after years of using Jasc & Corel's Paintshop Pro (PSP).
    When adding textures to an image in PSP, I would:
      a) copy the image of the texture into the clipboard,
      b) create a new raster layer in the image I wish to add the texture,
      c) select all and then Paste into Selection. 
    PSP would paste the texture into the new layer and resize it to fit the dimensions of the background layer.
    in PSE11, I can duplicate steps a through c, but I must then select the new layer and apply free transform and manually resize the layer to fit the underlying image.
    Is there anyway of forcing the free transform commend to automatically resize the layer? Or is there a better command to use to achieve the same thing?
    Any help appreciated. TIA
    - Gene
    System info:
    Adobe Photoshop Elements Version: 11.0 (11.0 (20120922.r.32287)) x32
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:7, Stepping:7 with MMX, SSE

    Here's a script that should work:
    https://workspaces.acrobat.com/?d=pugWVZN7JXMPy-sS3U0a9g
    Unzip and copy the Add Texture.jsx to
    C:\Program Files (x86)\Adobe\Photoshop Elements 11\Presets\Scripts folder
    Then start or restart the pse 11 editor and the script should be Under File>Automation Tools>Add Texture
    I didn't write the script, but just made it available under the automation tools menu.
    The script came from here: http://www.scriptsrus.talktalk.net/

  • I receive a Software Update notice that fails. How do I find out who/what is trying to update? How do I stop its attempt to update? The only response allowed is "OK". When OK is selected the window goes away and nothing else happens.

    About once a month I receive the Software update notice that has failed. How do I find out who/what is trying to update? If I decided I want this update how do I allow it to continue? If I decided I do not want this update how do I stop it and its attempt to update? The only response allowed is "OK". When OK is selected the window goes away and nothing else happens.

    Hi sharkbiscuit79,
    Yes your cabinet 10 on the Crediton exchange has already been installed and linked with a FTTC DSLAM cabinet (making it able to provide FTTC fibre broadband) and has been Accepting FTTC orders since December 2013.  PCP10 (with it's DSLAM cabinet within 100meters of it) is locate on the junction of Commercial Road and the A3072.
    However by the looks of things your are just too far away to obtain a FTTC (VDSL2) connection, meaning FTTC fibre broadband is not available to you.
    Have a look at the Connecting Devon and Somerset Considerations (particularly the last paragraph) - http://www.connectingdevonandsomerset.co.uk/where-when-map-conditions/
    Your best bet is to talk to Connecting Devon and Somerset to see if there are any further plans to get a fibre based service to your area via https://www.connectingdevonandsomerset.co.uk/contact-us/ (as your area may not be inscope of any further deployment). Best give them your full address and landline number too as they can check if you are within a NGA area.
    jac_95 | BT.com Help Site | BT Service Status
    Someone Solved Your Question?
    Please let other members know by clicking on ’Mark as Accepted Solution’
    Try a Search
    See if someone in the community had the same problem and how they got it resolved.

  • Trying to copy and paste objects in keynote 6 I only get a hyperlink when pasting. Anyone else having the same problem? is there anywhere I can change it so that the copied object is pasted directly into the new slide?

    Hi
    I am trying to copy one object from one lside to another slide in the same presentation. The only thing I get when pasting is a hyperink. Does anyone know how I can turn this off so that the image or the object is pasted as copied to the new slide?
    Thanks a lot

    there are some unexpected issues when copy and pasting.
    As a workaround, use duplicate slide to get the same object in another slide, (select the slide in navigator and command D or right click > duplicate)

  • Have a HP C6180 all-in-one and I can never really do printing on bot sides of paper, even when it is selected in my i Mac all in one

    Have a HP C6180 all-in-one and I can never really do printing on bot sides of paper, even when it is selected in my i Mac all in one

    HI,
    You should be able to just leave it on, it should have a sleep mode which it will enter after a while.
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Although I work for HP my posts and replies are my own
    Please mark the post that solves your problem as "Accepted Solution"

  • How can I make a label for my chart that changes dynamically when I drag selection of data to adjacent column?

    I have a custom budget using Numbers '08 and have labeled a chart in previous versions of my budget but when I tried to update it for the new year I can't figure out how to make the label change dynamically as I drag the selected area to the adjacent column. I have checked Numbers Help and Tutorial videos as wellas the manual and have not found anything that comes close to helping but as I said I had it on previous versions but obviously don't remember how I did it and unfortuanately it is not a very intuitive feature. Thanks in advance for any help on this.

    The linkage appears to be automatic, but when broken, does not reattach itself.
    Redoing the chart isn'r a long process, though, unless you've made extensive format changes to it. Here's my process, which started with a headerless table wiht the Month labels in Row 1 (and a Chart that had an "Untitled" label on the category axis, and ended with the table and chart shown below:
    Click on any cell in the table to activate it.
    Go Table > Add Header Row.
    Select the cells containing the month names. Copy.
    Select the cells in the same columns of the Header row. Paste.
    Select the table. If the Header for the current month is highlighted and the month label is on the table, Stop here.  If not (and it probably will not be), continue.
    Delete the existing Chart (or drag it aside to use as a colour and style reference)
    Unhide any hidden rows used in the Chart.
    Select the cells to be charted.
    Click the Series orientation control (¡¡¡) to change it. The control will turn 90° and move from the column highlight to the row highlight.
    Your table and chart should now resemble the one in the image above. Edit the style as needed and you're done.
    Regards,
    Barry

  • Block selection in SQL Developer?

    Hey everyone! A co-worker of mine uses TOAD to do work with our databases, however I use SQL Developer as I like it very much. During one of our meetings, he used something called "Block Selection" (I think that's what it's called....) in his code editor, by holding down ALT and highlightning a 'block' of text. This made it so he wouldn't grab text line by line.
    I thought it was very cool, and it would be extremely helpful to clean up and format a bunch of procedures I have. I use a monospaced font to keep everything "in line" so to speak....makes it easier to read, especially in very large packages. Anyone know if SQL Developer supports this capability? Been searching all over for it on google, and through all the SQL help files but havn't found anything. Could be that I just don't know what to look for. Help would be appreciated!

    It's in the older versions of SQL Developer as well
    http://www.thatjeffsmith.com/archive/2012/07/how-to-block-select-text-in-oracle-sql-developer/
    What's weird is in 4.0, it doesn't work when 'block select' is enabled, but DOES work when it's not enabled....unless I'm reading that backwards.

  • IE10 and IE11 BUG: clipboard data modified when pasted into TEXTAREA

    When pasting certain text into a TEXTAREA under IE 10.0.9200.16921 in compatibility mode, IE10 changes the data - sometimes (mysteriously and randomly about half the time).
    The following test web page demonstrates how to reproduce this problem:
    <html>
    <head><title>Test IE10 paste bug 20140616</title></head>
    <body>
    <h1>Test IE10 paste bug 20140616</h1>
    <h2>How to reproduce the bug:</h2>
    <ol>
    <li>Turn on compatibility mode.</li>
    <li>Select the full contents of the textbox below (two lines).</li>
    <li>Copy the contents of the textbox below into the Windows clipboard.</li>
    <li>Delete the contents of the textbox.</li>
    <li>Paste the clipboard contents back into the textbox.</li>
    <li>The lowercase "i" at the end will mysteriously (and randomly) be
    capitalized to "I" (about half the time).</li>
    </ol>
    <p><textarea>/*#!!#*/
    i;</textarea></p>
    </body>
    </html>
    What is happening here?
    Does this happen with other versions of IE? (I only have access to IE5.5, IE6, IE9 and IE10 - only IE10 exhibits this problem so far.)
    I'm developing a simple javascript web application that needs to run accurately in all versions of all browsers - IE10 appears to have a pretty severe bug here.
    Update 2014-06-16 12pm MDT: Another user has reported this behavior running Win7, IE v 11.0.9600 as well. Have updated the title to include IE11 as being affected.

    It appears that this behavior is due to the automatic spelling correction "feature" of IE10. The above mentioned (erroneous) behavior can be avoided by doing one of three things (there may be more but these are the ones I've found so far):
    1. Turn off auto spelling correction entirely by un-checking the following checkbox:
    IE Menu -> Tools -> Manage add-ons -> Spelling correction -> Enable spelling correction.
    2. Turn off compatibility mode.
    3. Add a 'spellcheck=false' property to the TEXTAREA element start tag.
    Note that the last option is not available for pages written in valid XHTML 1.0 Strict because "spellcheck" is not a valid XHTML property for the TEXTAREA element.
    Some might say: "What's the problem? All its doing is fixing your typing errors. This isn't a bug at all."
    The problem is that not all data being pasted into a TEXTAREA is English text. Sometimes the data is very precise and must not be "corrected" by the browser. In my case, the data being pasted into the textbox is a (very precise) regular expression
    statement, (e.g. "var myre = /complex-regex-here/i;"), and IE10 (and IE11) are automatically (and erroneously) changing the "i" modifier to "I" which makes the statement invalid.
    IMHO, this is certainly a BUG and unfortunately, I'm going to have to deal with it with an explanation to my users that the default behavior of IE10 and IE11 may cause their data to become corrupted.

  • [Solved] vim, indent and hash

    I know this isn't strictly a programming problem, but bear with me...
    To make a long story short, I have a Perl file in which some comment lines start with the hash(#) as the first character of the line, i.e. before the # there's nothing, not even spaces. The problem is that trying to indent this line with == does not work. Now, with my current vim setup, when *insert* a new line that starts with an #, indentation is done properly. Also, if there is space before the #, but the indentation is wrong, == correctly indents it. The problem is when the # is the very first character of the line, and (it goes without saying) the indentation is wrong, == does nothing.
    I've googled and read all about disabling smartindent, cindent, and whatnot, and nothing seems to work. I'm really grasping at the straws with this one, so all ideas are welcome...
    Last edited by gauthma (2010-10-26 16:22:11)

    For future reference of whomever might encouter this problem... the file /usr/share/vim/vim73/indent/perl.vim has, in line 55 and following, the, erm, following:
    " Don't reindent coments on first column
    if cline =~ '^#.'
    return 0
    endif
    Commenting those out solved the problem. Of course I now wonder why would those lines be there in the first place, but I digress...

  • Firefox does not shows on top when it blocks popup

    Earlier when Firefox used to block any popup it showed notification at the top that Firefox has blocked popup and i can select to open the popup from option.But now it does not show any notification at top when it block's popup.How can i enable the notification again?

    Hi anil02,
    The notification may have checked "Never show this again. Some more information on this can be found:
    *[[Pop-up blocker settings, exceptions and troubleshooting]] "
    It is also possible to check the exception list from the Firefox Menu > Options > Content > Exceptions to manage the pop up list.

Maybe you are looking for