diff options
author | Neil <nyamatongwe@gmail.com> | 2019-03-03 12:31:05 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-03-03 12:31:05 +1100 |
commit | 1b18ee7a4c22e9b466d65eb11165daaf2eba85f2 (patch) | |
tree | 65e19e0efb95aa70341d8e81c24545540f60b378 /src | |
parent | 4c48a1bd660273ec13746d6b9c190a85dc5cb780 (diff) | |
download | scintilla-mirror-1b18ee7a4c22e9b466d65eb11165daaf2eba85f2.tar.gz |
Bug [#2083]. Ensure container notified if Insert pressed when caret off-screen.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 074c2a45a..025931153 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3795,6 +3795,7 @@ int Editor::KeyCommand(unsigned int iMessage) { inOverstrike = !inOverstrike; ContainerNeedsUpdate(SC_UPDATE_SELECTION); ShowCaretAtCurrentPosition(); + SetIdle(true); break; case SCI_CANCEL: // Cancel any modes - handled in subclass // Also unselect text @@ -4950,6 +4951,8 @@ void Editor::ButtonUpWithModifiers(Point pt, unsigned int curTime, int modifiers } bool Editor::Idle() { + NotifyUpdateUI(); + bool needWrap = Wrapping() && wrapPending.NeedsWrap(); if (needWrap) { @@ -7748,6 +7751,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { inOverstrike = wParam != 0; ContainerNeedsUpdate(SC_UPDATE_SELECTION); ShowCaretAtCurrentPosition(); + SetIdle(true); } break; |