From kde-usability Thu Apr 01 15:11:52 2004 From: Leo Savernik Date: Thu, 01 Apr 2004 15:11:52 +0000 To: kde-usability Subject: Re: standardizing modes of text selection Message-Id: <200404011711.54512.l.savernik () aon ! at> X-MARC-Message: https://marc.info/?l=kde-usability&m=108083254313262 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_4EDbAndryZSgTse" --Boundary-00=_4EDbAndryZSgTse Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Mittwoch 24 M=E4rz 2004 07:19 schrieb Jamethiel Knorth: > Did anyone ever put together a proposal about this and send it to whom it > regards? I am about to add the proposal to the KDE style guide, but before I'll do t= hat=20 I'm posting it here for review. mfg Leo =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAbDE4j5jssenUYTsRAlvgAJ46T5l28qHBO5imc/mujgwxSSkkRACdHlBU RYyxuD/0ZpUy62HZie4cL/M=3D =3D4ozu =2D----END PGP SIGNATURE----- --Boundary-00=_4EDbAndryZSgTse Content-Type: text/html; charset="iso-8859-1"; name="selection.html" Content-Transfer-Encoding: 7bit Content-Description: Text Selection by Mouse Content-Disposition: inline; filename="selection.html" KDE Standards - Selection
KDE Logo
Guidelines
Basics
Menus
Toolbar
Statusbar
Content Area
Dialogs
Keys
Mouse
Selection
Drag and Drop

printable version (ps)/(pdf)
Links
File System Standard
Icon Style Guide
Resource & Style Man.
KDE User InterfaceStandards

Mouse
Selection

Certain content areas represent their content in terms of textual objects like plain text, formatted text, text with embedded objects etc. Those areas should provide the following modes of text selection.

Left Mouse Button

Single Click (SC)Action
SCAll selections are unmarked.
The caret is placed onto the click position if applicable.
SC + dragSelect from the pointer, extending selection by letters.
Shift + SCExtend the end of the existing selection up to the pointer position.1
Double Click (DC)Action
DCSelect the targeted word.2
Existing selections will be unmarked.
DC + dragSelect the targeted word and continue to select by word as the pointer moves, selecting to the beginning and end of any word the pointer moves onto.
Shift + DCExtend the end of the existing selection up to the cursor position, then extending the beginning of the selection to the beginning of the first word covered by the selection, and the end of the selection to the end of the last word.1
Triple Click (TC)Action
TCSelect the targeted row.3 4
Existing selections will be unmarked.
TC + dragSelect the targeted row and continue to select by row as the pointer moves, selecting to (inclusively) any line the pointer is dragged over.
Shift + TCExtend the end of the existing selection up to the cursor position, then extending the beginning of the selection to the beginning of the first row covered by the selection, and the end of the selection to the end of the last row.1
1
Using the shift modifier when no selection is existing behaves as if it were not pressed in the first place.
2
The definition of word is not consistent and may need to be standardized elsewhere, but not here. Especially which characters to consider as a word boundaries are not subject to this style guide.
3
A row refers to a displayed row of text, not to the underlying row up to the next line-break. This is not selection by paragraph.
4
When selecting by row, the row size changes if the window is resized. In this case, keep the current text selected, even though it may no longer be a whole row. If the selection by row is further expanded by the user in a row-by-row manner, expand the selection to encompass every row it is a part of.

Right Mouse Button

The RMB is not intended to be used for text selection.

Applicability

Application types which this style guide is applicable to are text editors, word processors, visual user agents (web browsers), and any other application type that features displaying textual content.

PreviousNext
--Boundary-00=_4EDbAndryZSgTse Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kde-usability mailing list kde-usability@kde.org https://mail.kde.org/mailman/listinfo/kde-usability --Boundary-00=_4EDbAndryZSgTse--