Feature #2295

RCP: X.X, expand selection when user select words V1

Added by Matthieu Decorde almost 6 years ago. Updated almost 4 years ago.

Status:New Start date:12/12/2017
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Annotation Spent time: -
Target version:TXM - Antract 2.0

Description

To enhance the user selection feedback, TXM can expand the selection to the selection words limit

Solution 1

Use the Range API (https://developer.mozilla.org/en-US/docs/Web/API/Range) to manipulate the navigator natural selection left and right limits.

The Range API is not supported by all navigators -> implement the feature for Linux and Mac OS X : webkit navigator

The selection rendering using the browser selection rendering.

Solution

Move the URS expand code to trunk code

Associated revisions

Revision 2394
Added by Matthieu Decorde almost 4 years ago

move selection expand code from URS plugin to edition plugin refs #2295

History

#1 Updated by Matthieu Decorde almost 6 years ago

  • Subject changed from RCP: X.X, expand selection when user select words to RCP: X.X, expand selection when user select words V1
  • Description updated (diff)
  • % Done changed from 50 to 80

#2 Updated by Matthieu Decorde over 5 years ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde almost 4 years ago

  • Description updated (diff)
  • Target version changed from TXM Democrat 3.0 to TXM - Antract 2.0
  • % Done changed from 80 to 60

#4 Updated by Matthieu Decorde almost 4 years ago

  • % Done changed from 60 to 80

Also available in: Atom PDF