MCPcopy Create free account
hub / github.com/breck7/scroll / TextareaInput

Function TextareaInput

external/.scrollLibs.js:12670–12684  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

12668 // TEXTAREA INPUT STYLE
12669
12670 var TextareaInput = function (cm) {
12671 this.cm = cm
12672 // See input.poll and input.reset
12673 this.prevInput = ""
12674
12675 // Flag that indicates whether we expect input to appear real soon
12676 // now (after some event like 'keypress' or 'input') and are
12677 // polling intensively.
12678 this.pollingFast = false
12679 // Self-resetting timeout for the poller
12680 this.polling = new Delayed()
12681 // Used to work around IE issue with selection being forgotten when focus moves away from textarea
12682 this.hasSelection = false
12683 this.composing = null
12684 }
12685
12686 TextareaInput.prototype.init = function (display) {
12687 var this$1 = this

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected