Просмотр исходного кода

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 лет назад
Родитель
Сommit
e9dab11e51
1 измененных файлов с 4 добавлено и 0 удалено
  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) {
 	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;