[Monodevelop-patches-list] r800 - trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Fri Feb 6 01:49:40 EST 2004
Author: tberman
Date: 2004-02-06 01:49:40 -0500 (Fri, 06 Feb 2004)
New Revision: 800
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
Log:
attempting to start fixing up the smart formatting in the new editor... fun i guess
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs 2004-02-06 05:56:39 UTC (rev 799)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs 2004-02-06 06:49:40 UTC (rev 800)
@@ -90,7 +90,7 @@
}
break;
- /*default:
+ default:
if (fmtr != null) {
TextIter itr = Buffer.GetIterAtMark (Buffer.InsertMark);
int offset = itr.Offset;
@@ -100,7 +100,7 @@
return true;
}
}
- break;*/
+ break;
}
return base.OnKeyPressEvent (ref evnt);
@@ -248,7 +248,7 @@
}
string IFormattableDocument.IndentString {
- get { return InsertSpacesInsteadOfTabs ? "\t" : new string (' ', (int) TabsWidth); }
+ get { return !InsertSpacesInsteadOfTabs ? "\t" : new string (' ', (int) TabsWidth); }
}
int IFormattableDocument.GetClosingBraceForLine (int ln, out int openingLine)
More information about the Monodevelop-patches-list
mailing list