Hello all--

First off, thanks for a really functional program!!!

Secondly, I don't know if this is a bug or not.

ENVIRONMENT:   Insert a field of type Section*  (probably plain
               Section as well) with a page break above it
      

GUI PATH:  Insert->Import ASCII File->Import as Lines
                    choose a file from the file browser
                    
Insert a text file formatted similar to the following:

============START FILE====================
INTERFACE TestDirector;

TYPE SC = SEQUENCE of SHORT CHARACTER;
TYPE batchServAddr = SC;
TYPE batchServPort = INTEGER;
TYPE stringList = SEQUENCE of SC;

CONSTANT RegFile : SC = "TestHarness.reg";
CONSTANT homeArea : SC = "/usr/TestDirector/";
CONSTANT OK : BOOLEAN = TRUE;  
CONSTANT NOTOK : BOOLEAN = FALSE;  
CONSTANT NIL : SC = '';
CONSTANT mailaddrLen : INTEGER = 30;

================END FILE=====================

When you display (via dvi) or print the file, the first line in the
file will be indented differently from the other lines.

WORKAROUND:  manually insert protected spaces until the text is
correctly aligned (ugly) or insert a blank line at the front of the
imported file prior to importing it.  However, the latter doesn't work 
well with programs using the #! hack to specify an interpreter.

NOTES:  doing an import _after_ a Section section (pun intended) is
important.  I'm not certain if the preceding page break is important
or not.


--Brad







   

Reply via email to