Cross Reference List (XRef)

Post your working scripts, libraries and tools
stealzy
Posts: 69
Joined: 01 Nov 2015, 13:43

Re: Cross Reference List (XRef)

12 Jan 2018, 10:10

Great obfuscation, it looks crazy ;) ! Just a small piece of your script if you don't mind:

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus


How do you do this?

I use Notepad++ Ctrl+F → "Find all in current document" button for this goal.
Little bug: function map display hotkeys like a:: as function.
Last edited by stealzy on 12 Jan 2018, 14:35, edited 1 time in total.
Helgef
Posts: 2843
Joined: 17 Jul 2016, 01:02
Contact:

Re: Cross Reference List (XRef)

12 Jan 2018, 10:38

@ stealzy see, someone else had similar questions ;). I reacted similarily to ReClip source code, but I found it quite easy to modify because the code was well commented, much more than your snippet, it looks a bit daunting indeed ;).

@ TAC109, I'm still using ReClip quite often, XRef, occasionally. :thumbup:

Cheers :wave:.
TAC109
Posts: 210
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Cross Reference List (XRef)

12 Jan 2018, 18:12

@stealzy - Well, my code is not quite as confusing as you portray, as you've lost the comments and indents in your shown example! Many short variable names are simple contractions of a longer more meaningful name (saves typing). The single character names near the end of the alphabet (z, y, x, etc) are like localised working registers (contents used within a few lines only).

Anyway, thanks for trying XRef. I'll look into the bug you found.

@Helgef - I haven't progressed much with the '#include' enhancement we discussed a while ago as there doesn't seem to be much demand for this facility, and I don't need it myself. I've mentally planned the method I would use, but not coded anything.

Thanks for your comments.
My programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts

TAC109
Posts: 210
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Cross Reference List (XRef)

12 Jan 2018, 18:44

stealzy wrote:Little bug: function map display hotkeys like a:: as function.
Actually, that's not a bug. For AHK scripts, XRef includes functions and labels in the 'Function Map'. As hotkeys can be the subject of 'goto' and 'gosub' commands, they are included in the report.

Cheers
My programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts


Return to “Scripts and Functions”

Who is online

Users browsing this forum: brutus_skywalker and 21 guests