Discussion:
I am sorry if this is not the right forum, but I found a bug.
Chad Wilson
2014-03-16 20:25:18 UTC
Permalink
Hello,
I have found an issue with SCN_HOTSPOTRELEASECLICK. When you receive the
notification from the control the only modifier key that values are
returned for is Control. SCN_HOTSPOTCLICK returns values for Shift,
Control, and Alt. Sorry once again if this is the wrong place to post.
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Neil Hodgson
2014-03-16 22:55:00 UTC
Permalink
I have found an issue with SCN_HOTSPOTRELEASECLICK. When you receive the notification from the control the only modifier key that values are returned for is Control. SCN_HOTSPOTCLICK returns values for Shift, Control, and Alt.
This is the documented behaviour: http://www.scintilla.org/ScintillaDoc.html#SCN_HOTSPOTRELEASECLICK

Scintilla does not examine any modifiers except for Ctrl when handling a mouse up so doesn't have that information to include in the event. You should use other platform calls to determine modifier state.

Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Chad Wilson
2014-03-16 23:29:30 UTC
Permalink
I am sorry that I missed it. One last question for a while (I hope). Is
there a way to have the control remember where the caret it, scroll
positions, and toggled folds when switching between documents or is that
something that I have to take care of. I have it setup where my program
remembers everything but it would be helpful if the control kept track.
Post by Chad Wilson
I have found an issue with SCN_HOTSPOTRELEASECLICK. When you receive
the notification from the control the only modifier key that values are
returned for is Control. SCN_HOTSPOTCLICK returns values for Shift,
Control, and Alt.
http://www.scintilla.org/ScintillaDoc.html#SCN_HOTSPOTRELEASECLICK
Scintilla does not examine any modifiers except for Ctrl when handling
a mouse up so doesn't have that information to include in the event. You
should use other platform calls to determine modifier state.
Neil
--
You received this message because you are subscribed to a topic in the
Google Groups "scintilla-interest" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/scintilla-interest/6XzTNDriTac/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Neil Hodgson
2014-03-17 23:27:21 UTC
Permalink
Is there a way to have the control remember where the caret it, scroll positions, and toggled folds when switching between documents
No.

Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...