pspad:
--------------------------------------------------------------------------------
Just now it works for :something anywhere in code.
--------------------------------------------------------------------------------
The "anywhere" sounds good, because I forgot to mention one case:
Inside a parameter list of a function call, and inside a Hash denotation, an
identifier _followed_ by a colon denotes also a symbol. For instance, in
both
func(abc: 13)
h = { abc: 13 }
we have the symbol %s(abc). The only point we have to be careful
(as far as I can see) is the colon as part of a ternary "if"-operator. In
x=u?v:abc
abc is either a variable or a parameterless method invocation. No symbol in this
example.
--
Ronald Fischer (Germany)
<https://forum.pspad.com/read.php?2,74180,74195>
PSPad freeware editor https://www.pspad.com