smart-comment
smart-comment copied to clipboard
Marks extra comments for deletion
trafficstars
When doing C-u M-;, it marks extra comments for deletion.
On the snippet of code, if I mark the entire the first function for deletion (using C-u M-;)
it will mark the comment on the 2nd function for deletion as well. This only seems to happen when I mark a region and call C-u M-;
def get_app_discovery(store, total_partitions=1000, partition=1, page_token=None):
# type: (AppStoreEnum, int, int, Optional[Text]) -> List[App]
results = []
while partition <= total_partitions:
apps = get_app_discovery_for_partition(store, total_partitions, partition, page_token)
partition += 1
results.extend(apps)
return results
def get_app_discovery_for_partition(store, total_partitions=1000, partition=1, page_token=None):
# type: (AppStoreEnum, int, int, Optional[Text]) -> List[App]
pass
This bug still exist. I can add from my side that looks like it's happens only when region contain an empty lines.