/jEdit/tags/jedit-4-5-pre1/doc/tips/tip94.html
HTML | 19 lines | 13 code | 6 blank | 0 comment | 0 complexity | af207425094de0efa58a8bc348c35773 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
1<html><body>
2
3File name globs that associate files with edit modes can be changed in
4the <b>Editing</b> pane of the <b>Utilities</b>><b>Global Options</b>
5dialog box.<p>
6
7For example, by default files matching "*.inc" are opened in PHP mode,
8but some Pascal implementations use this extension as well. If you find
9yourself with an urgent need to hack some Pascal, just remove "irc" from
10the PHP file name glob to get:
11
12<pre>*.{php3,php4,php,phtml}</pre>
13
14And add it to the Pascal file name glob:
15
16<pre>*.{pas,dpr,dpk}</pre>
17
18</body>
19</html>