Reputation: 575
I didn't have these lines when copying before. It looks like I clicked some button in android studio which caused these lines to appear. How can I return it to its previous situation?
Upvotes: 0
Views: 97
Reputation: 5173
Go to edit and untick the option which says column selection mode
Column selection mode is a handy tool when you want to add the same text at multiple places (for eg adding the private or @Inject annotation at multiple places)
Upvotes: 0
Reputation: 1179
You have enabled Column Selection Mode unknowingly. You can disable it by right click on any file's code editor or you can search for Column Selection Mode shortcut in Android studio's preferences/settings to enable or disable this.
Upvotes: 1