[geany/geany] 520045: Clone line breaking, auto indent, indent type, indent width settings
Nick Treleaven
git-noreply at geany.org
Fri Nov 23 15:37:06 UTC 2012
Branch: refs/heads/master
Author: Nick Treleaven <nick.treleaven at btinternet.com>
Committer: Nick Treleaven <nick.treleaven at btinternet.com>
Date: Fri, 23 Nov 2012 15:37:06 UTC
Commit: 5200450b854cbef1cb67d42d83767fdfbfbe3803
https://github.com/geany/geany/commit/5200450b854cbef1cb67d42d83767fdfbfbe3803
Log Message:
-----------
Clone line breaking, auto indent, indent type, indent width settings
Modified Paths:
--------------
src/document.c
Modified: src/document.c
4 files changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -2756,6 +2756,10 @@ G_MODULE_EXPORT void on_clone1_activate(GtkMenuItem *menuitem, gpointer user_dat
/* copy file properties */
doc->editor->line_wrapping = old_doc->editor->line_wrapping;
+ doc->editor->line_breaking = old_doc->editor->line_breaking;
+ doc->editor->auto_indent = old_doc->editor->auto_indent;
+ editor_set_indent(doc->editor, old_doc->editor->indent_type,
+ old_doc->editor->indent_width);
doc->readonly = old_doc->readonly;
doc->has_bom = old_doc->has_bom;
document_set_encoding(doc, old_doc->encoding);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list