Charly Dante
2014-05-01 11:26:29 UTC
Hi,
I currently have a problem with the hotspot styles of the Scintilla
control. I use the CTRL-Key to activate hotspots on keywords. So if a user
holds down the CTRL-key, the hotspot-style for keywords is activated, so
that he can click on those keywords (just like in QTCreator). If he
releases the CTRL-key the hotspot styles get removed again. This works very
good.
However, if I hover the mouse over such a keyword while holding the
CTRL-key and then change the selection such that the hotspotted keyword is
selected (e.g. with CTRL-A) and then release the CTRL-key, the keyword
remains highlighted as hotspot under the selection.
This is because Scintilla doesn't seem to allow changing the hotspot-style
of a keyword while it is selected. However, if I move the mouse completely
out ouf the Scintilla Control, the hotspot styles are reset although the
keyword is selected, so it has to be somehow possible.
Is there a way to remove the hotspot style while the affected part of the
text (or the whole text) is selected?
Best,
CD
I currently have a problem with the hotspot styles of the Scintilla
control. I use the CTRL-Key to activate hotspots on keywords. So if a user
holds down the CTRL-key, the hotspot-style for keywords is activated, so
that he can click on those keywords (just like in QTCreator). If he
releases the CTRL-key the hotspot styles get removed again. This works very
good.
However, if I hover the mouse over such a keyword while holding the
CTRL-key and then change the selection such that the hotspotted keyword is
selected (e.g. with CTRL-A) and then release the CTRL-key, the keyword
remains highlighted as hotspot under the selection.
This is because Scintilla doesn't seem to allow changing the hotspot-style
of a keyword while it is selected. However, if I move the mouse completely
out ouf the Scintilla Control, the hotspot styles are reset although the
keyword is selected, so it has to be somehow possible.
Is there a way to remove the hotspot style while the affected part of the
text (or the whole text) is selected?
Best,
CD
--
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.
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.