Skip to content

Feature request: option to display the previous line number #3

@malaverdiere

Description

@malaverdiere

The title says it all. I need to record the added and deleted line number which has a specific string. Your tool is very useful for the added line, but I still need to count for the deleted one.

Example.

@@ -400,3 +397,3 @@ EOD;
397: 
   :-           if ( !current_user_can( 'edit_post', $postID ) )
398:+           if ( ! get_post( $postID ) || ! current_user_can( 'edit_post', $postID ) )
399:        

Should become:

@@ -400,3 +397,3 @@ EOD;
400,397: 
401,NA :-           if ( !current_user_can( 'edit_post', $postID ) )
NA,398 :+           if ( ! get_post( $postID ) || ! current_user_can( 'edit_post', $postID ) )
402,399:  

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions