Github user robertkowalski commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/195#discussion_r21593979
--- Diff: app/addons/documents/views-doceditor.js ---
@@ -239,7 +239,7 @@ function (app, FauxtonAPI, Components, Documents,
Databases, resizeColumns, pret
/* one JS(ON) string can't span more than one line - we edit one
string, so ensure we don't select several lines */
if (selStart >=0 && selEnd >= 0 && selStart === selEnd &&
this.editor.isRowExpanded(selStart)) {
var editLine = this.editor.getLine(selStart),
- editMatch = editLine.match(/^([ \t]*)('[a-zA-Z0-9_]*':
)?('.*',?[ \t]*)$/);
+ editMatch = editLine.match(/^([ \t]*)("[a-zA-Z0-9_]*":
)?(".*",?[ \t]*)$/);
--- End diff --
I would suggest something like:
```
/^([ \t]*)(["|'][a-zA-Z0-9_]*["|']: )?(["|'].*["|'],?[ \t]*)$
```
so the user can use `"` or `'`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---