[IDE-v542b2]How to select/copy only visible folded text?

Working on new editor enhancements?
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

[IDE-v542b2]How to select/copy only visible folded text?

Post by skywalk »

If I fold all, [Ctrl+F4], how to copy to clipboard only the visible text?

Code: Select all

;-{ Section1
;-} Section1   ;<-- Do not want this copied to clipboard when folded.
;-{ Section2
;-} Section2   ;<-- Do not want this copied to clipboard when folded.
;-{ Section3
;-} Section3   ;<-- Do not want this copied to clipboard when folded.
This would really help document my code. There are some mentions of this in Notepad++ TextFX but copying visible text deletes all the [CR+LF]'s.

Maybe some Tool code to search for each line with "expand box [+] and leading ";-{" and append that to my output string.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum