Hi!
I feel like I’m missing something really obvious with the TextEditor/Label Class. I need to have text from the editor be stored into memory every time the enter key is pressed. The only thing that is stopping this is the actual onReturnKey function.
My current method is to use:
textEditor.onReturnKey = this{std::cout << “enter pressed” << std::endl;}
Nothing is returned to the console when I use this method. I’ve tried using the listener class as well but the “textEditorReturnWasPressed” func isn’t being called for some reason even though I’ve added it as a listener.
I’ve taken a look at both the label.cpp file and looked through a few examples through the juce app and I feel like I’m missing something really obvious. Any help would be appreciated!
-Jake
