Results 1 to 8 of 8

Thread: IDE AddIn to have a frame around the current line

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2023
    Posts
    39

    IDE AddIn to have a frame around the current line

    After searching for Addins for the vb 6 ide and analyzing them, I finally wrote one myself:
    Name:  3D6D.png
Views: 223
Size:  5.4 KB


    It highlights the current line in the IDE with a frame.

    Color can be changed inTools -> Frame around current line.
    And an x and y Offset can be set if the frame does not match the line

    I find this very usefull, as the textcursor in the ide has always one pixel width, regardless of the system setting

    Download the zip file, build the project in to any folder, and have fun.
    FrameCurrentLine.7z (V1.0.45)

    Required for building:
    MSADDNDR.OLB from any MS Office


    Update 11.7.2024:
    - now in split code windows and current line is in the lower pane the frame is drawn correctly
    - reduced fragments of old frames

    FrameCurrentLine.7z

    Chris
    Last edited by Chris_G33; Jul 11th, 2024 at 04:29 AM.

  2. #2

    Thread Starter
    Member
    Join Date
    Feb 2023
    Posts
    39

    Re: IDE AddIn to have a frame around the current line

    New version which compiles without MSADDNDR.TLB

    FrameCurrentLine.7z

  3. #3
    Junior Member
    Join Date
    Jun 2015
    Location
    Netherlands
    Posts
    26

    Re: IDE AddIn to have a frame around the current line

    What I got in my IDE

    Name:  Screenshot_3.jpg
Views: 155
Size:  23.5 KB

  4. #4

    Thread Starter
    Member
    Join Date
    Feb 2023
    Posts
    39

    Re: IDE AddIn to have a frame around the current line

    Quote Originally Posted by jangle View Post
    What I got in my IDE
    new version:
    FrameCurrentLine.7z

    if still old frames are not removed, select this option:
    FrameCurrentLine.7z

    What font do you use?
    Attached Images Attached Images  
    Attached Files Attached Files
    Last edited by Chris_G33; Jun 22nd, 2024 at 12:00 PM.

  5. #5
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,404

    Re: IDE AddIn to have a frame around the current line

    If you keep the top most zip updated, then simply refer back to the topmost post. You can describe the updates in a new post and refer back to the top each time. Saves having multiple links to multiple versions. Looks like a useful add-in.
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  6. #6
    Junior Member
    Join Date
    Jun 2015
    Location
    Netherlands
    Posts
    26

    Re: IDE AddIn to have a frame around the current line

    Quote Originally Posted by Chris_G33 View Post
    new version:

    What font do you use?
    I use Consolas font. The new version seems to work correctly.

    Name:  sc1.png
Views: 104
Size:  14.4 KB

  7. #7
    Fanatic Member
    Join Date
    Nov 2011
    Posts
    549

    Re: IDE AddIn to have a frame around the current line

    havent tested, but what if you have an underscore to use a new line.

    ie declaration xyz _
    (byval test as integer)

    would it frame 2 lines.?

  8. #8

    Thread Starter
    Member
    Join Date
    Feb 2023
    Posts
    39

    Re: IDE AddIn to have a frame around the current line

    no, the frame is around the line with the text cursor. There is no code analyzing, although it is possible to implement, but I have no intension to do so.

    Chris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width