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

SyntaxEditor for Windows Forms Forum

Posted 7 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 7 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 7 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 (v21.1.1) was released 12 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.