COBOL Lexer

All questions regarding lexer highlighting schemes are discussed here...
uvviewsoft
Posts: 392
Joined: 01.12.2020 13:46

Post by uvviewsoft »

Paolo_R wrote:Well I have made changes exactly as your screen shot showed but the margin lines do not show up when I open a .CBL file.
need to check 2 things--

a- file 'settings/lexer Cobol.json' has the 'margin_string' option
b- this Cobol lexer is activated for your file (see statusbar)
Paolo_R
Posts: 24
Joined: 23.01.2021 01:11

Post by Paolo_R »

Yes, it's there in lexer Cobol.json:

Code: Select all

{
    "margin_string": "8 12 16 72",
}
I only need the guide lines as shown above. Restarting the editor made no difference.
uvviewsoft
Posts: 392
Joined: 01.12.2020 13:46

Post by uvviewsoft »

I just checked it: for Lua lexer, opened 'Options / settings - lexer-specific', entered this text there,

Code: Select all

{
    "margin_string": "8 12 16 72",
}
and restarted editor. Lua files show these vert-lines.
Try to call 'Plugins / Options Editor', focus this option 'margin_string', and show screenshot of Option Editor?
Paolo_R
Posts: 24
Joined: 23.01.2021 01:11

Post by Paolo_R »

See attached screen shot.
Screenshot.jpg
Shovel
Posts: 141
Joined: 31.12.2019 10:16

Post by Shovel »

Fascinating :D
You can try changing the color of the lines at "Options > Settings - theme - ui... > editor, margins, user defined"
And... sorry, but could you post a screenshot of the editor with COBOL file opened?
Paolo_R
Posts: 24
Joined: 23.01.2021 01:11

Post by Paolo_R »

Changed the colour to white - still did not show.
Screenshot.jpg
uvviewsoft
Posts: 392
Joined: 01.12.2020 13:46

Post by uvviewsoft »

they do show! screenshot shows them, look at bottom at lines 40..41. just set them another color (@Shovel wrote).
Shovel
Posts: 141
Joined: 31.12.2019 10:16

Post by Shovel »

Seems like 1 pixel lines don't work well on the 4K screen :D
@uvviewsoft, is there an option to make them thicker?
uvviewsoft
Posts: 392
Joined: 01.12.2020 13:46

Post by uvviewsoft »

Not yet; I need the Github issue for that, pls.
Shovel
Posts: 141
Joined: 31.12.2019 10:16

Post by Shovel »

Post Reply