Author Topic: compword.e modification to skip duplicates  (Read 11085 times)

Graeme

  • Senior Community Member
  • Posts: 2793
  • Hero Points: 347
compword.e modification to skip duplicates
« on: June 27, 2006, 11:03:37 AM »

Attached (maybe) is compword.e from slick V11 modified to provide complete_next_no_dup() and complete_prev_no_dup() functions (same changes as I posted on lazyhacker for V10).  This allows you to optionally skip names already shown i.e. you can still use the existing completion functions that don't skip duplicates, or alternate between them.

It's a fairly simple change though I'm not 100% confident of the change in complete_nextprev() where I use the pos function but I forget what the potential problem was.  I use it intensively and it works fine for me.

As always, back up compword.e first or open it in vslick before changing it, so that you get a backup history for it.

If any slickedit people read this, it'd be nice if this became part of official slickedit source  :)

oops, attachment failed with error reported being "non writeable attachment directory.
Oh well, I'll attach it when attachments work.

Graeme

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 384
  • Hero Points: 29
Re: compword.e modification to skip duplicates
« Reply #1 on: June 27, 2006, 01:08:43 PM »
compword.zip now attached to this reply.

Best,
SlickEdit Support