[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

891.0. "DOCUMENT and/or LSE can't handle form-feeds" by CASEE::CLARK (Ward Clark) Thu Sep 10 1987 17:21

    For the past several weeks I've been working on some large VAX DOCUMENT
    files and have been having a chronic problem with LSE's REVIEW command
    reporting legitimate errors, but not including the right source line
    in error buffer.  GOTO SOURCE also then goes to the same, wrong line. 

    Today I found the cause.  My DOCUMENT source file includes form-feeds
    (as the only character on a line) to separate the major sections of
    the file.  These form-feeds don't cause any document formatting
    problem, but they do screw up line counting.

    Thus, if there is an error in the 5th "page" (after 4 form-feeds) of a
    DOCUMENT source file, REVIEW and GOTO SOURCE will point at the source
    line which is 4 lines after the actual error.

    The strange thing about this line counting error is the actual error
    message in the REVIEW buffer.  For example,

	%TAG-E-GTMAXARGS, at tag <HEAD2> on line 244 in file

    In this case, it WAS the line 244 that was in error, but GOTO SOURCE
    went to line 248!

    While we're at it, there's another little problem with GOTO SOURCE.
    When it highlights the line in error (even if it's the right line),
    the first character of the line is not highlighted.

    -- Ward

    P.S.  I've also posted this bug report in the LSE_BUGS Conference.
T.RTitleUserPersonal
Name
DateLines
891.1VAX DOCUMENT is to blameCASEE::CLARKWard ClarkSun Sep 13 1987 17:1013
			    <<< TLE::LSE_BUGS.NOTE >>>
                 -< VAX Language-Sensitive Editor Bug Reports >-
================================================================================
Note 130.2         LSE and/or DOCUMENT can't handle form-feeds            2 of 2
PSW::WINALSKI "Paul S. Winalski"                      5 lines  11-SEP-1987 14:14
                         -< VAX DOCUMENT is to blame >-
--------------------------------------------------------------------------------

One of the LSE diagnostic file header records tells whether or not the compiler
is counting form feeds in the line numbers that it reports with errors.
Apparently VAX DOCUMENT is not setting the "count formfeeds" flag properly.

--PSW