Author: mkrueger Date: 2008-02-20 10:25:07 -0500 (Wed, 20 Feb 2008) New Revision: 96261
Modified: trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/BookmarkMargin.cs trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/DefaultEditActions.cs Log: * Mono.TextEditor/DefaultEditActions.cs: Fixed update at delet line/delete line to end commands. Modified: trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog =================================================================== --- trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog 2008-02-20 15:18:58 UTC (rev 96260) +++ trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog 2008-02-20 15:25:07 UTC (rev 96261) @@ -1,5 +1,10 @@ 2008-02-20 Mike Krüger <[EMAIL PROTECTED]> + * Mono.TextEditor/DefaultEditActions.cs: Fixed update at delet line/delete + line to end commands. + +2008-02-20 Mike Krüger <[EMAIL PROTECTED]> + * Mono.TextEditor/BookmarkMargin.cs: Bookmark is now scaling better. 2008-02-19 Mike Krüger <[EMAIL PROTECTED]> Modified: trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/BookmarkMargin.cs =================================================================== --- trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/BookmarkMargin.cs 2008-02-20 15:18:58 UTC (rev 96260) +++ trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/BookmarkMargin.cs 2008-02-20 15:25:07 UTC (rev 96261) @@ -90,7 +90,7 @@ { const double ARC_TO_BEZIER = 0.55228475; int radius_x = r; - int radius_y = 2; + int radius_y = r / 4; if (radius_x > w - radius_x) radius_x = w / 2; Modified: trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/DefaultEditActions.cs =================================================================== --- trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/DefaultEditActions.cs 2008-02-20 15:18:58 UTC (rev 96260) +++ trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/DefaultEditActions.cs 2008-02-20 15:25:07 UTC (rev 96261) @@ -151,6 +151,7 @@ return; LineSegment line = data.Document.GetLine (data.Caret.Line); data.Document.Remove (line.Offset, line.Length); + data.Document.CommitLineToEndUpdate (data.Caret.Line); } } @@ -160,6 +161,7 @@ { LineSegment line = data.Document.GetLine (data.Caret.Line); data.Document.Remove (line.Offset + data.Caret.Column, line.EditableLength - data.Caret.Column); + data.Document.CommitLineUpdate (data.Caret.Line); } } _______________________________________________ Mono-patches maillist - Mono-patches@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-patches