In my use of the styled text control, I noticed that double-clicking a word
does not select it, but triple-clicking the word does select it (I tried it
in my own code and in the Demo). In more experimentation, I inserted a
handler to catch double-click messages:
EVT_STC_DOUBLECLICK(self, ID, self.OnDoubleClick)
It never got called for double-clicks, but *did* get called for
triple-clicks. It seems as if the first mouse click is getting swallowed up
somewhere. Should double-clicking the word result in its selection?
In my use of the styled text control, I noticed that double-clicking a
word
does not select it, but triple-clicking the word does select it (I tried
it
in my own code and in the Demo). In more experimentation, I inserted a
handler to catch double-click messages:
EVT_STC_DOUBLECLICK(self, ID, self.OnDoubleClick)
It never got called for double-clicks, but *did* get called for
triple-clicks. It seems as if the first mouse click is getting swallowed
up
somewhere. Should double-clicking the word result in its selection?
wxWindows is taking the second click and turning it into a EVT_LEFT_DCLICK,
which wxSTC is not catching. I'll fix that real quick and check in the
change to CVS.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!
In my use of the styled text control, I noticed that double-clicking a word
does not select it, but triple-clicking the word does select it (I tried it
in my own code and in the Demo). In more experimentation, I inserted a
handler to catch double-click messages:
EVT_STC_DOUBLECLICK(self, ID, self.OnDoubleClick)
It never got called for double-clicks, but *did* get called for
triple-clicks. It seems as if the first mouse click is getting swallowed up
somewhere. Should double-clicking the word result in its selection?