File: mcedit_auto_indent.patch

package info (click to toggle)
mc 3%3A4.8.33-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,536 kB
  • sloc: ansic: 100,652; sh: 8,463; perl: 2,339; makefile: 1,501; cs: 44; lisp: 44; sed: 16
file content (20 lines) | stat: -rw-r--r-- 688 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Last-Update: 2017-06-29
Forwarded: no
Bug-Debian: http://bugs.debian.org/570502
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Updated-by: Denis Briand <debian@denis-briand.fr>
Description: disable "Return does autoindent" by default (mcedit)

--- a/src/editor/edit.c
+++ b/src/editor/edit.c
@@ -80,9 +80,9 @@
     .word_wrap_line_length = DEFAULT_WRAP_LINE_LENGTH,
     .typewriter_wrap = FALSE,
     .auto_para_formatting = FALSE,
     .fill_tabs_with_spaces = FALSE,
-    .return_does_auto_indent = TRUE,
+    .return_does_auto_indent = FALSE,
     .backspace_through_tabs = FALSE,
     .fake_half_tabs = TRUE,
     .persistent_selections = TRUE,
     .drop_selection_on_copy = TRUE,