How may you capture click and a double click events in the indicator margin (left margin), the line number margin, the user area and the user margin (right margin)?
When the events occur I need to know:
1. The margin (indicator/line/textarea/user),
2. The line; and
3. The column
where the event occured in order to add a bookmark/toggle a bookmark/custom indicator or perform some other processing.
I've looked at the class reference events and none of the event handler prototypes seem to pass any margin/line/column information.
ADAdministrator Syncfusion Team August 19, 2003 09:51 AM
All these are handled via the Mouse_Down event handler, although there are no discrepencies as to where the click was made. However, you could add your own logic to determine which area the user clicked in. To determine the line and character clicked, the edit control has the following method which returns an EditLocation:
editControl1.GetLineChar(int X, int Y);
Please let me know if this is the information you are looking for.