EControl Syntax Editor SDK
TCustomSyntaxMemo.GetMouseSelMode Method

Called when mouse down to determine selection mode.

function GetMouseSelMode(Shift: TShiftState): TSyntSelectionMode; dynamic;

When Alt and Control is pressed - selection mode is linear, when only Alt is pressed - selection mode is columnar, otherwise normal selection mode. 

To change default behavior use OnGetMouseSelMode event or override GetMouseSelMode method.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!