News:

  • October 14, 2025, 12:57:48 PM

Login with username, password and session length

Author Topic: UDT editing bug  (Read 5960 times)

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3601
  • Darth Ladder
Re: UDT editing bug
« Reply #15 on: April 07, 2021, 10:17:48 AM »
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

ADC Product Engineer

  • Hero Member
  • *****
  • Posts: 270
Re: UDT editing bug
« Reply #16 on: April 07, 2021, 11:03:34 AM »
Not every install/modification/upgrade has drawings.

Sounds like the story of my life.  I was always shocked when I found a job with up to date prints.  Or for that matter prints at all.

Bolt

  • Hero Member
  • *****
  • Posts: 591
Re: UDT editing bug
« Reply #17 on: May 19, 2022, 01:16:03 PM »
Fixed.

I changed the behavior so that focus must now be on the report grid control for the INSERT and DELETE keys to work since those also function for the edit control for the Structure Name.  Focus now also gets pushed back to the report grid control after most button actions (rather than staying on the button) to help leverage the usage of those keystrokes.

The Alt+ Accelerator keys are there and work - see the attached screen shot.  You must press down on the Alt key while hitting the accelerator.

Windows hides the underscore that reveals the Alt+ Accelerator keys, until you hit the Alt key.  The attached screenshot shows the underscores because I hit the Alt key to reveal them.

Here's the ones you asked about:

So Edit is Alt+E
Move Up is Alt+U
Move Down is Alt+W
Renumber is Alt+R

This works as described now, thanks!

Bolt

  • Hero Member
  • *****
  • Posts: 591
Re: UDT editing bug
« Reply #18 on: May 19, 2022, 01:22:20 PM »
It would be like doing this in one step:

Replace "Dog" with "Cat"
Replace "Horse" with "Mule"
Replace All CaSe forms of "Cars" with "Auto"
Swap "Tree" with "Plant" (Tree becomes Plant, Plant becomes Tree), and swap any attached hyperlinks (or not)

I agree, it's pretty powerful.  But if you'd do all that one Replace List, you'd be a glutton for punishment.  Every time I try to do that many Replaces in one List, I inadvertently hit Enter halfway through typing my 5th list entry, and it runs the partial batch, and I'm left figuring out just which entry I was one and picking up where I left off.

Could you make the "Replace Summary" dump to an Output Window of sorts?

So, now I notice there's a new popup that prompts "Confirm Replace List", which I kinda like (see, not all popups are bad). However, if there's one item on the list, and I'm  creating a second and I hit Enter, it does not do this popup.  If there's two or more on the list, it does popup.

Also, could you make it that after I hit the 'Add to List' button (I usually tab to it and press space), the cursor automatically returns to the first condition's input field?  Seems logical to me.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: UDT editing bug
« Reply #19 on: May 19, 2022, 02:32:37 PM »
So, now I notice there's a new popup that prompts "Confirm Replace List", which I kinda like (see, not all popups are bad). However, if there's one item on the list, and I'm  creating a second and I hit Enter, it does not do this popup.  If there's two or more on the list, it does popup.

The typical use case is 1 replacement and hitting ENTER to do that 1 replacement.

Multiple replacements at one time is not the typical use case.  Hence, no nag dialog for the typical use case.  I have rarely seen an editor that lets you batch-up replace lists like Designer does.  It is a cool feature, but the work flow caters to the typical use case like 99% of all the other editors out there (no nag dialog).

Quote
Also, could you make it that after I hit the 'Add to List' button (I usually tab to it and press space), the cursor automatically returns to the first condition's input field?  Seems logical to me.
Yes, that makes sense.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: UDT editing bug
« Reply #20 on: May 19, 2022, 02:35:04 PM »
Multiple replacements at one time is not the typical use case.  Hence, no nag dialog for the typical use case.  I have rarely seen an editor that lets you batch-up replace lists like Designer does.  It is a cool feature, but the work flow caters to the typical use case like 99% of all the other editors out there (no nag dialog).

Let me re-visit this.  I think I understand now that you have started building the list.  Will look at it!  (sorry).

Bolt

  • Hero Member
  • *****
  • Posts: 591
Re: UDT editing bug
« Reply #21 on: May 19, 2022, 06:22:22 PM »
Yes, see attached.  The left window will execute upon pressing Enter, (presumably only the V replace, which is debatable), while the right window will prompt, allowing me to double check myself. Just trying to help you create a consistent UI across the scenarios.

RBPLC

  • Hero Member
  • *****
  • Posts: 585
Re: UDT editing bug
« Reply #22 on: May 19, 2022, 08:18:21 PM »
If possible, it would be nice to make the replace window lose focus so that ladder code could be explored while keeping the replace window open.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: UDT editing bug
« Reply #23 on: May 20, 2022, 08:41:17 AM »
Yes, see attached.  The left window will execute upon pressing Enter, (presumably only the V replace, which is debatable), while the right window will prompt, allowing me to double check myself. Just trying to help you create a consistent UI across the scenarios.
Yeah, that's what I figured out that's what you were describing.  Definitely an issue.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: UDT editing bug
« Reply #24 on: June 02, 2022, 10:17:07 AM »
So, now I notice there's a new popup that prompts "Confirm Replace List", which I kinda like (see, not all popups are bad). However, if there's one item on the list, and I'm  creating a second and I hit Enter, it does not do this popup.  If there's two or more on the list, it does popup.
Fixed.  Will be in next release.  When you have a pending item along with a list you've started, it will prompt you see if you want to Add pending item, Ignore pending item, or Cancel and return to Replace dialog to make some tweaks.

Quote
Also, could you make it that after I hit the 'Add to List' button (I usually tab to it and press space), the cursor automatically returns to the first condition's input field?  Seems logical to me.
Fixed.  Will be in next release