cedit icon indicating copy to clipboard operation
cedit copied to clipboard

beginning/end-of-statement issues

Open alinnow opened this issue 12 years ago • 0 comments

Test code:

public function test()
{
    $bundles = array(
        'test test test test test test test test',
        'foo bar foo bar foo bar foo bar foo bar',
        'foo bar baz quux foo bar baz quux',
    );
}

With point at |$bundles, cedit-end-of-statement throws an error "not found (59 125)". With point at )|;, cedit-beginning-of-statement throws an error "Lisp nesting exceeds `max-lisp-eval-depth'"

The error doesn't happen with the code below; both functions work as expected.

public function test()
{
    $bundles = array(
        'test test test test test test test',
        'bar foo bar foo bar foo bar foo bar',
        'bar baz quux foo bar baz quux',
    );
}

It's the same whether the array is full of strings or function calls.

alinnow avatar Jul 27 '14 12:07 alinnow