Skip to content

Commit e12dd6d

Browse files
committed
fix: 修复增强脚本功能
1 parent 5c4dee3 commit e12dd6d

29 files changed

Lines changed: 1284 additions & 685 deletions

3rdparty/AngelScript

3rdparty/WingCodeEdit

3rdparty/angel-lsp

Submodule angel-lsp updated 161 files

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,8 @@ set(CLASS_SRC
391391
src/class/angellsp.h
392392
src/class/angellsp.cpp
393393
src/class/lsp.h
394+
src/class/editorlspevent.h
395+
src/class/editorlspevent.cpp
394396
src/class/resettabletimer.h
395397
src/class/resettabletimer.cpp
396398
src/class/astype_evaluator.h

lang/en_US/winghex_en_US.ts

Lines changed: 137 additions & 137 deletions
Large diffs are not rendered by default.

lang/zh_CN/winghex_zh_CN.ts

Lines changed: 137 additions & 137 deletions
Large diffs are not rendered by default.

lang/zh_TW/winghex_zh_TW.ts

Lines changed: 137 additions & 137 deletions
Large diffs are not rendered by default.

src/angelscript.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@
9494
<Detect2Chars attribute="Comment" context="MatchComment" char="/" char1="*" lookAhead="true" />
9595
<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="block1"/>
9696
<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="block1"/>
97-
<RegExpr attribute="Data Type" context="#stay" String="\bauto(?=\s+\w+)"/>
97+
<RegExpr attribute="Data Type" context="#stay" String="\bauto(?=\s+\w+|\s*@|@)"/>
9898
<RegExpr attribute="Keyword" context="#stay" String="\b(?=\s+(?:class|interface|void)|(?=\s+(?:return|break))|(?:set|get)(?=\s*[;{])|(?=\s*::\s*\w+))"/>
9999
<RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*[(])" />
100100
<DetectChar attribute="Symbol" context="Member" char="."/>
101-
<AnyChar attribute="Symbol" context="#stay" String=":!%&amp;()+,-/*&lt;=&gt;?[]|~^&#59;"/>
101+
<AnyChar attribute="Symbol" context="#stay" String="@:!%&amp;()+,-/*&lt;=&gt;?[]|~^&#59;"/>
102102
<DetectChar attribute="Macro" context="Macro" char="#"/>
103103
</context>
104104

0 commit comments

Comments
 (0)