New issue
Advanced search Search tips

Issue 620123 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 208751
Owner: ----
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

hterm: make word break characters customizable

Project Member Reported by vapier@chromium.org, Jun 14 2016

Issue description

https://chromium.googlesource.com/apps/libapps/+/master/hterm/js/hterm_screen.js#850

hterm.Screen.prototype.expandSelection has a few lines where it hardcodes the word break characters:
  // Matches can start with '~' or '.', since paths frequently do.
  var leftMatch   = '[^\\s\\[\\](){}<>"\'\\^!@#$%&*,;:`]';
  var rightMatch  = '[^\\s\\[\\](){}<>"\'\\^!@#$%&*,;:~.`]';
  var insideMatch = '[^\\s\\[\\](){}<>"\'\\^]*';

we should probably pull those out into the options for users to customize.
 

Comment 1 by vapier@chromium.org, Sep 28 2016

Mergedinto: 208751
Status: Duplicate (was: Unconfirmed)
heh i already put in this request

Sign in to add a comment