This is because the  #'smalltalk-narrow-to-method will narrow to:

  -----------------
]

      bar
  -----------------

So we need to check before if we are in a  message pattern for the new
syntax.

Or maybe the narrowing is  wrong.  I'll look at it in the next few days
if you don't beat  me...

Paolo

The narrowing function is using  smalltalk-scope-begin-of-defun.
What is the purpose of  smalltalk-scope-begin-of-defun?

Is it to move point at the beginning of the message patern ?

Yes.

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to