Skip to content

Commit

Permalink
+ irmen#23 Notepad++ syntax-file: add notes re update / alt installation
Browse files Browse the repository at this point in the history
  • Loading branch information
meisl committed May 7, 2021
1 parent dae5923 commit a48cf0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions syntax-files/NotepadPlusPlus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ To install:
* Open Notepad++
* Menu `Language` | `User Defined Language` | `Define your language...`
* Click `Import...`, then choose the xml file `Prog8.xml`

Notes:
* After an update of Notepad++ you will have to import the xml file again.
* Alternatively, you can select `Language` | `User Defined Language` | `Open User Defined Language folder...` and put the xml file there.
4 changes: 2 additions & 2 deletions syntax-files/NotepadPlusPlus/syntax-test.p8
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
; TODO: something
; FIXME #31
main {
str input = "string literal"
str input = "string literal\r\n\"\\"
ubyte c = 'x' ; character literal in bold
ubyte decimal = 0 + 1 - 2 * 3
float pi = 3.1415
Expand All @@ -16,7 +16,7 @@ main {
inline asmsub foo(ubyte char @A) clobbers(Y) {
asm {{
a_label:
nop
nop ; comment inside asm
bcc _done
sec
_done: rts
Expand Down

0 comments on commit a48cf0b

Please sign in to comment.