Community
Participate
Working Groups
org.eclipse.swt.TextUtil._onAppearInitialize );
}
text.setLiveUpdate( true );
text.setSpellCheck( false );
// [if] Prevent selection of all text on tab focus
text._ontabfocus = function() {
text.setSelectionLength( 0 );
var doc = qx.ui.core.ClientDocument.getInstance();
doc.addEventListener( "windowresize",
org.eclipse.swt.Application._onResize );
// Install key-listener to prevent certain keys from being processed
doc.addEventListener( "keypress",
org.eclipse.swt.Application._onKeyPress );
// Disable spell-checking in general
doc.getElement().setAttribute( "spellcheck", "false" );
// Gecko-specific settings
if( qx.core.Variant.isSet( "qx.client", "gecko" ) ) {
// Prevent url-dropping in FF as a whole (see bug 304651)
doc.getElement().setAttribute( "ondrop", "event.preventDefault();" );
this._inputOverflow = "auto";
this.setAppearance( "text-area" );
this.setAllowStretchY( true );
this.setSpellCheck( true );
this.__oninput =
qx.lang.Function.bindEvent( this._oninputDomTextarea, this );