doc/mc.1.in: Updated info about the internal editor
Этот коммит содержится в:
родитель
12eb0a3d2f
Коммит
f45f47a301
@ -1,5 +1,7 @@
|
|||||||
2000-08-15 Pavel Roskin <proski@gnu.org>
|
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
|
* Makefile.in, */Makefile.in: Fail if $(RMF) fails - it may
|
||||||
indicate serious problems. Fixes for uninstall.
|
indicate serious problems. Fixes for uninstall.
|
||||||
* doc/Makefile.in: Rebuild if it is out of date.
|
* doc/Makefile.in: Rebuild if it is out of date.
|
||||||
|
23
doc/mc.1.in
23
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
|
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
|
key is not used for any other function. Once defined, the macro
|
||||||
commands go into the file
|
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
|
in your home directory. You can delete a macro by deleting the
|
||||||
appropriate line in this file.
|
appropriate line in this file.
|
||||||
.PP
|
.PP
|
||||||
.B F19 will format C code when it is highlighted. For this
|
.B F19
|
||||||
to work, make an executable file called
|
will format the currently highlighted block (plain text or
|
||||||
.B cedit/edit.indent.rc
|
.B C
|
||||||
in your home directory containing the following:
|
or
|
||||||
.PP
|
.B C++
|
||||||
.nf
|
code or another). This is controlled by the
|
||||||
#!/bin/sh
|
file
|
||||||
/usr/bin/indent -kr -pcs ~/cedit/cooledit.block >& /dev/null
|
.B @prefix@/lib/mc/edit.indent.rc
|
||||||
cat /dev/null > ~/cedit/cooledit.error
|
which is copied to
|
||||||
.fi
|
.B .cedit/edit.indent.rc
|
||||||
|
in your home directory the first time you use it.
|
||||||
.PP
|
.PP
|
||||||
You can use scanf search and replace to search and replace
|
You can use scanf search and replace to search and replace
|
||||||
a C format string. First take a look at the
|
a C format string. First take a look at the
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user