Posted 17 years ago
by Alexey Chuikov
-
Project Tech Leader. Custom Development,
Quest Software
Version: 4.0.0253
Hi,
I've overridden WordBreakFinder property populating WordContainsAdditionalCharacters collection with additional characters (such as $ and -) as since words of PowerShell language can contain them. Selection works fine in the editor: I can select the whole words such as variablesor commandlets
But if I try to search for the whole word using standard FindReplaceForm I fail to find variables (I suppose because of $ character).
How can I make '$' character to be considered a part of the word for FindReplaceForm?
Thanks in advance,
Alexey.
I've overridden WordBreakFinder property populating WordContainsAdditionalCharacters collection with additional characters (such as $ and -) as since words of PowerShell language can contain them. Selection works fine in the editor: I can select the whole words such as variables
$myForm
Get-Acl
How can I make '$' character to be considered a part of the word for FindReplaceForm?
Thanks in advance,
Alexey.