Ticket #4401: 4401_cinput.2.patch
File 4401_cinput.2.patch, 965 bytes (added by , 7 years ago) |
---|
-
source/gui/CInput.cpp
461 461 462 462 case SDLK_PAGEUP: 463 463 GetScrollBar(0).ScrollMinusPlenty(); 464 UpdateAutoScroll(); 464 465 break; 465 466 466 467 case SDLK_PAGEDOWN: 467 468 GetScrollBar(0).ScrollPlusPlenty(); 469 UpdateAutoScroll(); 468 470 break; 469 471 /* END: Message History Lookup */ 470 472 … … 551 553 UpdateText(m_iBufferPos, m_iBufferPos, m_iBufferPos+1); 552 554 553 555 m_iBufferPos += (int)wcslen(text); 556 UpdateAutoScroll(); 554 557 UpdateBufferPositionSetting(); 555 558 556 559 sys_clipboard_free(text); … … 815 818 { 816 819 GUI<int>::GetSetting(this, Message.value, m_iBufferPos); 817 820 m_iBufferPos_Tail = -1; // position change resets selection 821 UpdateAutoScroll(); 818 822 } 819 823 820 824 if (Message.value == CStr("size") || … … 987 991 break; 988 992 } 989 993 } 994 UpdateAutoScroll(); 990 995 break; 991 996 } 992 997