MCPcopy
hub / github.com/nwutils/nw-sample-apps / isWordChar

Function isWordChar

mini-code-edit/cm/lib/codemirror.js:3026–3028  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

3024 return -1;
3025 }
3026 function isWordChar(ch) {
3027 return /\w/.test(ch) || ch.toUpperCase() != ch.toLowerCase();
3028 }
3029
3030 // See if "".split is the broken IE version, if so, provide an
3031 // alternative way to split lines.

Callers 2

findPosHFunction · 0.85
selectWordAtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected