How do I detect when the editor is in Block Selection mode?

SyntaxEditor for Windows Forms Forum

Posted 10 years ago by Michael Dempsey - Sr. Developer, Teradata Corp
Version: 14.1.0320
Avatar

How do I detect when the editor is in Block Selection mode?

I display Intellisense lists after certain triggers, but those can't be used while in Block Selection mode, so I need to detect when I'm in that mode and cancel [or not load] the list. 

Thanks
Mike

Comments (2)

Answer - Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Mike,

You can look for (editor.SelectedView.Selection.Mode == SelectionModes.Block) to watch for that scenario.


Actipro Software Support

Posted 10 years ago by Michael Dempsey - Sr. Developer, Teradata Corp
Avatar

OK thanks.

I had looked at the Selection object but I must have missed the Mode property. 

The latest build of this product (v24.1.0) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.