SlickEdit Product Discussion > Slick-C® Macro Programming

compword.e modification to skip duplicates



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.


SlickEdit Support: now attached to this reply.

SlickEdit Support


[0] Message Index

Go to full version