The editor component is a Microsoft project called Monaco - https://github.com/microsoft/monaco-editor
Monaco itself can do code folding. Maybe it would be easier to find the code in its code base than in vscode's. On Tuesday, August 11, 2020 at 12:45:42 PM UTC-4, Edward K. Ream wrote: > > Yesterday I tried to import come complex c++ code into Leo. Leo's c++ > importer didn't do well with templates. A lot of hand tweaking was > necessary. > [snip] > > I wonder whether the electron editor might be the base on which folding > happens. Iirc, electron is part of vs code, so the answer is likely present > somewhere in vs code's sources. > > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/73eebca3-5e31-4d1e-96e2-448d9d7d9d7fo%40googlegroups.com.