Ticket #586 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Lexical variable replace doesn't work if you have the original declaration selected

Reported by: adamk Owned by: azawawi
Priority: major Milestone:
Component: editor Version: 0.46
Keywords: Cc:

Description

The Lexical variable replace works fine if you have any usage of the variable selected, EXCEPT the original declaration.

Replacing at the following location works.

my $foo = 1;

$fo<HERE>o = 2;

Replacing at the following location fails.

my $fo<HERE>o = 1;

$foo = 2;

This is counter to typical expectations of the function of this kind of feature.

Change History

comment:1 Changed 5 years ago by azawawi

  • Owner set to azawawi
  • Status changed from new to assigned

comment:2 Changed 5 years ago by azawawi

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in r8115.

To test it, Please run 'cpan .' or 'sudo cpan .' in padre_trunk/PPIx-EditorTools?

Have a nice day :)

Note: See TracTickets for help on using tickets.