mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added a method TextEditor::getInputFilter
This commit is contained in:
parent
5fdbdc9e9e
commit
426f5a7174
1 changed files with 3 additions and 0 deletions
|
|
@ -568,6 +568,9 @@ public:
|
|||
*/
|
||||
void setInputFilter (InputFilter* newFilter, bool takeOwnership);
|
||||
|
||||
/** Returns the current InputFilter, as set by setInputFilter(). */
|
||||
InputFilter* getInputFilter() const noexcept { return inputFilter; }
|
||||
|
||||
/** Sets limits on the characters that can be entered.
|
||||
This is just a shortcut that passes an instance of the LengthAndCharacterRestriction
|
||||
class to setInputFilter().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue