Question

DblClick Word Selection

Posted 14 years ago by Avatar painetraine
When I double click a piece of text in the editor, such as

@myvariable

Only the "myvariable" portion of the item is selected. Is there any way to have it selected the entire "@myvariable" so that it works like most other editors?

Thanks

Comments (4)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
That has to do with the word end-finding routines. We have on our TODO list to add a way where you can customize them for a language if you want them different from the defaults since in SQL, you'd want to do allow @ to be part of the start of a word. So right now there isn't a way to change them but we do want to add it.

Actipro Software Support
Posted 3 years ago by gareth

Hi, was this functionality ever implemented in your WPF syntax editor?

[Modified 3 years ago]

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA

Yes, you can change that sort of thing with an IWordBreakFinder implementation.  The default implementation is DefaultWordBreakFinder.  Any custom implementation instance can be returned by a MergableSyntaxLanguage.WordBreakFinder property override.


Actipro Software Support
Posted 3 years ago by gareth

Ah excellent, thank you.

Information The latest build of this product (2018.1 build 0341) was released 4 days ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.