#45 Vertical and multilined tabs

closed
Don HO
None
8
2008-03-15
2008-01-12
Anonymous
No

This modification adds two separate settings. One for a vertical tab and one for a multiline tab in the settings dialog under TabBar. It also fixes a flickering issue I noticed where the tab control was being completely redrawn when it didn't need to. For a lot of the drawing their are hard coded numbers for drawing offsets. Please respects these as it took me forever to get it looking perfect in all the possible tab views.

Please see preference.rc.txt as it is NOT a diff, but rather instructions on adding two lines to the RC file.

Lastly, enjoy.

Nathan Moinvaziri
nathan@nathanm.com
http://www.nathanm.com/

Discussion

  • Nobody/Anonymous

    NotepadPlus patch for vertical and multiline tabs

     
  • Nathan

    Nathan - 2008-01-12

    Logged In: YES
    user_id=1974078
    Originator: NO

    Piece of shit sourceforge didn't ask me to sign on before submitting. Effing a.

     
  • Nathan

    Nathan - 2008-01-12

    Logged In: YES
    user_id=1974078
    Originator: NO

    TabBar.cpp @ Line 531
    Add..

            if \(\!\_isVertical\)
                barRect.bottom += 2;
    

    Ie..

        if \(\_drawInactiveTab\)
        \{
            RECT barRect = rect;
    
            if \(\!\_isVertical\)
                barRect.bottom += 2;
    
            hBrush = ::CreateSolidBrush\(RGB\(192, 192, 192\)\);
            ::FillRect\(hDC, &barRect, hBrush\);
            ::DeleteObject\(\(HGDIOBJ\)hBrush\);
        \}
    
     
  • Nathan

    Nathan - 2008-01-12

    Logged In: YES
    user_id=1974078
    Originator: NO

    The last post that I made also fixes a drawing issue visible in the current version of Notepad++.

     
  • Don HO

    Don HO - 2008-01-17
    • priority: 5 --> 8
    • assigned_to: nobody --> donho
     
  • Don HO

    Don HO - 2008-03-15
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks