can I highlight C variables

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
wefergus
Posts: 2
Joined: Fri Apr 24, 2015 1:42 am
Location: United States

can I highlight C variables

Post by wefergus »

I want to highlight a list of verilog array names in code, the issue is that the arrays in the C code occur with and without indices, e.g., x, x[7:0],
x[7:0][3]. The convenient syntax highlighting works fine for occurrences of x, but the occurrences of x with trailing index selectors are not highlighted. I tried adding []:0123456789 to the "Other characters in words" but that did not work. Any suggestions?
wefergus
Posts: 2
Joined: Fri Apr 24, 2015 1:42 am
Location: United States

Post by wefergus »

Notepad++ makes this relatively easy to do, and while you're editing the file(s). A control-F (find) also gives you the option of finding all occurrences of the selected variable in either the current file or across all opened files. I'm told Eclipse also has this feature.
Post Reply