Fix for #731643: allow "lookup in documentation" to also work if the
interactive window is frontmost.
diff --git a/Mac/Tools/IDE/PyEdit.py b/Mac/Tools/IDE/PyEdit.py
index 6cac553..89f97ca 100644
--- a/Mac/Tools/IDE/PyEdit.py
+++ b/Mac/Tools/IDE/PyEdit.py
@@ -168,6 +168,9 @@
 	
 	def setselection(self, selstart, selend):
 		self.editgroup.editor.setselection(selstart, selend)
+		
+	def getselectedtext(self):
+		return self.editgroup.editor.getselectedtext()
 	
 	def getfilename(self):
 		if self.path: