Article View: comp.os.os2.programmer
Article #2263Re: EPM Editor Question
From: Larry Margolis
Date: Fri, 02 Oct 1992 23:15
Date: Fri, 02 Oct 1992 23:15
36 lines
2214 bytes
2214 bytes
In <FA2-pQB@engin.umich.edu> jwh@citi.umich.edu (Jim Howe) writes: > ... the window scrolls one > direction or the other, placing the marked text either > at the bottom of the window, or the top. [Only happens if the screen was first scrolled using the scroll bars, so that the cursor is not in the window.] > What is the purpose of this 'feature', It's called a bug. :-) > and more importantly, is there some way to disable it? You betcha. Assuming you have the macros and macro compiler, edit the file MOUSE.E, find the routine MH_end_mark, find the line: getmark firstline,lastline,firstcol,lastcol,fileid Immediately before that, add: if .cursorx > 0 & .cursorx <= .windowwidth & .cursory > 0 & .cursory <= .windowheight then Then find the line: 'MH_gotoposition' and immediately before that, add: endif Then recompile by entering the command: etpm extra and you should be all set. (If you haven't recompiled before, then you'll need a MYCNF.E. If you don't really want to change the shipped settings, the simplest way of doing this is to create one containing the single line: include 'epmgcnf.smp' -- Pick up "Enhanced Editor" configuration file If you don't *have* the macros, then you can get them via anonymous FTP from software.watson.IBM.com, from the IBM BBS's, or from Compuserve. It's the EPMBBS package.) -- Larry Margolis, MARGOLI@YKTVMV (Bitnet), margoli@watson.IBM.com (Internet)
Technical Details
Message-ID:
<1992Oct02.231520.1697@watson.ibm.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!ukma!gatech!news.ans.net!newsgate.watson.ibm.com!yktnews!admin!newsReferences:
<FA2-pQB@engin.umich.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!ukma!gatech!news.ans.net!newsgate.watson.ibm.com!yktnews!admin!news From: margoli@watson.ibm.com (Larry Margolis) Subject: Re: EPM Editor Question Sender: news@watson.ibm.com (NNTP News Poster) Message-ID: <1992Oct02.231520.1697@watson.ibm.com> Date: Fri, 02 Oct 1992 23:15:20 GMT News-Software: IBM OS/2 PM RN (NR/2) v0.14 by O. Vishnepolsky and R. Rogers Lines: 36 Reply-To: margoli@watson.IBM.com Disclaimer: This posting represents the poster's views, not necessarily those of IBM References: <FA2-pQB@engin.umich.edu> Nntp-Posting-Host: margoli.watson.ibm.com Organization: IBM T.J. Watson Research Center