backlighting
local
kuzn at htsc.mephi.ru
Wed Feb 27 15:52:18 CET 2008
Hi,
There is commented code in macro.c and help.etx which is disabled
for NEdit 5.4. The code implements the variable $backlight_string
and the function set_backlight_string() allowing to operate by
backlighting via macro.
$backlight_string
The current value of the window's backlighting specification.
This is empty if backlighting is turned off. It can be changed
through calls to the built-in macro function set_backlight_string().
set_backlight_string( [string] )
Applies the given string, which should be in the format of the
nedit*backlightCharTypes X resource, to the current text window,
turning on backlighting. If the value of the string passed is
"default", or if no parameter is passed, the nedit.backlightCharTypes
X resource's own value will be used. If the empty string, "",
is passed, backlighting will be turned off.
The uncommented code is well compiled and stable works.
Is there a reason to neglect this code?
Alexey Kuznetsov
More information about the Discuss
mailing list