[go: up one dir, main page]

Menu

[r760]: / trunk / colorer / doc / mc.html  Maximize  Restore  History

Download this file

85 lines (72 with data), 2.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="windows-1251"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="ru" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Midnight Commander mod with Colorer-take5 syntax engine</title>
<link href="styles/styles.css" rel="stylesheet" type="text/css"/>
<link rel="icon" href="images/logo-small.png"/>
</head>
<body>
<div class='back'><a href='index.html'><img alt='back' src='images/back.png' width='40' height='18'/></a></div>
<h1>Midnight Commander mod with Colorer-take5 syntax engine</h1>
<p>
<img alt='mc' style="float: right" src='images/mcpic.png' width='465' height='348'/>
This Midnight Commander build is modified to use
Colorer-take5 as a syntax highlighting engine in standard mc editor.
</p>
<h2>Features</h2>
<p>
For now just a simple syntax highlighting, brackets/paired constructions matching,
and current block selection.
</p>
<h2>Building and installing</h2>
<div class="download">
<a href="http://sourceforge.net/project/showfiles.php?group_id=34855&package_id=188547">Download MC-Colorer</a>
</div>
<p>
Source package allows you to rebuild it for any platform MC available on,
and Binary package contains Midnight Commander, compiled for i386 Linux (mdk10).
</p>
<p>
To install it you should have Colorer-take5-linux
already installed or unpacked somewere (however any form of its distribution is suitable).
</p>
<p>
MC binary is compiled with hardcoded /usr/ prefix,
so you should have MC already installed there
or recompile it from the source package with your prefix.
</p>
<p>
Next, just use the provided 'mc' binary to run it.
In case you have no root rights you can look
for the 'mclr.sh' script and fix it for yourself
to make it possible to run this MC mod from non-root account.
</p>
<hr/>
<h2>Whats new in 0.5?</h2>
<p>
Editor is now capable to show paired constructions, like it works in eclipse/far versions.<br/>
Moreover, two editor menu options were added:
Command/<code>"Select Block"</code> and <code>"Select Block Content"</code>.
<br/>
These allows you to mark with selection current paired construction.
<br/>
Of course, <code>"Go to matching Bracket"</code> (alt/meta-b) also works with Colorer.
</p>
<p>
There is no UI settings now, however you can manually change default color
style, colorer uses to highlight the text.
<br/>
To do this just add this section to your ~/.mc/ini file:
</p>
<pre>
[Colorer]
colorer_hrd_string=nc
</pre>
<p>
Changing it's value you can choose one of available HRD styles (see your
colorer/catalog.xml file for list of available styles).
</p>
</body>
</html>