Elardus:

I think I found the problem that caused ISPF to go sideways on coloring.

A self-inflicted wound as it were.

I did a subsequent find for a string that identified a routine I need to add logic to, about 2000 lines earlier. It was there I noticed that I had mangled a literal. It started with " and ended with '.

That was the beginning of sorrows. So ISPF went nuts with coloring (Er hat die Nase voll).

BTW -I did state at the beginning that I was doing REXX coloring including IF and DO with parenthesis matching.

One of the problems of working from home -- no one to look over your shoulder and start snickering.


Regards,
Steve Thompson


On 02/26/2016 09:33 AM, Elardus Engelbrecht wrote:
Steve Thompson wrote:

There is a string that is built and assigned to a variable, like so:
table_end = substr('x//* END Marker',1,50,' ')
After the /* is seen, everything from that point has the color of a comment.

Hmmm, I tried above string out (HILITE = REXX, Coloring = 2 (color program), 
all other options marked with slash),

... but I see this inside a REXX program:

<color> <double quote char><what is shown by color in left><double quote char>

green  "table_end"
yellow "="
reed   "substr"
green/white  "("
white  "'x//* END Marker'"
green  ",1,50,"
white  "' '"
green/white  ")"

(Your single quotes are also shown)

When Parentheses matching are marked with '/', those green parentheses are 
turned white, else green.

What are your HILITE settings? Can you post them here before you do an ETR?

I believe your HILITE settings were turned off or changed by a edit macro.

Alternative, is that line INSIDE an IF, DO or a Function clauses?

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to