This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8881 - No EOL when a whole line is pasted in source view
Summary: No EOL when a whole line is pasted in source view
Status: NEW
Alias: None
Product: Amaya
Classification: Unclassified
Component: Editing (show other bugs)
Version: 11.3.1
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Vatton
QA Contact: Vatton
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 19:43 UTC by Juan Lanus
Modified: 2010-10-13 01:40 UTC (History)
6 users (show)

See Also:


Attachments

Description Juan Lanus 2010-02-04 19:43:23 UTC
There is something wrong with the way Amaya handles copied text in the source view. 
It should differentiate the selection of loose text from the selection of lines in the source view. 

For example, a test case:

1 Open source view
2 In a line with text hit "home" so the insertion point sticks to the left margin
3 Holding "shift" press the down arrow: a line is selected precisely
4 Copy the selected line ^c
5 Move the insertion point to the beginning of another line, for example using the down arrow several times
6 Paste the copied line ^v

The result is that the text of the copied line is inserted before the target lineĀ“s.
The expected result is inserting the copied taxt as a line above the insertion point.