@Test
	public void testPasteListingMultiLine() throws Exception {
		
		setClipBoardContents(
			"                             //\n" + 
			"                             **************************************************************\n" + 
			"                             *                          FUNCTION                          *\n" + 
			"                             **************************************************************\n" + 
			"                             F __stdcall f(F * __return_storage_ptr__)\n" + 
			"             F                      o0:4 (ptr)     <RETURN>\n" + 
			"             F *                    Stack[0x40]:   __return_storage_ptr__                  XREF[1]:     00010004(R)  \n" + 
			"             undefined4             Stack[0x40]:4  local_res40                             XREF[1]:     00010004(R)  \n" + 
			"          f                                                                                                                                                      XREF[3]:      Entry Point(*), 00010018(c), \n" + 
			"                                                                                                                                                                                _elfSectionHeaders::0000005c(*)  \n" + 
			"               00010000 9d e3          0           save       sp,-0x60,sp\n" + 
			"                        bf a0\n" + 
			"               00010004 f0 07        060           lduw       [fp+local_res40],i0\n" + 
			"                        a0 40\n" + 
			"               00010008 81 c7        060           jmpl       i7+0xc\n" + 
			"                        e0 0c\n" + 
			"               0001000c 81 e8                      _restore\n" + 
			"                        00 00\n" +
            "               00010014 b0 07                      add        fp,-0x8,i0\n" +
            "                        bf f8\n" +
			" ");
		
		ScriptTaskListener listener = env.runScript(script);

		waitForScriptCompletion(listener, 20000);

		// test that memory blocks created
		MemoryBlock[] blocks = program.getMemory().getBlocks();
		assertEquals(2,blocks.length);
		MemoryBlock block = blocks[0];
	
		assertEquals(block.getStart().getOffset(), 0x10000L);
		assertEquals(block.getEnd().getOffset(), 0x1000fL);
		Address addr = block.getStart();
		assertEquals(block.getByte(addr),(byte)0x9d);
		assertEquals(block.getByte(addr.getAddress("0x1000c")),(byte)0x81);
		assertEquals(block.getByte(addr.getAddress("0x1000f")),(byte)0x00);
		
		block = blocks[1];
		assertEquals(block.getStart().getOffset(), 0x10014L);
		assertEquals(block.getEnd().getOffset(), 0x10017L);
		addr = block.getStart();
		assertEquals(block.getByte(addr),(byte)0xb0);
		assertEquals(block.getByte(addr.getAddress("0x10016")),(byte)0xbf);
		assertEquals(block.getByte(addr.getAddress("0x10017")),(byte)0xf8);

	}
Tests the {@code PasteCopiedListingBytesScript}, which grabs the copy buffer, and
attempts to parse out address/bytes from either listing format or hexdump format.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/script/PasteCopiedListingBytesScriptTest.java