Jelajahi Sumber

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 tahun lalu
induk
melakukan
e9dab11e51
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      IDE/Contents/Source/PolycodeEditor.cpp

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

@@ -66,6 +66,10 @@ void PolycodeEditor::setHasChanges(bool newVal) {
 void PolycodeEditor::handleEvent(Event *event) {
 void PolycodeEditor::handleEvent(Event *event) {
 	if(event->getDispatcher() == CoreServices::getInstance()->getCore()) {
 	if(event->getDispatcher() == CoreServices::getInstance()->getCore()) {
 		switch(event->getEventCode()) {
 		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:
 			case Core::EVENT_COPY:
 			{
 			{
 				void *data = NULL;
 				void *data = NULL;