Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 314453 | Differences between
and this patch

Collapse All | Expand All

(-)js/org/eclipse/swt/TextUtil.js (-1 lines)
Lines 35-41 Link Here
35
                               org.eclipse.swt.TextUtil._onAppearInitialize );
35
                               org.eclipse.swt.TextUtil._onAppearInitialize );
36
      }
36
      }
37
      text.setLiveUpdate( true );
37
      text.setLiveUpdate( true );
38
      text.setSpellCheck( false );
39
      // [if] Prevent selection of all text on tab focus
38
      // [if] Prevent selection of all text on tab focus
40
      text._ontabfocus = function() {
39
      text._ontabfocus = function() {
41
        text.setSelectionLength( 0 );
40
        text.setSelectionLength( 0 );
(-)js/org/eclipse/swt/Application.js (+4 lines)
Lines 150-157 Link Here
150
      var doc = qx.ui.core.ClientDocument.getInstance();
150
      var doc = qx.ui.core.ClientDocument.getInstance();
151
      doc.addEventListener( "windowresize",
151
      doc.addEventListener( "windowresize",
152
                            org.eclipse.swt.Application._onResize );
152
                            org.eclipse.swt.Application._onResize );
153
      // Install key-listener to prevent certain keys from being processed
153
      doc.addEventListener( "keypress",
154
      doc.addEventListener( "keypress",
154
                            org.eclipse.swt.Application._onKeyPress );
155
                            org.eclipse.swt.Application._onKeyPress );
156
      // Disable spell-checking in general
157
      doc.getElement().setAttribute( "spellcheck", "false" );
158
      // Gecko-specific settings
155
      if( qx.core.Variant.isSet( "qx.client", "gecko" ) ) {
159
      if( qx.core.Variant.isSet( "qx.client", "gecko" ) ) {
156
	      // Prevent url-dropping in FF as a whole (see bug 304651)
160
	      // Prevent url-dropping in FF as a whole (see bug 304651)
157
	      doc.getElement().setAttribute( "ondrop", "event.preventDefault();" );
161
	      doc.getElement().setAttribute( "ondrop", "event.preventDefault();" );
(-)js/org/eclipse/rwt/widgets/Text.js (-1 lines)
Lines 21-27 Link Here
21
      this._inputOverflow = "auto";
21
      this._inputOverflow = "auto";
22
      this.setAppearance( "text-area" );
22
      this.setAppearance( "text-area" );
23
      this.setAllowStretchY( true );
23
      this.setAllowStretchY( true );
24
      this.setSpellCheck( true );
25
      this.__oninput = 
24
      this.__oninput = 
26
        qx.lang.Function.bindEvent( this._oninputDomTextarea, this );
25
        qx.lang.Function.bindEvent( this._oninputDomTextarea, this );
27
    }
26
    }

Return to bug 314453