|
-
Jul 23rd, 2019, 10:43 PM
#1
Thread Starter
Addicted Member
[VB6] AddIn Document Map (graphical code thumbnail) - v2.0 Updated 16/06/21
Please download a newer version here: https://www.vbforums.com/showthread....test-versions)
This post is old and will not be updated
***************************************************************************************************
Hi guys I want to share my first Add-In with you: Document Map v2.0 (important bugfix!)
It display graph colored representation of the current code window wich can be clicked to navigate from
one point of the code to another instantly
It shows what part of the code you're seeing in the editor.
Its flicker free!
It has checks to not redraw when there is no code/views changes (its fast and not cpu intensive)
Default Colors:
-Grey: Normal code
-Light Grey: Begin of sub/function
-Green: Comments
Left Click jump to that part of code.
Right click brings a menu to add/remove marks:
Cause I dont know how to access the Flags/Breakpoints I added a few special delimiters
that draw visual clues on the Document Map. (Must be the first chars in the line, except TODO)
'*- = Full purple line
'*1 = Red mark on the right
'*2 = Yellow mark on the right
'*3 = Cyan mark on the right
'TODO: = Shorter green mark on the right
(Marks are part of the code so, unlike bookmarks, they are saved)
Use "Standard API Color Picker" by Elroy
DOWLOAD: vb6_Addin_DocumentMapv2.0.zip
Changelog
=======
v1.0 (24/07/19)
+Basic version as proof of concept (it just 'works') and is my first AddIn. There is a lot
of room for improvement.
v1.1 (26/07/19)
+Change focus back to project so mousewheel works after clicking document map
+Moving while keeping the mouse pressed allow smooth scrolling through the document map
+Right mouse menu give option to set / remove marks
+Codeview are now centered on the click
+While mouse button held it show the name of Sub / Fuction in that part of code
+Support for CodeSmart bookmarks
v1.2 (28/07/19)
+Integrated in VB6 Ide (No more a floating on-top form)
+Full analisys for marks (before was skipping lines if code was too big)
+Reworked some logics for faster code
v1.3 (04/08/19)
+Better drawing representation (with spaces, no more just lines)
+No more double height lines on short documents (double line space instead)
v1.4 (06/08/19)
+Added a refresh to the UserDocument after redrawing wich make it more responsive using a compiled dll while
moving the mouse with the left button down.
+Recicle AddIn toolbar menu (only useful if youre editing the addin and stop it without removing it from
another proyect.
v1.5 (20/08/19)
+Right mouse menu integration on VB Ide (to add marks)
+New Toolbar Icon
v1.6 (06/12/19)
+Added new button to clear inmediate window
v1.7 (07/06/21)
+Added Codemap default region header/footer
+Improve some colors a little. (more contrast on Function/Sub)
+Fixed End Sub/Function draw with a line (should have been working before)
+No more dependency on Office library
+Selection is highlighted on the document map
v2.0 (16/06/21)
+Added Zoom on right mouse menu over Documentmap with zoom level indication and reset.
(Only available on large files and depending on documentmap window size)
+New command bar to move up/down between marks 1,2,3
+Added configuration screen
+Added customizable colors
+Fixed bug wich caused IDE icons to disappear under certain circunstances (Finally!)
IMPORTANT: Before version 2.0 there was bug that produce missing icons on the IDE.
If this happened to you, deleting the reg key "HKCU\Software\Microsoft\Visual Basic\6.0\UI"
and reopening vb6 will restore the lost icons
Improvements while dragging LMB over Documentmap:
+Show procedure name near mouse always (before was only when declaration was visible on screen)
+Full procedure highlight while moving
+Show linenumber
Last edited by shagratt; Apr 19th, 2022 at 11:36 AM.
Reason: Updated
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|