{'fraction_non_alphanumeric': 0.033277870216306155, 'fraction_numerical': 0.0, 'mean_word_length': 4.574074074074074, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Smarter cut-and-paste for programming text editors

The process of creating software involves many different tools, but the text editor is still one of the most important. Moreover, one of its basic facilities, cut-and-paste, still plays a critical role in enabling simple reuse. In this paper we explore how to improve cut-and-paste within text editors used for programming. We describe how programmers use cut-and-paste for reuse, and suggest the basic underlying principles. We then report on a prototype tool we developed to explore a set of techniques to provide better support for cut-and-paste.