After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 721831 - Expose selection api
Expose selection api
Status: RESOLVED DUPLICATE of bug 679658
Product: vte
Classification: Core
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-01-08 21:40 UTC by aurel
Modified: 2014-01-08 22:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to expose selection api (3.93 KB, patch)
2014-01-08 21:40 UTC, aurel
none Details | Review

Description aurel 2014-01-08 21:40:30 UTC
Created attachment 265791 [details] [review]
Patch to expose selection api

Adds following functions:
vte_terminal_select_empty_at,
vte_terminal_select_text,
vte_terminal_get_start_selection,
vte_terminal_get_end_selection,
vte_terminal_get_selection,
vte_terminal_get_selection_block_mode,
vte_terminal_set_selection_block_mode.
vte_terminal_copy - this function is needed to copy current selection to clipboard.

It will allow applications to control text selection better. For example - with
keyboard.
Comment 1 Christian Persch 2014-01-08 22:21:15 UTC
Bug 679658 is rather similar and has some discussion already; let's continue it there.

IMHO keyboard selection should be done inside vte, not driven from outside like this.

*** This bug has been marked as a duplicate of bug 679658 ***