Revert accidentally committed part of r12511 (STR #2788).
r12511: "Addresses STR #2788 for cursor positioning with mouse-click ..." The here reverted part was the proposed patch of STR #3412: "Fl_Text_Display scroll bug (style table with font != textsize() + wrap)". See patch file: http://www.fltk.org/strfiles/3412/quickfix.patch git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12518 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
4593081b69
commit
071f4912a7
@ -516,8 +516,7 @@ void Fl_Text_Display::resize(int X, int Y, int W, int H) {
|
||||
text_area.w, oldTAWidth, text_area.w - oldTAWidth);
|
||||
#endif // DEBUG2
|
||||
|
||||
if (mContinuousWrap && !mWrapMarginPix ) {
|
||||
//if (mContinuousWrap && !mWrapMarginPix && text_area.w != oldTAWidth) {
|
||||
if (mContinuousWrap && !mWrapMarginPix && text_area.w != oldTAWidth) {
|
||||
|
||||
int oldFirstChar = mFirstChar;
|
||||
mNBufferLines = count_lines(0, buffer()->length(), true);
|
||||
|
Loading…
Reference in New Issue
Block a user