Skip to content

Commit f4d8307

Browse files
authored
Merge pull request #35 from meisl/master
Notepad++ syntax-file: add notes re update / alt installation
2 parents 254592c + a48cf0b commit f4d8307

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

syntax-files/NotepadPlusPlus/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ To install:
88
* Open Notepad++
99
* Menu `Language` | `User Defined Language` | `Define your language...`
1010
* Click `Import...`, then choose the xml file `Prog8.xml`
11+
12+
Notes:
13+
* After an update of Notepad++ you will have to import the xml file again.
14+
* Alternatively, you can select `Language` | `User Defined Language` | `Open User Defined Language folder...` and put the xml file there.

syntax-files/NotepadPlusPlus/syntax-test.p8

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
; TODO: something
77
; FIXME #31
88
main {
9-
str input = "string literal"
9+
str input = "string literal\r\n\"\\"
1010
ubyte c = 'x' ; character literal in bold
1111
ubyte decimal = 0 + 1 - 2 * 3
1212
float pi = 3.1415
@@ -16,7 +16,7 @@ main {
1616
inline asmsub foo(ubyte char @A) clobbers(Y) {
1717
asm {{
1818
a_label:
19-
nop
19+
nop ; comment inside asm
2020
bcc _done
2121
sec
2222
_done: rts

0 commit comments

Comments
 (0)