News:

  • August 23, 2026, 08:19:08 PM

Login with username, password and session length

Author Topic: DOC Editor  (Read 14199 times)

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
DOC Editor
« on: September 25, 2019, 10:39:16 AM »
I just noticed in the Documentation Editor that when you define a Nickname for a register, in this instance Peerlink memory, it automatically fills in the nicknames for the bits. This is great, but when I entered text in the Extra field the nickname disappeared. It doesn't for the Description. I think it should only disappear if the Nickname field is overwritten.  In fact, I would like the Extra field defined in the register to be copied in as well to all bits as long as its not overwritten.

OK, another look and I see it only wipes it out if you do a copy of just the Extra field and paste it into the bit definition Extra field.  If  you delete it , the bit nickname returns.  If you type it in, it doesn't wipe out the nickname bit field.




« Last Edit: September 25, 2019, 11:08:18 AM by ATU »

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3843
    • Host Engineering
Re: DOC Editor
« Reply #1 on: September 25, 2019, 11:09:44 AM »
I tried it with the PL0 with Nickname (MyPLZeeRow) and Extra Field (MyExtra) and Description (myDescr), I get the correct Nickname and Extra Field for PL0:0 contact

MyDescr
MyExtra
MyPLZeeRow:0
---] [---


Then I modified the Description and Extra Info for the specific PL0:0 cast record to OtherDescr and OtherExtra and it maintained the nickname:

OtherDescr
OtherExtra
MyPLZeeRow:0
---] [---


Maybe you are doing something different?

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: DOC Editor
« Reply #2 on: September 25, 2019, 11:19:00 AM »
Did you click on the extra field from another entry with your mouse (cntrlC ) and then paste (CntrlV) into the Extra field on the bit entry?  I know you guys do mostly keystrokes without the mouse. I also tried an F2, cntrlC and then cntlV and sometimes it wipes out just the :0 on the nickname. Stranger Things.   I also did a Add Doc range mode on these when I created them all at one time.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3843
    • Host Engineering
Re: DOC Editor
« Reply #3 on: September 25, 2019, 12:48:18 PM »
I can't duplicate it.  I tried pasting Ctrl+V at the field level (not text edit level) in both Description and Extra Info on all my records, and the nickname shows up properly for PL0 and PL0:0.

Start with a new empty project, minimally try to duplicate it, and then post the steps it took.  I know you are seeing something, but there is something missing in what I am doing  to try and duplicate it, hence my request.

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: DOC Editor
« Reply #4 on: September 25, 2019, 01:44:14 PM »
STEP 1  Create new Project
STEP 2 : Open DOC Editor
STEP 3:  ADD DOCUMENTATION RECORD  -  element PL32 (DON'T FILL OUT THE FIELDS)
STEP 4:  IN THE DOC EDITOR - ENTER A NICKNAME AND EXTRA INFORMATION
STEP 5: ADD DOCUMENTATION RECORD IN RANGE MODE ELEMENT PL32:0 - PL32:15
STEP 6:  IN THE DOC EDITOR - USE THE MOUSE, CLICK ON THE EXTRA INFO FIELD FOR PL32 - CNTRLC
STEP 7: MOVE THE CURSOR OR CLICK ON ANY EXTRA INFO FIELD FOR THE BIT DEFINITIONS - CNTRLV AND WATCH THE NICKNAME DISAPPEAR
STEP 8: DELETE THE EXTRA INFO FIELD AND THE NICKNAME REAPPEARS





franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3843
    • Host Engineering
Re: DOC Editor
« Reply #5 on: September 25, 2019, 02:23:06 PM »
I can duplicate it.  Hopefully it's easy to figure out.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3843
    • Host Engineering
Re: DOC Editor
« Reply #6 on: September 25, 2019, 02:24:24 PM »
It disappears when pasting Description fields also

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: DOC Editor
« Reply #7 on: September 25, 2019, 02:31:55 PM »
Its like magic! Now you see it now you don't  :o

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3843
    • Host Engineering
Re: DOC Editor
« Reply #8 on: September 25, 2019, 02:45:10 PM »
Yeah, it appears that if you edit the FIELD TEXT inside the text editor, it works fine.  But when you copy/paste at the RECORD level, it does this.

But it only does it if an actual record for that implied NN does NOT YET EXIST.

If I have PL32 documented w/NN, and PL32:0, PL32:1 have IMPLICIT Nicknames based on PL32.  If I manually edit the Extra Info and/or Description for PL32:1, then that record now exists, but it MAINTAINS the IMPLICIT NN for PL32:1 based on PL32 NN (but it has its OWN Extra Infor and/or Description).  NOW, if I PASTE an Extra Info and/or Description field from another record to the PL32:1 row, IT WORKS (because that record already exists because I previously created a record for it).

So it is ONLY an issue when the NN is IMPLIED from a "parent" element (e.g. base element of a cast) AND there is NOT YET a record for it (i.e. not yet a record for the cast record).  Doesn't seem to bad.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3843
    • Host Engineering
Re: DOC Editor
« Reply #9 on: March 25, 2020, 11:11:22 AM »
Fixed in Designer 2.7