Browse Source

Fix wrong xml structure in 2 Auto-completion files

Move `<Environment>` tag into `<AutoComplete>` tag as per file definition for Cobol and Lua.

Fix #11393, close #11394
pull/11403/head
VinsWorldcom 3 years ago committed by Don Ho
parent
commit
10ec944800
  1. 2
      PowerEditor/installer/APIs/cobol.xml
  2. 2
      PowerEditor/installer/APIs/lua.xml

2
PowerEditor/installer/APIs/cobol.xml

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<NotepadPlus>
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," additionalWordChar="-" />
<!-- note: this list was created using functions and reserved words known to GnuCOBOL (COBOL85,2002,2014 + extensions from IBM/MF/RM/ACUCOBOL) -->
<AutoComplete language="COBOL">
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," additionalWordChar="-" />
<KeyWord name="3-D" />
<KeyWord name="ABS" func="yes">
<Overload retVal="Integer/Numeric" descr="absolute value of &lt;number&gt;">

2
PowerEditor/installer/APIs/lua.xml

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<NotepadPlus>
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar=".:" />
<AutoComplete language="LUA">
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar=".:" />
<KeyWord name="and" func="no" />
<KeyWord name="assert" func="yes">
<Overload retVal="void" descr="

Loading…
Cancel
Save