I'm not sure I have an answer to your question, but I was just wondering if something like NRefactory would be of any value to semanticmerge?
BTW, I'm very excitedly awaiting the mac version :) Cheers, Stephen Shaw On Tue, Jun 11, 2013 at 3:49 AM, [email protected] <[email protected]> wrote: > Hi, > > I'm using Mono.TextEditor to create the native Linux port of SemanticMerge > (www.semanticmerge.com). > > I'd like to know how to enable code folding like MonoDevelop does. > > So far this is all what I'm doing (for test purposes): > > TextEditor CreateTextEditor() > { > TextEditor editor = new TextEditor (); > TextEditorOptions options = new TextEditorOptions (); > options.EnableSyntaxHighlighting = true; > options.ShowFoldMargin = true; > options.ShowWhitespaces = ShowWhitespaces.Selection; > options.DrawIndentationMarkers = true; > options.EnableAnimations = true; > //options.ColorScheme = "Visual Studio"; > editor.Options = options; > editor.Text = System.IO.File.ReadAllText > ("/home/pablo/workspace/TestTextEditor/TestTextEditor/MainWindow.cs"); > editor.Document.MimeType = "text/x-csharp"; > return editor; > } > > Thanks! > > pablo > > _______________________________________________ > Gtk-sharp-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list > _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
