You are here: PSPad forum > Developer forum - new builds > PSPad unicode 4.5.8 (2485) English
Posted by: human | Date: 2014-09-24 20:03 | IP: IP Logged
pspad:MadCompie:The COBOL syntax is OK! I had to change the last col to 72 in the highlighter settings ; by default it was 71.
Thx!What is the correct default value for strict syntax? 71 or 72?
72 is the correct column to set. But with col 72 set you see the error that columns 74+ are marked (should be columns 73+) [retested with r2503].
For testing purposes click on "quote" and copy the following source to PSPad, both "a" at end of line 1 should be marked.
DISPLAY "THIS IS A VERY LONG STRING OVER THE MAXIMUM WITH LINaa
- "E CONTINUATION VIA INDICATION AREA"
END-DISPLAY
Retested with r2503, too: the end of strings isn't correctly recognized on first file load (gets corrected if you edit somewhere in the line).
For testing purposes click on "quote" and copy the following source to PSPad, use COBOL free format - both strings are correctly recognized. Now save the file and close + reopen PSPad. You'll have the file auto-loaded but the first string ending is not recognized.
05 LINE PLUS 1 COLUMN 1 VALUE '<---LOWLIGHT---><---HIGHLIGHT--><----LOW,REV---><---HIGH,REV--->'.
05 LINE PLUS 1 COLUMN 1 BACKGROUND-COLOR 0 FOREGROUND-COLOR 0 VALUE '00'.
Thank you for your work!
human
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR