Ticket #4401: 4401_cinput.3.patch
File 4401_cinput.3.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); … … 588 591 } 589 592 } 590 593 594 UpdateAutoScroll(); 595 591 596 return IN_HANDLED; 592 597 } 593 598 else if (hotkey == "text.delete.left") … … 630 635 UpdateBufferPositionSetting(); 631 636 DeleteCurSelection(); 632 637 } 638 639 UpdateAutoScroll(); 640 633 641 return IN_HANDLED; 634 642 } 635 643 else if (hotkey == "text.delete.right") … … 663 671 UpdateBufferPositionSetting(); 664 672 DeleteCurSelection(); 665 673 } 674 675 UpdateAutoScroll(); 676 666 677 return IN_HANDLED; 667 678 } 668 679 else if (hotkey == "text.move.left") … … 815 826 { 816 827 GUI<int>::GetSetting(this, Message.value, m_iBufferPos); 817 828 m_iBufferPos_Tail = -1; // position change resets selection 829 UpdateAutoScroll(); 818 830 } 819 831 820 832 if (Message.value == CStr("size") || … … 987 999 break; 988 1000 } 989 1001 } 1002 UpdateAutoScroll(); 990 1003 break; 991 1004 } 992 1005