diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2015-09-09 18:37:51 +0300 |
---|---|---|
committer | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2015-09-09 18:37:51 +0300 |
commit | 9fdcb3db34e9d1aa0e5d03c6c1cbe80bf69b0f3f (patch) | |
tree | 01a245f326340b7bd4a881b42a62cce1cefa7c5b /main/src/addins/VersionControl | |
parent | d6dee0aac704c9778a40a742dda6d2aa7e7a275a (diff) |
[VCS] Preserve lines in commit messages.
This adds a new feature to TextFormatter through which you can preserve newlines in the formatted text.
Bug 33812 - Version control dialog eats new lines.
Diffstat (limited to 'main/src/addins/VersionControl')
-rw-r--r-- | main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/ChangeLogWriter.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/ChangeLogWriter.cs b/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/ChangeLogWriter.cs index 40317e6674..c49cea3faa 100644 --- a/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/ChangeLogWriter.cs +++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/ChangeLogWriter.cs @@ -89,6 +89,7 @@ namespace MonoDevelop.VersionControl formatter.MaxColumns = MessageFormat.MaxColumns; formatter.TabWidth = MessageFormat.TabWidth; formatter.TabsAsSpaces = MessageFormat.TabsAsSpaces; + formatter.KeepLines = true; if (message_style.Header.Length > 0) { string [,] tags = new string[,] { {"AuthorName", uinfo.Name}, {"AuthorEmail", uinfo.Email} }; |