TextEditor


#1

Hi,

I want to ban users from typing some pre-defined characters like “ö” in a texteditor.
What is the best practice to do so?

Thanks
Jörg


#2

You won’t be able to spell your own name in this text editor :smiley:

This is the method no?
http://www.rawmaterialsoftware.com/juce/api/classTextEditor.html#af101f034f249b577345b948d4d3db21c


#3

That would be the the other side of the coin :wink:

Thank you for he hint. That should do the trick.

Joerg