Last modified: 2013-05-24 20:10:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45333, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43333 - VisualEditor: Add a (small) left margin to the CE so that users can select whole lines at once
VisualEditor: Add a (small) left margin to the CE so that users can select wh...
Status: RESOLVED WONTFIX
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Krinkle
:
Depends on:
Blocks: 48426
  Show dependency treegraph
 
Reported: 2012-12-21 22:17 UTC by James Forrester
Modified: 2013-05-24 20:10 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description James Forrester 2012-12-21 22:17:57 UTC
From a user suggestion:

| Normally word processors and text editors have a left margin, allowing
| whole lines to be selected. There would normally be a small gap of a few
| pixels between the left column of text and the left margin, allowing a
| "margin of error" for regular text selection. To the left of this gap,
| any clicks select entire lines, and any drags up or down select many
| lines at once. 
|
| I don't know if there is a need for the complete left margin
| functionality in VisualEditor, but certainly, the editing area shouldn't
| stop at the exact edge of the letters. Perhaps the padding on the VE
| container needs to be increased with a compensating decrease in the
| margin - or maybe that's totally wrong, but you get the idea.
Comment 1 Ed Sanders 2013-05-22 13:10:31 UTC
For the first part, some IDEs do this (e.g. Sublime), but LO, Google Docs & gedit don't. The downside is it reduces the target zone for placing the cursor at the start of a line.

For the second part, we already have left padding into which you can click to position the cursor at the start of the line.
Comment 2 James Forrester 2013-05-24 20:10:46 UTC
After discussion with the team, we feel that this doesn't make sense because this is mostly a feature that makes sense in line-based editors (generally, for code), and VE is not one of these.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links