White on red background for LOWLIGHT.

Issue #15 resolved
Former user created an issue

When using the LOWLIGHT attribute in the SCREEN LAYOUT section, I noticed that LOWLIGHT attribute is showing up with red background with white text. I wondered if this was due to LOWLIGHT not been included? Is it possible for LOWLIGHT to be coloured like other screen attributes.

Comments (5)

  1. Stephen Gennard repo owner

    This is correct, LOWLIGHT is only available in ACU COBOL dialect, if you change to the ACUCOBOL dialect you will find it is okay.

    The reason it is highlighted is that is non-portable syntax.

  2. Seven Cookies

    Hello Stephen,

    I created an Bitbucket account to reply.

    I tried the ACU COBOL as your suggested and there was no different? I have attached a screen image with ACU COBOL selected. Maybe I am doing something wrong?

    I am not sure the support of this package with GnuCobol (previously OpenCobol), but on page 140 on the programmers reference guide for GnuCobol, the screen section shows;

     level-number [ identifier-1 | FILLER ]
                                   ~~~~~~
    
     [ AUTO | AUTO-SKIP | AUTOTERMINATE ] [ BELL | BEEP ]
       ~~~~   ~~~~~~~~~   ~~~~~~~~~~~~~     ~~~~   ~~~~
    
     [ BACKGROUND-COLOR|BACKGROUND-COLOUR IS integer-1 | identifier-2 ]
       ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
    
     [ BLANK LINE|SCREEN ] [ ERASE EOL|EOS ]
       ~~~~~ ~~~~ ~~~~~~     ~~~~~ ~~~ ~~~
     [ BLANK WHEN ZERO ] [ JUSTIFIED RIGHT ]
    
       ~~~~~      ~~~~     ~~~~
     [ BLINK ] [ HIGHLIGHT | LOWLIGHT ] [ REVERSE-VIDEO ]
    

    I don’t use ACU COBOL and perhaps OpenCobol didn’t support LOWLIGHT prior to becoming GnuCobol, so hence that is why it is still white on red? I am not sure the history.

    I like this package very much and would like to thank you for your efforts in its development. If it some stage you consider supporting GnuCobol in addition to OpenCobol, it would be deeply appreciated.

  3. Log in to comment