Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions doc/man/mcedit.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,36 @@ can do rather than try to do things that this implementation cannot deal
with. Also remember that the aim of syntax highlighting is to make
programming less prone to error, not to make code look pretty.
.PP
Text sequences interpreted by
.B mcedit
are listed below:
.EX
mcedit PCRE2's equiv.
[a\-c] \(rs[a\-c\(rs] (no special meaning of [ ])
\(rs[a\-c\(rs] (a|\-|c)* (no special meaning of \- )
{a\-c} \(rs{a\-c\(rs} (no special meaning of { })
\(rs{a\-c\(rs} [ac\-] (no special meaning of \- )
\&. \(rs.
( \(rs(
) \(rs)
* .*
+ [^ \(rst]*
? \(rs?
\(rs* \(rs*
\(rs+ \(rs+
^ \(rs^
$ \(rs$
| \(rs|
\(rss [ ] (space only)
\(rst \(rst
\(rsn \(rsn
.EE
.PP
The syntax highlighting can be toggled using Ctrl\-s shortcut.
Pressing C\-s twice effectively reloads the syntax file, so you
don't have to exit the editor, or
.B mc
itself, to test your syntax modifications.
.SH OPTIONS
Most options can be set from Options dialog box. See the
.B Options
Expand Down
Loading