Or, maybe the rectangle can be selected ONLY via Alt+mouse?

From: "Jeffrey Ren" <[EMAIL PROTECTED]>
Reply-To: Discussion of the Scintilla editing component<[email protected]>
To: [email protected]
Subject: [scintilla] How to select a rectangle in code
Date: Wed, 01 Mar 2006 17:36:09 +0800

How can I select a rectangle in code?
The following code can select a rectange, but the range is bigger than expected rectange.
The select range includes the current position.
But the anchor pos and current pos are right.

pCtrl->SetSel(AnchorPos, CurPos);
pCtrl->SetSelectionMode(SC_SEL_RECTANGLE);
pCtrl->CallMessage(SCI_CANCEL);

Any idea to solve this?
Thanks in advance~~~

Jeffrey Ren

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to