From f45f47a3012927ae4f7402e5ee439c4e7435caa3 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 15 Aug 2000 21:02:20 +0000 Subject: [PATCH] doc/mc.1.in: Updated info about the internal editor --- ChangeLog | 2 ++ doc/mc.1.in | 23 ++++++++++++----------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2a5582d40..4d5aa7fba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2000-08-15 Pavel Roskin + * doc/mc.1.in: Updated info about the internal editor + * Makefile.in, */Makefile.in: Fail if $(RMF) fails - it may indicate serious problems. Fixes for uninstall. * doc/Makefile.in: Rebuild if it is out of date. diff --git a/doc/mc.1.in b/doc/mc.1.in index d7705d637..11c9e9dd9 100644 --- a/doc/mc.1.in +++ b/doc/mc.1.in @@ -2489,20 +2489,21 @@ like by pressing that key. The macro is executed when you press you press Meta, Ctrl, or Esc and the assigned key, provided that the key is not used for any other function. Once defined, the macro commands go into the file -.B cedit/cooledit.macros +.B .cedit/cooledit.macros in your home directory. You can delete a macro by deleting the appropriate line in this file. .PP -.B F19 will format C code when it is highlighted. For this -to work, make an executable file called -.B cedit/edit.indent.rc -in your home directory containing the following: -.PP -.nf -#!/bin/sh -/usr/bin/indent -kr -pcs ~/cedit/cooledit.block >& /dev/null -cat /dev/null > ~/cedit/cooledit.error -.fi +.B F19 +will format the currently highlighted block (plain text or +.B C +or +.B C++ +code or another). This is controlled by the +file +.B @prefix@/lib/mc/edit.indent.rc +which is copied to +.B .cedit/edit.indent.rc +in your home directory the first time you use it. .PP You can use scanf search and replace to search and replace a C format string. First take a look at the