<commit_before>////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2008 Adobe Systems Incorporated
//  All Rights Reserved.
//
//  NOTICE: Adobe permits you to use, modify, and distribute this file
//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////

package mx.components
{
	
import flash.events.Event;

import mx.components.baseClasses.FxTextBase;
import mx.core.mx_internal;
import mx.core.ScrollPolicy;
import mx.events.TextOperationEvent;

//--------------------------------------
//  Other metadata
//--------------------------------------

[DefaultProperty("content")]

[IconFile("FxTextArea.png")]

/**
 *  The built-in set of states for the FxTextArea component.
 */
[SkinStates("normal", "disabled")]

/**
 *  Documentation is not currently available.
 *
 *  @includeExample examples/FxTextAreaExample.mxml
 */
public class FxTextArea extends FxTextBase
{
    include "../core/Version.as";

    //--------------------------------------------------------------------------
    //
    //  Constructor
    //
    //--------------------------------------------------------------------------

    /**
     *  Constructor. 
     */    
	public function FxTextArea()
	{
		super();
	}

	//--------------------------------------------------------------------------
	//
	//  Variables
	//
	//--------------------------------------------------------------------------

	/**
	 *  @private
	 */
    private var textInvalid:Boolean = false;

	//--------------------------------------------------------------------------
	//
	//  Overridden properties
	//
	//--------------------------------------------------------------------------

	//----------------------------------
	//  text
	//----------------------------------

	[Bindable("change")]
	[Bindable("textChanged")]

	/**
	 *  @private
	 */
    override public function get text():String
    {
        if (textInvalid)
        {
            mx_internal::_text = textView.text;<commit_msg>Transferred from the Adobe Open Source Subversion Repository<commit_after>////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2008 Adobe Systems Incorporated
//  All Rights Reserved.
//
//  NOTICE: Adobe permits you to use, modify, and distribute this file
//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////

package mx.components
{
	
import flash.events.Event;

import mx.components.baseClasses.FxTextBase;
import mx.core.mx_internal;
import mx.core.ScrollPolicy;
import mx.events.TextOperationEvent;

//--------------------------------------
//  Other metadata
//--------------------------------------

[DefaultProperty("content")]

[IconFile("FxTextArea.png")]

/**
 *  The built-in set of states for the FxTextArea component.
 */
[SkinStates("normal", "disabled")]

/**
 *  Documentation is not currently available.
 *
 *  @includeExample examples/FxTextAreaExample.mxml
 */
public class FxTextArea extends FxTextBase
{
    include "../core/Version.as";

    //--------------------------------------------------------------------------
    //
    //  Constructor
    //
    //--------------------------------------------------------------------------

    /**
     *  Constructor. 
     */    
	public function FxTextArea()
	{
		super();
	}

	//--------------------------------------------------------------------------
	//
	//  Variables
	//
	//--------------------------------------------------------------------------

	/**
	 *  @private
	 */
    private var textInvalid:Boolean = false;

	//--------------------------------------------------------------------------
	//
	//  Overridden properties
	//
	//--------------------------------------------------------------------------

	//----------------------------------
	//  text
	//----------------------------------

	[Bindable("change")]
	[Bindable("textChanged")]
    
    // Compiler will strip leading and trailing whitespace from text string.
    [CollapseWhiteSpace]
       
	/**
	 *  @private
	 */
    override public function get text():String
    {
        if (textInvalid)
        {
            mx_internal::_text = textView.text;
{'fraction_non_alphanumeric': 0.42701475595913735, 'fraction_numerical': 0.0018161180476730988, 'mean_word_length': 0.8788912579957356, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1215213', 'n_tokens_mistral': 997, 'n_tokens_neox': 949, 'n_words': 221}