<div dir="ltr">Finally, fix in inbox<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 27 déc. 2019 à 22:23, Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div>I wanted to browse selector of preference:categoryList:etc... without typing such long selector.</div><div>So I browsed HandMorph class>>#sendMouseWheelToKeyboardFocus</div><div>then selected the text in annotation < ...text to select... ></div><div>then typed cmd+N</div><div>then got a dialog telling: there are no Users of 'preference:'</div><div><br></div><div>The problem seems located in findSelector, this line:</div><div><br>                       sel := sel copyWithRegex: '#[^\s\.$]*' matchesReplacedWith: '#aSymbol'.</div><div><br></div><div>does replace '#(Morphic keyboard mouse)' with 'aSymbol keyboard mouse)'</div><div><br></div><div>I understand the intention: we want to filter out occurrences of key selector symbols like #foo:bar:</div><div>I'd like to correct the regex, but I don't even understand it...</div><div>character #, followed by any number of characters in given set []...</div><div> what set exactly? I understand any character except \s a space?, \. a period (does . inside [] would mean any character?) and $</div><div>But we have #[ 23 16rB9 ] and #(foo bar) so we should at least exclude [ and ( too...</div><div><br></div><div>Now I typed many more than the selector that I did not want to type, I lost ;)<br></div></div>
</blockquote></div>