Skip to content

Commit 91e7260

Browse files
Update README.md
1 parent 1161f8e commit 91e7260

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
11
# gml_npp
2-
Syntax highlighting for GML (Game Maker Language) files in Notepad++
2+
## What it is
3+
A simple XML file to import as User Defined Language in Notepad++ which allows syntax highlighting of files written in GML (Game Maker Language).
4+
5+
## Issues
6+
There might be some issues with folding of regions.
7+
8+
## Installation
9+
10+
1. Download the `gml_npp.xml` file
11+
2. Open Notepad++
12+
3. In the menu bar, click "Languages" and to the bottom, "Define your language..."
13+
4. Click "Import"
14+
5. Select and open the `gml_npp.xml` file you downloaded before
15+
6. Close the Language Definition Window.
16+
17+
Each time you want to highlight GML markup, just select it from the Language menu. It will be at the bottom with the other user defined styles.
18+
19+
### Alternate Method
20+
(from the [Notepad++ website](http://notepad-plus.sourceforge.net/uk/site.htm))
21+
22+
1. Download the user-defined language to your computer
23+
2. Open the file with your favourite text editor (such as Notepad++ or notepad)
24+
3. Click start, run, type (or paste in) `%APPDATA%\Notepad++` then click ok
25+
4. Open `userDefineLang.xml` with a text editor
26+
5. If this is the first userdefined language you are adding, copy/paste the entire first file (which you downloaded) into the userDefineLang.xml, replacing all that was there. If this is the second or more language you add, simply copy everything from the first file starting at `<UserLang...>` to `</UserLang>` and paste it at the end of the `userDefineLang.xml` right before `</NotepadPlus>`
27+
6. Save the newly improved `userDefineLang.xml`

0 commit comments

Comments
 (0)