1 Jun 2006 01:30
Re: Scintilla 1.69 released
Neil Hodgson <nyamatongwe <at> gmail.com>
2006-05-31 23:30:07 GMT
2006-05-31 23:30:07 GMT
Greg Smith: > | Don't call it a selection margin type as that implies the other > |margin types shouldn't be capable of selection. > I'm taking this as a possible yes... > Would you accept a patch with SC_MARGIN_SPACER(3) that did this (or your > suggested name)? I was actually leaning towards allowing a colour to be specified as that allows various borders to be drawn although we can always add more margin types such as a dotted line to look like this: http://www.actiprosoftware.com/Products/DotNet/SyntaxEditor/Default.aspx So implement SC_MARGIN_SPACER. > I have tried to achieve the line selection effect with the folding margin by > detecting clicks on margin lines without a fold point and then selecting the > line. This does work for a single line, but you cannot extend the selection > with the mouse pointer. Doing so would make this more messy than I like. You could implement this by subclassing Scintilla to get first look at all mouse events. > Even if this did work, it would not be a complete > solution as users can choose to hide the folding margin, and I allow setting > break points by single clicks on the remaining margin, so this is not > available for line selection. If users choose to hide things then they will get less convenient access to features: even with all margins hidden, triple-clicking(Continue reading)
RSS Feed