<p></p>
<p>Hello!</p>
<p>I've tried searching for information but I have not been able to find anything. I would like to be able to collapse a text file containing a directory/file tree, and expand directory by directory. Is this possible?</p>
<p>Example text:</p>
<pre><code>/
├── gstreamer
│ └── 1.0
│ └── x86_64
│ ├── bin
│ │ ├── gdbus.exe
│ │ ├── gdk-pixbuf-csource.exe
│ │ ├── gdk-pixbuf-query-loaders.exe
│ │ ├── gio-querymodules.exe
│ │ ├── glib-compile-schemas.exe
│ │ ├── gsettings.exe
│ │ ├── gst-device-monitor-1.0.exe
│ │ ├── gst-discoverer-1.0.exe
│ │ ├── gst-inspect-1.0.exe
│ │ ├── gst-launch-1.0.exe
│ │ ├── gst-play-1.0.exe
│ │ ├── gst-shell
│ │ ├── gst-typefind-1.0.exe
│ │ ├── json-glib-format.exe
│ │ ├── json-glib-validate.exe
│ │ ├── libFLAC-8.dll
│ │ ├── libSoundTouch-1.dll
│ │ ├── libbz2.dll
│ │ ├── libcairo-2.dll
│ │ ├── libcairo-gobject-2.dll
│ │ ├── libcairo-script-interpreter-2.dll
│ │ ├── libcroco-0.6-3.dll
│ │ ├── libcrypto-1_1-x64.dll
│ │ ├── libdv-4.dll
│ │ ├── libexpat-1.dll
│ │ ├── libffi-7.dll
│ │ ├── libfontconfig-1.dll
│ │ ├── libfreetype-6.dll
│ │ ├── libfribidi-0.dll
│ │ ├── libgcc_s_sjlj-1.dll
│ │ ├── libgdk_pixbuf-2.0-0.dll
│ │ ├── libgio-2.0-0.dll
│ │ ├── libglib-2.0-0.dll
│ │ ├── libgmodule-2.0-0.dll
│ │ ├── libgmp-10.dll
│ │ ├── libgnutls-30.dll
│ │ ├── libgnutlsxx-28.dll
│ │ ├── libgobject-2.0-0.dll
│ │ ├── libgomp-1.dll
│ │ ├── libgraphene-1.0-0.dll
│ │ ├── libgstadaptivedemux-1.0-0.dll
│ │ ├── libgstallocators-1.0-0.dll
│ │ ├── libgstapp-1.0-0.dll
│ │ ├── libgstaudio-1.0-0.dll
│ │ ├── libgstbadaudio-1.0-0.dll
│ │ ├── libgstbase-1.0-0.dll
│ │ ├── libgstbasecamerabinsrc-1.0-0.dll
│ │ ├── libgstcheck-1.0-0.dll
│ │ ├── libgstcodecparsers-1.0-0.dll
│ │ ├── libgstcontroller-1.0-0.dll
│ │ ├── libgstfft-1.0-0.dll
│ │ ├── libgstgl-1.0-0.dll
│ │ ├── libgstinsertbin-1.0-0.dll
│ │ ├── libgstisoff-1.0-0.dll
│ │ ├── libgstmpegts-1.0-0.dll
│ │ ├── libgstnet-1.0-0.dll
│ │ ├── libgstpbutils-1.0-0.dll
│ │ ├── libgstphotography-1.0-0.dll
│ │ ├── libgstplayer-1.0-0.dll
│ │ ├── libgstreamer-1.0-0.dll
│ │ ├── libgstriff-1.0-0.dll
│ │ ├── libgstrtp-1.0-0.dll
│ │ ├── libgstrtsp-1.0-0.dll
│ │ ├── libgstrtspserver-1.0-0.dll
│ │ ├── libgstsctp-1.0-0.dll
│ │ ├── libgstsdp-1.0-0.dll
│ │ ├── libgsttag-1.0-0.dll
│ │ ├── libgsturidownloader-1.0-0.dll
│ │ ├── libgstvideo-1.0-0.dll
│ │ ├── libgstwebrtc-1.0-0.dll
│ │ ├── libgthread-2.0-0.dll
│ │ ├── libharfbuzz-0.dll
│ │ ├── libhogweed-4.dll
│ │ ├── libintl-8.dll
│ │ ├── libjpeg-8.dll
│ │ ├── libjson-glib-1.0-0.dll
│ │ ├── libkate-1.dll
│ │ ├── libmp3lame-0.dll
│ │ ├── libmpg123-0.dll
│ │ ├── libnettle-6.dll
│ │ ├── libnice-10.dll
│ │ ├── libogg-0.dll
│ │ ├── liboggkate-1.dll
│ │ ├── libopenh264.dll
│ │ ├── libopenjp2.dll
│ │ ├── libopus-0.dll
│ │ ├── liborc-0.4-0.dll
│ │ ├── liborc-test-0.4-0.dll
│ │ ├── libpango-1.0-0.dll
│ │ ├── libpangocairo-1.0-0.dll
│ │ ├── libpangoft2-1.0-0.dll
│ │ ├── libpangowin32-1.0-0.dll
│ │ ├── libpixman-1-0.dll
│ │ ├── libpng16-16.dll
│ │ ├── librsvg-2-2.dll
│ │ ├── libsbc-1.dll
│ │ ├── libsoup-2.4-1.dll
│ │ ├── libspandsp-2.dll
│ │ ├── libspeex-1.dll
│ │ ├── libsrt.dll
│ │ ├── libsrtp.dll
│ │ ├── libssl-1_1-x64.dll
│ │ ├── libstdc++-6.dll
│ │ ├── libtag.dll
│ │ ├── libtasn1-6.dll
│ │ ├── libtheora-0.dll
│ │ ├── libtheoradec-1.dll
│ │ ├── libtheoraenc-1.dll
│ │ ├── libtiff-5.dll
│ │ ├── libturbojpeg-0.dll
│ │ ├── libusrsctp-1.dll
│ │ ├── libvisual-0.4-0.dll
│ │ ├── libvorbis-0.dll
│ │ ├── libvorbisenc-2.dll
│ │ ├── libvorbisfile-3.dll
│ │ ├── libwavpack-1.dll
│ │ ├── libwebrtc_audio_processing-0.dll
│ │ ├── libwinpthread-1.dll
│ │ ├── libxml2-2.dll
│ │ ├── libz-1.dll
│ │ └── pkg-config.exe
│ ├── etc
│ │ └── fonts
│ │ ├── conf.d
│ │ │ ├── 10-hinting-slight.conf
│ │ │ ├── 10-scale-bitmap-fonts.conf
│ │ │ ├── 20-unhint-small-vera.conf
│ │ │ ├── 30-metric-aliases.conf
│ │ │ ├── 40-nonlatin.conf
│ │ │ ├── 45-generic.conf
│ │ │ ├── 45-latin.conf
│ │ │ ├── 49-sansserif.conf
│ │ │ ├── 50-user.conf
│ │ │ ├── 51-local.conf
│ │ │ ├── 60-generic.conf
│ │ │ ├── 60-latin.conf
│ │ │ ├── 65-fonts-persian.conf
│ │ │ ├── 65-nonlatin.conf
│ │ │ ├── 69-unifont.conf
│ │ │ ├── 80-delicious.conf
│ │ │ ├── 90-synthetic.conf
│ │ │ └── README
│ │ └── fonts.conf
│ ├── include
│ │ └── GL
│ │ ├── gl.h
│ │ ├── glaux.h
│ │ ├── glext.h
│ │ ├── glu.h
│ │ └── wglext.h
│ ├── lib
│ │ ├── gio
│ │ │ └── modules
│ │ │ └── libgiognutls.dll
</code></pre>
<p>Thanks!</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2636">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2PDMKXZ5T4A3PVK4LSMP4E7ANCNFSM4S6HNYOQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJZOIBOVJFKMWTWJHTLSMP4E7A5CNFSM4S6HNYO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4K3TPQFA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2636",
"url": "https://github.com/geany/geany/issues/2636",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>