doc/mc.1.in: Updated info about the internal editor

This commit is contained in:
Pavel Roskin 2000-08-15 21:02:20 +00:00
parent 12eb0a3d2f
commit f45f47a301
2 changed files with 14 additions and 11 deletions

View File

@ -1,5 +1,7 @@
2000-08-15 Pavel Roskin <proski@gnu.org>
* 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.

View File

@ -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