Skip to content

Commit 4b4f7ee

Browse files
committed
update
1 parent fa6a214 commit 4b4f7ee

File tree

7 files changed

+20
-7
lines changed

7 files changed

+20
-7
lines changed

Snippets/Return.sublime-snippet

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<snippet>
22
<content><![CDATA[
3-
43
RETURN
54
65
! ---------------------------------------------------------------------- !

Snippets/codeblock.sublime-snippet

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<snippet>
22
<content><![CDATA[
3-
43
! ---------------------------------------------------------------------- !
54
! ${1:A B S C H N I T T S B E G R E N Z U N G}
65
! ---------------------------------------------------------------------- !

Snippets/commentline.sublime-snippet

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<snippet>
22
<content><![CDATA[
3-
43
! ---------------------------------------------------------------------- !
54
65

Snippets/endmarker.sublime-snippet

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<snippet>
22
<content><![CDATA[
3-
43
! ---------------------------- E N D ----------------------------------- !
54
! ---------------------------- E N D ----------------------------------- !
65

Snippets/eps.sublime-snippet

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<snippet>
22
<content><![CDATA[
3-
43
eps = 0.0001
54
65
]]></content>

Snippets/hotspot.sublime-snippet

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
HOTSPOT2 sideX, 0, hID + 1, sideY, 1 + 128 ! Basisfangpunkt
4+
HOTSPOT2 sideX, sideY, hID + 2, sideY, 2 ! beweglicher Punkt
5+
HOTSPOT2 sideX, -0.1, hID + 3, sideY, 3 ! Referenzvektor
6+
hID = hID + 3
7+
8+
]]></content>
9+
<tabTrigger>hot</tabTrigger>
10+
<description>HOTSPOT 2</description>
11+
<scope>source.gdl</scope>
12+
</snippet>

Syntaxes/GDL.tmLanguage

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
55
<key>fileTypes</key>
@@ -57,7 +57,7 @@
5757
</dict>
5858
<dict>
5959
<key>match</key>
60-
<string>(?i)(?&lt;=^|\s)(ABS|CEIL|INT|FRA|ROUND_INT|SGN|ACS|ASN|ATN|COS|SIN|TAN|PI|EXP|LGT|LOG|SQR|MAX|MIN|RND|STR(\{2\})?|SPLIT|STW|STRLEN|STRSTR|STRSUB|VARDIM[12]|DIM|BITTEST|BITSET|REQ(UEST)?(\{2\})?|IND|NTR|VARTYPE)(?=$|\s|\()</string>
60+
<string>(?i)(?&lt;=^|\s)(ABS|CEIL|INT|FRA|ROUND_INT|SGN|ACS|ASN|ATN|COS|SIN|TAN|PI|EXP|LGT|LOG|SQR|MAX|MIN|RND|STR(\{2\})?|SPLIT|STW|STRLEN|STRSTR|STRSUB|VARDIM[12]|DIM|BITTEST|BITSET|REQ((UEST)(\{2\})?)?|IND|NTR|VARTYPE)(?=$|\s|\()</string>
6161
<key>name</key>
6262
<string>keyword.other.special-method.gdl.functions</string>
6363
</dict>
@@ -283,6 +283,12 @@
283283
<key>name</key>
284284
<string>keyword.gdl.globals.light</string>
285285
</dict>
286+
<dict>
287+
<key>match</key>
288+
<string>(?i)(?&lt;=^|\s|\+|\-|\^|\*|\*\*|\/|\=|&lt;|&gt;|&lt;\=|&gt;\=|&lt;&gt;|\#)((GLOB_((ISSUE|CHANGE)_SCHEME))|LAYOUT_((REVISION|CHANGE)_HISTORY|CURRENTVERSION_OPEN))(?=$|\s|\+|\-|\^|\*{1,2}|\/|\=|&lt;|&gt;|&lt;\=|&gt;\=|&lt;&gt;|\#)</string>
289+
<key>name</key>
290+
<string>keyword.gdl.globals.layout</string>
291+
</dict>
286292
<dict>
287293
<key>match</key>
288294
<string>(?i)(?&lt;=^|\s|\+|\-|\^|\*|\*\*|\/|\=|&lt;|&gt;|&lt;\=|&gt;\=|&lt;&gt;|\#)(GLOB_USER_([1-9]\b|[1][0-9]|20))(?=$|\s|\+|\-|\^|\*{1,2}|\/|\=|&lt;|&gt;|&lt;\=|&gt;\=|&lt;&gt;|\#)</string>

0 commit comments

Comments
 (0)