I've got a branch [here](https://github.com/Ryan1729/geany/tree/ryan1729debug) 
that callsSCI_ADDSELECTION on ctrl-click, and calls SCI_ROTATESELECTION on 
ctrl-right-click. Mysteriously, if you ctrl-click then ctrl-right-click 
somewhere else, by the time the right click happens, the number of selections 
is back down to 1. So I also quickly co-opted the dubug mode for the `SSM` 
macro to print out the selection count when every message is sent to Scintilla, 
(though that macro anyway.) Surprisingly, the selection count goes back to 1 
before the first other message is sent! I find this extremely odd since the 
only ways to remove the other selections with the Scintilla API, as far as I 
can tell, are in the section which I only added wrappers for in that branch.

Unless someone knows some weird thing the code is doing that wold cause this, 
(setting the selection outside the Scintilla API?!) I suppose I'll have to try 
getting GDB working.





-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1141#issuecomment-344122726

Reply via email to