Menu

#35 Dynamic horizontal scrollbar

Unstable_(example)
closed
Don HO
None
9
2008-01-06
2007-11-21
Harry
No

Patch removes old horizontal scrollbar behaviour and uses a new function to calculate the scrollbar depending on current visible text.
Notepad_plus also has a modified line for
vector<pair<int, int> > so it would compile on VS 7

Discussion

  • Harry

    Harry - 2007-11-21
     
  • Harry

    Harry - 2007-11-22
     
  • Harry

    Harry - 2007-11-22

    Logged In: YES
    user_id=1831293
    Originator: YES

    Adding fix for the scintilla scrollbar problem where it wraps around on long lines when dragging. This should in total fix most scrolling issues
    File Added: ScintillaWin.zip

     
  • Harry

    Harry - 2007-11-22

    Logged In: YES
    user_id=1831293
    Originator: YES

    Sorry for the clutter, but I discovered a bug in the old code. The width to be set could be zero, possibly causing a crash.
    Zero width will now be set to 1, which still hides the scrollbar (caret is atleast 1px anyway)
    File Added: ScintillaEditView.zip

     
  • Harry

    Harry - 2007-11-22
     
  • Don HO

    Don HO - 2007-12-12
    • priority: 5 --> 9
    • assigned_to: nobody --> donho
     
  • Don HO

    Don HO - 2007-12-12

    Logged In: YES
    user_id=916327
    Originator: NO

    Harry,

    I integrated your modification and try it out.
    Indeed, it's a very nice patch!

    It'll be in the next release.
    Thank you for your contribution.

    Don

     
  • Harry

    Harry - 2008-01-05

    Fix folding issue

     
  • Harry

    Harry - 2008-01-05

    Logged In: YES
    user_id=1831293
    Originator: YES

    Added patch to fix folding issues, where a folded document would cause errors with scrollbar calculations.

    Also a commented line to make the scrollbar permanently visible by a hack, which doesnt work in 100% of the cases (hence commented).
    Afaik Scintilla needs to be recompiled to make the scrollbar always visible.
    File Added: scrollbarpatch.diff

     
  • Don HO

    Don HO - 2008-01-06
    • status: open --> closed
     
  • Don HO

    Don HO - 2008-01-06

    Logged In: YES
    user_id=916327
    Originator: NO

    Done in v4.7.2

    Don

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.