New issue
Advanced search Search tips

Issue 835403 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug

Blocking:
issue 828577



Sign in to add a comment

PDF XFA: Text edit: Home/end move to beginning and end of text rather than line

Project Member Reported by hnakashima@chromium.org, Apr 20 2018

Issue description

On an XFA enabled build:

1. Open https://www.canada.ca/content/dam/ircc/migration/ircc/english/pdf/kits/forms/imm5257e.pdf
2. Go to page 2.
3. Under "CONTACT INFORMATION", "2 - Residential Address", "Street name", paste "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore"
4. Move the cursor to the second line.
5. Press home.
Expected: Cursor moves to beginning of second line.
Actual: Cursor moves to beginning of first line.

Also:

4. Move the cursor to the first line.
5. Press end.
Expected: Cursor moves to end of first line.
Actual: Cursor moves to end of second line.
 
Description: Show this description
Description: Show this description
Need to fix CFDE_TextEditEngine::GetIndexAtStartOfLine() and GetIndexAtEndOfLine().
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment