In NotePad++ how can I copy and paste everything inside a “+” section?

ぐ巨炮叔叔 提交于 2019-12-23 04:13:20

问题


In notepad++ you can collapse code blocks with the "+" button.... how can I collapse a large code block, copy it, then in a new file, collapse a large code block, and then replace the entire code block with the copied one?

Thanks!


回答1:


You can not do this in a one step. But here is a workaround for this. While in the shrink state (with + is in place) Right click immediately after the + and in the popup menu click Begin/End Select. Then Right click at the beginning of the next line again and click Begin/End Select. This will select the text between two positions. Now copy the content by pressing Ctrl-C and repeat the same procedure to select the text to be overwritten. Then press Ctrl-V to paste the text.



来源:https://stackoverflow.com/questions/44536320/in-notepad-how-can-i-copy-and-paste-everything-inside-a-section

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!