diff options
author | nyamatongwe <devnull@localhost> | 2003-09-20 04:06:28 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-09-20 04:06:28 +0000 |
commit | 6b674227b9538e1391b1952e5fb28f355b013b3d (patch) | |
tree | 1d7513ea2ef6a89856a07ab48745346095df7284 /gtk/ScintillaGTK.cxx | |
parent | 3e459e50bf8c119f7964f5838ce557e287b2c89e (diff) | |
download | scintilla-mirror-6b674227b9538e1391b1952e5fb28f355b013b3d.tar.gz |
Patch from Naba to perform incremental wrapping in idle time.
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
-rw-r--r-- | gtk/ScintillaGTK.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 426630603..7c190f75a 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -127,7 +127,7 @@ public: // Public for scintilla_send_message private: virtual sptr_t DefWndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam); virtual void SetTicking(bool on); - virtual void SetIdle(bool on); + virtual bool SetIdle(bool on); virtual void SetMouseCapture(bool on); virtual bool HaveMouseCapture(); void FullPaint(); @@ -685,6 +685,7 @@ void ScintillaGTK::SetIdle(bool on) { gtk_idle_remove(GPOINTER_TO_UINT(idler.idlerID)); } } + return true; } void ScintillaGTK::SetMouseCapture(bool on) { @@ -1976,7 +1977,7 @@ int ScintillaGTK::IdleCallback(ScintillaGTK *sciThis) { // to do while idle. bool ret = sciThis->Idle(); if (ret == false) { - // FIXME: This will remove the idler from GTK, we don't want to + // FIXME: This will remove the idler from GTK, we don't want to // remove it as it is removed automatically when this function // returns false (although, it should be harmless). sciThis->SetIdle(false); |