I have encountered an issue where the selection range for functions in docstrings does not include the last line. This results in a situation where, during code refactoring, the last line gets duplicated.
Expected Behavior
The entire function, including the last line, should be selected. This is crucial for proper function extraction or other refactoring activities without causing line duplication.
Actual Behavior
The selection excludes the last line of the function, leading to repeated lines after refactoring.
I have encountered an issue where the selection range for functions in docstrings does not include the last line. This results in a situation where, during code refactoring, the last line gets duplicated.
Expected Behavior The entire function, including the last line, should be selected. This is crucial for proper function extraction or other refactoring activities without causing line duplication.
Actual Behavior The selection excludes the last line of the function, leading to repeated lines after refactoring.