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
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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
Fix folding issue
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
Logged In: YES
user_id=916327
Originator: NO
Done in v4.7.2
Don