Ticket #4401: 4401_cinput.4.patch
File 4401_cinput.4.patch, 1.4 KB (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); … … 585 588 if (hotkey == "cut") 586 589 { 587 590 DeleteCurSelection(); 591 UpdateAutoScroll(); 588 592 } 589 593 } 590 594 … … 630 634 UpdateBufferPositionSetting(); 631 635 DeleteCurSelection(); 632 636 } 637 UpdateAutoScroll(); 633 638 return IN_HANDLED; 634 639 } 635 640 else if (hotkey == "text.delete.right") … … 663 668 UpdateBufferPositionSetting(); 664 669 DeleteCurSelection(); 665 670 } 671 UpdateAutoScroll(); 666 672 return IN_HANDLED; 667 673 } 668 674 else if (hotkey == "text.move.left") … … 840 846 841 847 UpdateText(); 842 848 } 849 UpdateAutoScroll(); 843 850 break; 844 851 } 845 852 … … 987 994 break; 988 995 } 989 996 } 997 UpdateAutoScroll(); 990 998 break; 991 999 } 992 1000 … … 1022 1030 GetScrollBar(0).SetScrollBarStyle(scrollbar_style); 1023 1031 1024 1032 UpdateText(); 1033 UpdateAutoScroll(); 1025 1034 break; 1026 1035 } 1027 1036