This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 267792 - Drag & drop multilines selection
Summary: Drag & drop multilines selection
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-31 02:09 UTC by amobilia
Modified: 2016-08-31 02:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amobilia 2016-08-31 02:09:59 UTC
Code example :
-----
	<head>
		<title>TODO supply a title</title>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
	</head>
-----


1/ Using multilines selection, select the rows 'charset="UTF-8"' on both 'meta' lines
2/ Drag and drop selected text after the '</head>'


Result :
-----
	<head>
		<title>TODO supply a title</title>
		<meta content="width=device-width, initial-scale=1.0">
	</head>
	 charset="UTF-8">
-----


What is expected :
-----
	<head>
		<title>TODO supply a title</title>
		<meta>
		<meta content="width=device-width, initial-scale=1.0">
	</head>
 charset="UTF-8"
 name="viewport" 
-----

The bad paste is due to #267587 .
Anything, the first '<meta...>' shouldn't be deleted
If I use a ctrl-X / Ctrl-V, the first '<meta...>' isn't deleted