THE WELCH COMPANY
440 Davis Court #1602
San Francisco, CA 94111-2496
415 781 5700


S U M M A R Y


DIARY: January 2, 2003 11:23 AM Thursday; Rod Welch

Improved addressability adding anchors to headlines in SDS.

1...Summary/Objective
2...000008 Macro 142 Save Function Underlined Headings within 6 Lines
3...Save F2 Add Anchors to Para and Headings Automatically
4...0702051 Save Function Add Anchors to All Para and Headings
5...Anchors Every 15 Lines Removed
6...Lists with Multiple Dots Anchors Above List - Eliminated
7...Anchors Above Indented Line Numbers Eliminated


..............
Click here to comment!

CONTACTS 

SUBJECTS
Save, Primary, F2, macro 142, 0702051
Save Anchors Add to All Para in SDS record During Save, F2 macro 142,

0504 -
0504 -    ..
0505 - Summary/Objective
0506 -
050601 - Follow up ref SDS 21 0000.
050602 -
050603 - Improved adding anchors to underlined headlines, and changed process
050604 - so that the anchor is always located directly above the left margin of
050605 - every headline, ref SDS 0 WS6I, or if there is an indented line number
050606 - level, the anchor is on the first line above the indent, 4 - 5 lines
050607 - above the top of the headline.  Since adding anchors are now part of
050608 - justify op, eliminated automatic assignment of anchors every 15 lines,
050609 - and, also the routine that tests lists and puts anchors above a list.
050610 - This should fall out naturally when justifying text that explains a
050611 - table or a list.
050613 -          ..
050614 -         [On 030121 add new feature to add anchors to every para in an
050615 -         SDS record. ref SDS 27 0001
050616 -
050617 -
050618 -
050619 -
050620 -
050622 -  ..
0507 -
0508 -
0509 - Progress
0510 -
051001 - 000008  Macro 142 Save Function Underlined Headings within 6 Lines
051002 - Save F2 Add Anchors to Para and Headings Automatically
051003 - 0702051  Save Function Add Anchors to All Para and Headings
051004 -
051005 - Follow up ref SDS 21 0218.
051007 -  ..
051008 - Background...
051009 -
051010 -    On 020320 developed code to create anchors within 6 lines of a
051011 -    headline. ref SDS 21 0218
051012 -
051013 -    This was primarily driven by the need to bypass indented line
051014 -    numbers, as shown above. ref SDS 21 LW8I
051016 -     ..
051017 -    Gary has pointed out that the 6 line rule for headlines is not
051018 -    adequate.  Actually, investigation shows that for some reason I
051019 -    adopted a 10 line rule.  Gary wants the anchor immediately above
051020 -    the headline.
051022 -     ..
051023 -    Yesterday, the code for macro 49 that justifies text was modified
051024 -    to add an anchor on every paragraph. ref SDS 26 0001  Therefore, we
051025 -    no longer need the feature to add anchors every 15 lines for text,
051026 -    and this changes the philosophy of placing anchors on headlines. So
051027 -    today, will revise the code to handle indented lines separately for
051028 -    context, but all other underlines headlines get anchors immediately
051029 -    above the top description line.
051031 -  ..
051032 - Line 580, ref OF 1 QH6J, -label hdgLp1 in 000008
051033 -
051034 -    Adding anchors to headlines begins at this location by finding
051035 -    instances of continuous single line draw char.
051036 -
051038 -  ..
051039 - Line 620, ref OF 1 ZP3K, -label anchor in 000008
051040 -
051041 -    After finding a line draw char string that identifies a potential
051042 -    headline....
051043 -
051044 -    macro 541
051046 -        ..
051047 -       Place cursor on the left margin and capture that column.
051049 -  ..
051050 - Line 540, ref OF 1 2L5K, -label ancHe
051051 -
051052 -       Scroll file down until a blank line or an anchor char is found.
051053 -       If there is an anchor, return and look for next headline
051054 -       symbol, and if there is not an anchor, add an anchor above the
051055 -       headline.
051056 -
051058 -  ..
051059 - Line 680, ref OF 1 PK9O, -label aw6l in 000008
051060 -
051061 -    Added feature to avoid putting an anchor above a headline where an
051062 -    indented line number occurs, and instead, walk up the file to the
051063 -    first line above the indented line number and place the anchor at
051064 -    that location for context.
051065 -
051067 -  ..
051068 - Anchors Every 15 Lines Removed
051069 -
051070 - Follow up ref SDS 21 K33N.
051071 -
051072 - Line 1010, ref OF 1 SD5G, -label ancHg
051073 -
051074 -     As a result of work yesterday on 030101, decided to eliminate this
051075 -     long complicated code that wasn't working very well anyway.  It
051076 -     was putting anchors where they don't belong, and not getting them
051077 -     in some cases where they do belong; and, all of the anchors were
051078 -     inline, which turned out not to be effective.  This, however, was
051079 -     useful experience for adding an anchor function to the justify op
051080 -     on 021228, ref SDS 25 6C4L,
051082 -          ..
051083 -         [On 030121 add new feature to add anchors to every para in an
051084 -         SDS record. ref SDS 27 BU5I
051086 -      ..
051087 -     This may have to be restored.  Experience may show that some users
051088 -     do not use Alt F9 to justify their text, which adds anchors,
051089 -     because they are satisfied with the initial pass on whatever is
051090 -     written.  Justifying comes mostly from revisions to refine the
051091 -     language.
051092 -
051094 -  ..
051095 - Lists with Multiple Dots Anchors Above List - Eliminated
051096 -
051097 - Line 590, ref OF 1 R24N, -label dots
051098 -
051099 -     Also, as a result of work on 030101 decided to eliminate this
051100 -     code.
051102 -      ..
051103 -     One rationale for this code was to avoid a list being processed
051104 -     as a para with justify from adding an anchor.  This would disrupt
051105 -     the structure of the table.  Since automatic adding anchors is
051106 -     eliminated, this can also be eliminated.
051107 -
051109 -  ..
051110 - Anchors Above Indented Line Numbers Eliminated
051111 -
051112 - Line 1160, ref OF 1 RW5I, -label lpinD in 0702051
051113 -
051114 -     This code is not needed because we added the feature to the code
051115 -     that adds anchors above headlines. ref SDS 0 BG5F
051116 -
051117 -
051118 -
051119 -
051120 -
051121 -
051122 -
051123 -
051124 -
051125 -
051126 -
0512 -