Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uwm.edu!bionet!agate!darkstar!ucscf.UCSC.EDU!davids From: davids@ucscf.UCSC.EDU (Dave Schreiber) Newsgroups: comp.sys.amiga.programmer Subject: 2.0 Console.device questions Keywords: 2.0 console.device highlighting Message-ID: <12286@darkstar.ucsc.edu> Date: 13 Feb 91 17:51:54 GMT Sender: usenet@darkstar.ucsc.edu Organization: University of California, Santa Cruz Lines: 29 [Insert humerous line-eater fodder he I posted a question about this last Friday, but nobody responsed (perhaps everyone hits `c' when they first log in on Monday morning), so here it is again: I'm working on a text-manipulation program that will run under 2.0 (I've got a 3000 and SAS/C V5.10). I'd like to impliment drag-highlighting (where the user ``drags'' the mouse to highlight a block of text, as opposed to the Notepad way of doing it (double clicking)). I've noticed that the 2.0 console.device already uses drag-highlighting as part of its built-in ``Snap''ness. I'd like to know if it is possible for my program to use this built-in highlighting (for example, letting the console.device do the highlighting, but having the program handle deletions of text, etc. itself). If it isn't, are there any recommendations on keeping console.device highlighting and program highlighting separate (I'd like to let my users use every 2.0 feature possible, which includes the built in Snap)? Or should I just resort to the double-clicking method, reserving the ``dragging'' for when the user wants to paste some bit of text into some other window? Thanks. -- Dave Schreiber davids@slugmail.ucsc.edu or (but not both) davids@ucscf.ucsc.edu "It was fun learning about logic, but I don't see where or when I will ever use it again."