Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!cornellcs!travelers.mail.cornell.edu!news.kei.com!news.mathworks.com!newsfeed.internetmci.com!news.msfc.nasa.gov!elroy.jpl.nasa.gov!swrinde!howland.reston.ans.net!torn!nott!cunews!freenet.carleton.ca!FreeNet.Carleton.CA!am573
From: am573@FreeNet.Carleton.CA (Jason Olenick)
Subject: TextEdit and popUpMenu?
Message-ID: <DGBIL6.F3w@freenet.carleton.ca>
Sender: am573@freenet2.carleton.ca (Jason Olenick)
Reply-To: am573@FreeNet.Carleton.CA (Jason Olenick)
Organization: The National Capital FreeNet
Date: Thu, 12 Oct 1995 04:17:30 GMT
Lines: 22


I wanted to add some options to the popUpMenu that occurs when you press
the right mouse button in any TextEdit field.  I've been able to add the
selections, but I'm having trouble finding out which variable has the
selected text.  There are quite a few instance variables, selection,
newSelection and others, but none seem to work.

This is one example I wanted to add: 

ClassHierarchyBrowser new openSelecting: theSelectedText

where theSelectedText is the appropriate instance variable.

Does anyone know what theSelectedText would be?

Thanks

--
-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\
Donutoy aka  | "The fairest thing we can experience is the mysterious. \
am573@Freenet | One who knows it not and can no longer wonder, no longer |
.Carleton.CA  | feel amazement, is as good as dead." - Albert Einstein   |
