diff --git a/core/field_textdropdown.js b/core/field_textdropdown.js index cc7c2b00bf..e2c7a094cd 100644 --- a/core/field_textdropdown.js +++ b/core/field_textdropdown.js @@ -80,7 +80,7 @@ Blockly.FieldTextDropdown.CHECKMARK_OVERHANG = Blockly.FieldDropdown.CHECKMARK_O /** * Mouse cursor style when over the hotspot that initiates the editor. */ -Blockly.FieldTextDropdown.prototype.CURSOR = Blockly.FieldDropdown.prototype.CURSOR; +Blockly.FieldTextDropdown.prototype.CURSOR = Blockly.FieldTextInput.prototype.CURSOR; /** * Closure menu item currently selected. @@ -95,21 +95,6 @@ Blockly.FieldTextDropdown.prototype.selectedItem = Blockly.FieldDropdown.prototy */ Blockly.FieldTextDropdown.prototype.value_ = Blockly.FieldDropdown.prototype.value_; -/** - * SVG image element if currently selected option is an image, or null. - * @type {SVGElement} - * @private - */ -Blockly.FieldTextDropdown.prototype.imageElement_ = Blockly.FieldDropdown.prototype.imageElement_; - -/** - * Object with src, height, width, and alt attributes if currently selected - * option is an image, or null. - * @type {Object} - * @private - */ -Blockly.FieldTextDropdown.prototype.imageJson_ = Blockly.FieldDropdown.prototype.imageJson_; - /** * Install this text drop-down field on a block. */ @@ -171,11 +156,6 @@ Blockly.FieldTextDropdown.prototype.onHide = Blockly.FieldDropdown.prototype.onH */ Blockly.FieldTextDropdown.prototype.onItemSelected = Blockly.FieldDropdown.prototype.onItemSelected; -/** - * @private - */ -Blockly.FieldTextDropdown.prototype.trimOptions_ = Blockly.FieldDropdown.prototype.trimOptions_; - /** * Return a list of the options for this dropdown. * See: Blockly.FieldDropDown.prototype.getOptions_. @@ -197,12 +177,6 @@ Blockly.FieldTextDropdown.prototype.getValue = Blockly.FieldDropdown.prototype.g */ Blockly.FieldTextDropdown.prototype.setValue = Blockly.FieldDropdown.prototype.setValue; -/** - * Sets the text in this field. Trigger a rerender of the source block. - * @param {?string} text New text. - */ -Blockly.FieldTextDropdown.prototype.setText = Blockly.FieldDropdown.prototype.setText; - /** * @return {boolean} True if the option list is generated by a function. * Otherwise false.