2
0
Эх сурвалжийг харах

Added a clarification about copy events.

I literally just spent an hour not realizing I had to look elsewhere, so I left a comment.
cib 13 жил өмнө
parent
commit
e9dab11e51

+ 4 - 0
IDE/Contents/Source/PolycodeEditor.cpp

@@ -66,6 +66,10 @@ void PolycodeEditor::setHasChanges(bool newVal) {
 void PolycodeEditor::handleEvent(Event *event) {
 	if(event->getDispatcher() == CoreServices::getInstance()->getCore()) {
 		switch(event->getEventCode()) {
+
+			// Only copypaste of more complex IDE entities is handled here.
+			// Pure text copy/paste is handled in:
+			// Modules/Contents/UI/Source/PolyUITextInput.cpp
 			case Core::EVENT_COPY:
 			{
 				void *data = NULL;