Set selection to virtual in Memberlist

SyntaxEditor for Windows Forms Forum

Posted 13 years ago by BLANC Stéphane - Staubli Robotics Suite Product Manager, STAUBLI
Version: 4.0.0288
Avatar
Hello,

I try to find a way to set the selection to virtual in an IntelliPrompt.MemberList
when no item is matching the current TokenText.

Is it possible ? (the IsSelectionVirtual is read only)

It can be usefull to prevent the item for being select when the user enter a new variable name.

Thanks for your help

Stéphane

Comments (3)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Stéphane,

Sorry but that property is read-only. The virtual selection state matches the same sort of rules that Visual Studio uses, which makes a full/virtual selection based on mouse/keyboard input and how how text matches an item. It might affect usability if those rules were allowed to be altered.


Actipro Software Support

Posted 13 years ago by BLANC Stéphane - Staubli Robotics Suite Product Manager, STAUBLI
Avatar
so there is a bug in the memberList...

Rarely, (and I don't know how to reproduce it systematically) you have a tokenText that doesn't match any element in the memberList but an item is selected (in blue)
(And the user didn't press up-down arrows, just entering text)

Example :
- Current TokenText is 'sdfghsrgsdgsdf'
- 'for' is selected in the memberList

Stéphane
Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Stéphane,

We haven't seen anything like that and would need to have a simple repro project to be able to help fix it if there is an issue. When you see it happen, you should be able to reproduce it if you do the same exact things again.


Actipro Software Support

The latest build of this product (v24.1.1) was released 27 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.