Greg Edwards
2011-02-15 02:13:20 UTC
Folks,
I haven't researched this properly, apologies if it's obvious, or obviously
impossible :=)
I'd like to be able to highlight, in some colour or some background, some
small pieces of code in a program being edited with Nedit, to server as
reference and reminder for editing/checking/changing some other similar code
further down in a file. This seems to be in the domain of highlighting
syntax, but it's not constant highlighting of a set syntax style. I just
want to sweep over some bits of code and highlight them somehow, and have
them stay highlighted until further notice
Example:
if (whatever) {
$var[1] = 123;
$var[3] = "abc"; # need to change this in many similar blocks further
down
$var[5] = 456;
$var[7] = "xyz"; # need to change this in many similar blocks further
down
$var[9] = "789;
}
.... (most likely split nedit screen here) ...
if(whatever2) {
$var[1] = etc etc
The red text above is an example of highlighting required. This would be
temporary, and disappear on command or when saving file.
Any suggestions appreciated.
Rgds,
I haven't researched this properly, apologies if it's obvious, or obviously
impossible :=)
I'd like to be able to highlight, in some colour or some background, some
small pieces of code in a program being edited with Nedit, to server as
reference and reminder for editing/checking/changing some other similar code
further down in a file. This seems to be in the domain of highlighting
syntax, but it's not constant highlighting of a set syntax style. I just
want to sweep over some bits of code and highlight them somehow, and have
them stay highlighted until further notice
Example:
if (whatever) {
$var[1] = 123;
$var[3] = "abc"; # need to change this in many similar blocks further
down
$var[5] = 456;
$var[7] = "xyz"; # need to change this in many similar blocks further
down
$var[9] = "789;
}
.... (most likely split nedit screen here) ...
if(whatever2) {
$var[1] = etc etc
The red text above is an example of highlighting required. This would be
temporary, and disappear on command or when saving file.
Any suggestions appreciated.
Rgds,
--
Greg Edwards
gedwards2-***@public.gmane.org
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Greg Edwards
gedwards2-***@public.gmane.org
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss