MCPcopy Create free account
hub / github.com/dropbox/hackpad / getSelection

Function getSelection

etherpad/src/static/js/ace2/ace_selection.js:19–84  ·  view source on GitHub ↗

* @return {Object=} Returns null, or a structure containing startPoint and * endPoint, each of which has node (a magicdom node), index, and maxIndex. * If the node is a text node, maxIndex is the length of the text; * else maxIndex is 1. Index is between 0 and maxIndex, inclusive.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

hasParentFunction · 0.85
pointFromRangeBoundFunction · 0.85

Tested by

no test coverage detected