Those who love using yellow hiliter markers while reading
real-paper
text may find this macro interesting.
Nps is a macro that allows you to remember multiple passages
in text
with color.
Say you are reading along in some text and you come across a
passage you
may like to refer to later. Reading further, you
see another, then maybe
another or eve several more.
Unless you bookmark them, so many passages might be
difficult to
remember.
With this macro, you can light up these passages, go to
other sections
of the text or even other files, then come
back and scroll through the text
and ever passage that was
remembered will light up for quick finding.
The remembered passages do not have to be in the same file,
but can be
marked and remembered in multiple files. There is
no upper limit on how many
passages can be so marked.
In addition, if you so choose, you can use a different
assigned key and
are prompted for the color to use for
different passages and that color will
always be associated
with that passage.
The passages are also not file-dependent. If the same
passage occurs in
another file, it, too, will light up when
it appears on the screen.
The passages are also line-independent. This means that if
you mark and
cause the macro to remember a passage of ten
lines, each of those lines is an
independent passage, and if
it shows up on the screen in another location or
file, it,
too, will light up as it appears on the screen.
The following is the Help Screen for
Nps:
----------------------------------------------
""
"Macro Name: Noteworthy Passages Stripes"
""
"Macro Version:
NpsRev1008"
""
"Assigned Keys:"
""
"<ctrlshift n><g>
mNpsGetPassage(0) // remember passage using default color"
"<ctrlshift
n><c> mNpsGetPassage(1) // remember passage using manual
color"
"<ctrlshift n><d> mNpsManualDel() // manually
delete globals"
"<ctrlshift n><h> quickhelp('NpsHelp') // this
help screen"
""
"Nps is a macro that allows you to remember passages in a
TSE"
"text file much like using yellow hiliter markers when"
"reading real
books."
""
"You can mark and the macro will remember as many passages
as"
"you wish. You can even assign different colors to the
many"
"different passages and they will all be properly lighted as"
"long
as the macro is active."
""
"Passages can be marked and remember anywhere
in a file or in"
"any file...they will all be remembered and light up when
they"
"appear on the screen."
""
"How To Use:"
""
"1. execute the
macro to make it active;"
"2. mark a line block of text to be
remembered;"
"3. use the assigned key to remember it; the text
will"
" immediately take on its new color;"
"4. if you prefer
to choose the color for the remembered"
" passage, use the other
assigned key and select the"
" decimal value for your chosen
color at the prompt;"
"5. unmark the block and repeat the process for as
many"
" passage as you wish;"
"6. to turn off all passage
lighting, simply execute the"
" macro again."
""
"As
published, the default passage lighting color is 224,"
"intense black on
yellow. If you wish to change this, look"
"for the variable 'contrast' under
the local globals variable"
"list, insert the color default you prefer, then
recompile."
""
"Enjoy."
""