mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Clarify what happens when maxNumChars is zero in the TextPropertyComponent constructor
This commit is contained in:
parent
9100d1c89e
commit
962cfc7aff
1 changed files with 9 additions and 4 deletions
|
|
@ -38,8 +38,10 @@ protected:
|
|||
//==============================================================================
|
||||
/** Creates a text property component.
|
||||
|
||||
The maxNumChars is used to set the length of string allowable, and isMultiLine
|
||||
sets whether the text editor allows carriage returns.
|
||||
@param propertyName The name of the property
|
||||
@param maxNumChars If not zero, then this specifies the maximum allowable length of
|
||||
the string. If zero, then the string will have no length limit.
|
||||
@param isMultiLine isMultiLine sets whether the text editor allows carriage returns.
|
||||
|
||||
@see TextEditor
|
||||
*/
|
||||
|
|
@ -50,8 +52,11 @@ protected:
|
|||
public:
|
||||
/** Creates a text property component.
|
||||
|
||||
The maxNumChars is used to set the length of string allowable, and isMultiLine
|
||||
sets whether the text editor allows carriage returns.
|
||||
@param valueToControl The Value that is controlled by the TextPropertyCOmponent
|
||||
@param propertyName The name of the property
|
||||
@param maxNumChars If not zero, then this specifies the maximum allowable length of
|
||||
the string. If zero, then the string will have no length limit.
|
||||
@param isMultiLine isMultiLine sets whether the text editor allows carriage returns.
|
||||
|
||||
@see TextEditor
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue