[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Highlighting a line
- Subject: Re: Highlighting a line
- From: Carl Distefano CLDistefano@xxxxxxxx
- Date: Thu, 20 Mar 1997 12:04:58 EST
** Reply to note from jbesser@xxxxxxxx Thu, 20 Mar 97 10:05:05 +0000
>
> A question for the list:
> Is there a way to set XyWrite/Dos to highlight the line the cursor is on? Some
> editors--Qedit, for example--do this by default. It would be
useful to me, > since I use a VGA gray scale monitor, and finding the
cursor is often a > chore.
>
As David points out, there's no neat solution to this one. You might
try having a dedicated "find cursor" key (Shift-Home, perhaps), and
assign it a program like the one below, which highlights the line the
cursor is on for 1 second, then retires. You can regulate the
duration by playing with the pause command; i.e., BX (p 2) would
pause for 2 secs., etc.
DL-a-sec.PM ;*;
YD [sx01,[cp]]DL BX (jmp [pv01])BX (p 1)YD
This is pseudo-code, of course. [] stands for guillemets and DL, BX,
and YD refer to real functions. And, it's a bare-bones
prototype, which would cancel any existing DF block (bad!); with a
little more code you could preserve DF blocks.
It's a possibility, not necessarily the best.
--------------
Carl Distefano * * *