fix build under newer KConfig by bump cmake min version
This commit is contained in:
69
3rdparty/lexilla540/lexilla/test/examples/lua/AllStyles.lua
vendored
Normal file
69
3rdparty/lexilla540/lexilla/test/examples/lua/AllStyles.lua
vendored
Normal file
@ -0,0 +1,69 @@
|
||||
-- Enumerate all styles: 0 to 20
|
||||
-- 3 (comment doc) is not currently produced by lexer
|
||||
|
||||
--[[ comment=1 ]]
|
||||
|
||||
--[[ whitespace=0 ]]
|
||||
-- w
|
||||
|
||||
-- comment line=2
|
||||
|
||||
--- comment doc=3
|
||||
-- still comment doc
|
||||
|
||||
-- still comment doc
|
||||
3 -- comment doc broken only by code
|
||||
|
||||
-- number=4
|
||||
37
|
||||
|
||||
-- keyword=5
|
||||
local a
|
||||
|
||||
-- double-quoted-string=6
|
||||
"str"
|
||||
|
||||
-- single-quoted-string=7
|
||||
'str'
|
||||
|
||||
-- literal string=8
|
||||
[[ literal ]]
|
||||
|
||||
-- unused preprocessor=9
|
||||
$if
|
||||
|
||||
-- operator=10
|
||||
*
|
||||
|
||||
-- identifier=11
|
||||
identifier=1
|
||||
|
||||
-- string EOL=12
|
||||
"unclosed
|
||||
|
||||
-- keyword 2=13
|
||||
print
|
||||
|
||||
-- keyword 3=14
|
||||
keyword3
|
||||
|
||||
-- keyword 4=15
|
||||
keyword4
|
||||
|
||||
-- keyword 5=16
|
||||
keyword5
|
||||
|
||||
-- keyword 6=17
|
||||
keyword6
|
||||
|
||||
-- keyword 7=18
|
||||
keyword7
|
||||
|
||||
-- keyword 8=19
|
||||
keyword8
|
||||
|
||||
-- label=20
|
||||
::label::
|
||||
|
||||
-- identifier substyles.11.1=128
|
||||
moon
|
70
3rdparty/lexilla540/lexilla/test/examples/lua/AllStyles.lua.folded
vendored
Normal file
70
3rdparty/lexilla540/lexilla/test/examples/lua/AllStyles.lua.folded
vendored
Normal file
@ -0,0 +1,70 @@
|
||||
0 400 0 -- Enumerate all styles: 0 to 20
|
||||
0 400 0 -- 3 (comment doc) is not currently produced by lexer
|
||||
1 400 0
|
||||
0 400 0 --[[ comment=1 ]]
|
||||
1 400 0
|
||||
0 400 0 --[[ whitespace=0 ]]
|
||||
0 400 0 -- w
|
||||
1 400 0
|
||||
0 400 0 -- comment line=2
|
||||
1 400 0
|
||||
0 400 0 --- comment doc=3
|
||||
0 400 0 -- still comment doc
|
||||
1 400 0
|
||||
0 400 0 -- still comment doc
|
||||
0 400 0 3 -- comment doc broken only by code
|
||||
1 400 0
|
||||
0 400 0 -- number=4
|
||||
0 400 0 37
|
||||
1 400 0
|
||||
0 400 0 -- keyword=5
|
||||
0 400 0 local a
|
||||
1 400 0
|
||||
0 400 0 -- double-quoted-string=6
|
||||
0 400 0 "str"
|
||||
1 400 0
|
||||
0 400 0 -- single-quoted-string=7
|
||||
0 400 0 'str'
|
||||
1 400 0
|
||||
0 400 0 -- literal string=8
|
||||
0 400 0 [[ literal ]]
|
||||
1 400 0
|
||||
0 400 0 -- unused preprocessor=9
|
||||
0 400 0 $if
|
||||
1 400 0
|
||||
0 400 0 -- operator=10
|
||||
0 400 0 *
|
||||
1 400 0
|
||||
0 400 0 -- identifier=11
|
||||
0 400 0 identifier=1
|
||||
1 400 0
|
||||
0 400 0 -- string EOL=12
|
||||
0 400 0 "unclosed
|
||||
1 400 0
|
||||
0 400 0 -- keyword 2=13
|
||||
0 400 0 print
|
||||
1 400 0
|
||||
0 400 0 -- keyword 3=14
|
||||
0 400 0 keyword3
|
||||
1 400 0
|
||||
0 400 0 -- keyword 4=15
|
||||
0 400 0 keyword4
|
||||
1 400 0
|
||||
0 400 0 -- keyword 5=16
|
||||
0 400 0 keyword5
|
||||
1 400 0
|
||||
0 400 0 -- keyword 6=17
|
||||
0 400 0 keyword6
|
||||
1 400 0
|
||||
0 400 0 -- keyword 7=18
|
||||
0 400 0 keyword7
|
||||
1 400 0
|
||||
0 400 0 -- keyword 8=19
|
||||
0 400 0 keyword8
|
||||
1 400 0
|
||||
0 400 0 -- label=20
|
||||
0 400 0 ::label::
|
||||
1 400 0
|
||||
0 400 0 -- identifier substyles.11.1=128
|
||||
0 400 0 moon
|
||||
0 400 0
|
69
3rdparty/lexilla540/lexilla/test/examples/lua/AllStyles.lua.styled
vendored
Normal file
69
3rdparty/lexilla540/lexilla/test/examples/lua/AllStyles.lua.styled
vendored
Normal file
@ -0,0 +1,69 @@
|
||||
{2}-- Enumerate all styles: 0 to 20
|
||||
-- 3 (comment doc) is not currently produced by lexer
|
||||
{0}
|
||||
{1}--[[ comment=1 ]]{0}
|
||||
|
||||
{1}--[[ whitespace=0 ]]{0}
|
||||
{2}-- w
|
||||
{0}
|
||||
{2}-- comment line=2
|
||||
{0}
|
||||
{3}--- comment doc=3
|
||||
-- still comment doc
|
||||
{0}
|
||||
{3}-- still comment doc
|
||||
{4}3{0} {2}-- comment doc broken only by code
|
||||
{0}
|
||||
{2}-- number=4
|
||||
{4}37{0}
|
||||
|
||||
{2}-- keyword=5
|
||||
{5}local{0} {11}a{0}
|
||||
|
||||
{2}-- double-quoted-string=6
|
||||
{6}"str"{0}
|
||||
|
||||
{2}-- single-quoted-string=7
|
||||
{7}'str'{0}
|
||||
|
||||
{2}-- literal string=8
|
||||
{8}[[ literal ]]{0}
|
||||
|
||||
{2}-- unused preprocessor=9
|
||||
{9}$if
|
||||
{0}
|
||||
{2}-- operator=10
|
||||
{10}*{0}
|
||||
|
||||
{2}-- identifier=11
|
||||
{11}identifier{10}={4}1{0}
|
||||
|
||||
{2}-- string EOL=12
|
||||
{12}"unclosed
|
||||
{0}
|
||||
{2}-- keyword 2=13
|
||||
{13}print{0}
|
||||
|
||||
{2}-- keyword 3=14
|
||||
{14}keyword3{0}
|
||||
|
||||
{2}-- keyword 4=15
|
||||
{15}keyword4{0}
|
||||
|
||||
{2}-- keyword 5=16
|
||||
{16}keyword5{0}
|
||||
|
||||
{2}-- keyword 6=17
|
||||
{17}keyword6{0}
|
||||
|
||||
{2}-- keyword 7=18
|
||||
{18}keyword7{0}
|
||||
|
||||
{2}-- keyword 8=19
|
||||
{19}keyword8{0}
|
||||
|
||||
{2}-- label=20
|
||||
{20}::label::{0}
|
||||
|
||||
{2}-- identifier substyles.11.1=128
|
||||
{128}moon{0}
|
5
3rdparty/lexilla540/lexilla/test/examples/lua/Bug2205.lua
vendored
Normal file
5
3rdparty/lexilla540/lexilla/test/examples/lua/Bug2205.lua
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
print("First")
|
||||
--[[ Block comment start
|
||||
print("Second")
|
||||
--[[ Another block comment ]]
|
||||
print("Third. If run through an actual program, this will be executed.")
|
6
3rdparty/lexilla540/lexilla/test/examples/lua/Bug2205.lua.folded
vendored
Normal file
6
3rdparty/lexilla540/lexilla/test/examples/lua/Bug2205.lua.folded
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
0 400 0 print("First")
|
||||
2 400 0 + --[[ Block comment start
|
||||
0 401 0 | print("Second")
|
||||
0 401 0 | --[[ Another block comment ]]
|
||||
0 400 0 print("Third. If run through an actual program, this will be executed.")
|
||||
0 400 0
|
5
3rdparty/lexilla540/lexilla/test/examples/lua/Bug2205.lua.styled
vendored
Normal file
5
3rdparty/lexilla540/lexilla/test/examples/lua/Bug2205.lua.styled
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{13}print{10}({6}"First"{10}){0}
|
||||
{1}--[[ Block comment start
|
||||
print("Second")
|
||||
--[[ Another block comment ]]{0}
|
||||
{13}print{10}({6}"Third. If run through an actual program, this will be executed."{10}){0}
|
14
3rdparty/lexilla540/lexilla/test/examples/lua/SciTE.properties
vendored
Normal file
14
3rdparty/lexilla540/lexilla/test/examples/lua/SciTE.properties
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
lexer.*.lua=lua
|
||||
keywords.*.lua=do else elseif end for function if local repeat then until while
|
||||
keywords2.*.lua=print
|
||||
keywords3.*.lua=keyword3
|
||||
keywords4.*.lua=keyword4
|
||||
keywords5.*.lua=keyword5
|
||||
keywords6.*.lua=keyword6
|
||||
keywords7.*.lua=keyword7
|
||||
keywords8.*.lua=keyword8
|
||||
|
||||
substyles.lua.11=1
|
||||
substylewords.11.1.*.lua=moon
|
||||
|
||||
fold=1
|
41
3rdparty/lexilla540/lexilla/test/examples/lua/folding.lua
vendored
Normal file
41
3rdparty/lexilla540/lexilla/test/examples/lua/folding.lua
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
--[[ coding:UTF-8
|
||||
folding structure examples ]]
|
||||
|
||||
-- Use all the folding keywords:
|
||||
-- do end function if repeat until while
|
||||
function first()
|
||||
-- Comment
|
||||
if op == "+" then
|
||||
r = a + b
|
||||
elseif op == "-" then
|
||||
r = a - b
|
||||
elseif op == "*" then
|
||||
r = a*b
|
||||
elseif op == "/" then
|
||||
r = a/b
|
||||
else
|
||||
error("invalid operation")
|
||||
end
|
||||
|
||||
for i=1,10 do
|
||||
print(i)
|
||||
end
|
||||
|
||||
while a[i] do
|
||||
print(a[i])
|
||||
i = i + 1
|
||||
end
|
||||
|
||||
-- print the first non-empty line
|
||||
repeat
|
||||
line = io.read()
|
||||
until line ~= ""
|
||||
print(line)
|
||||
|
||||
end
|
||||
|
||||
-- { ... } folds
|
||||
markers = {
|
||||
256,
|
||||
128,
|
||||
}
|
42
3rdparty/lexilla540/lexilla/test/examples/lua/folding.lua.folded
vendored
Normal file
42
3rdparty/lexilla540/lexilla/test/examples/lua/folding.lua.folded
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
2 400 0 + --[[ coding:UTF-8
|
||||
0 401 0 | folding structure examples ]]
|
||||
1 400 0
|
||||
0 400 0 -- Use all the folding keywords:
|
||||
0 400 0 -- do end function if repeat until while
|
||||
2 400 0 + function first()
|
||||
0 401 0 | -- Comment
|
||||
2 401 0 + if op == "+" then
|
||||
0 402 0 | r = a + b
|
||||
0 402 0 | elseif op == "-" then
|
||||
0 402 0 | r = a - b
|
||||
0 402 0 | elseif op == "*" then
|
||||
0 402 0 | r = a*b
|
||||
0 402 0 | elseif op == "/" then
|
||||
0 402 0 | r = a/b
|
||||
0 402 0 | else
|
||||
0 402 0 | error("invalid operation")
|
||||
0 402 0 | end
|
||||
1 401 0 |
|
||||
2 401 0 + for i=1,10 do
|
||||
0 402 0 | print(i)
|
||||
0 402 0 | end
|
||||
1 401 0 |
|
||||
2 401 0 + while a[i] do
|
||||
0 402 0 | print(a[i])
|
||||
0 402 0 | i = i + 1
|
||||
0 402 0 | end
|
||||
1 401 0 |
|
||||
0 401 0 | -- print the first non-empty line
|
||||
2 401 0 + repeat
|
||||
0 402 0 | line = io.read()
|
||||
0 402 0 | until line ~= ""
|
||||
0 401 0 | print(line)
|
||||
1 401 0 |
|
||||
0 401 0 | end
|
||||
1 400 0
|
||||
0 400 0 -- { ... } folds
|
||||
2 400 0 + markers = {
|
||||
0 401 0 | 256,
|
||||
0 401 0 | 128,
|
||||
0 401 0 | }
|
||||
0 400 0
|
41
3rdparty/lexilla540/lexilla/test/examples/lua/folding.lua.styled
vendored
Normal file
41
3rdparty/lexilla540/lexilla/test/examples/lua/folding.lua.styled
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
{1}--[[ coding:UTF-8
|
||||
folding structure examples ]]{0}
|
||||
|
||||
{2}-- Use all the folding keywords:
|
||||
-- do end function if repeat until while
|
||||
{5}function{0} {11}first{10}(){0}
|
||||
{2}-- Comment
|
||||
{0} {5}if{0} {11}op{0} {10}=={0} {6}"+"{0} {5}then{0}
|
||||
{11}r{0} {10}={0} {11}a{0} {10}+{0} {11}b{0}
|
||||
{5}elseif{0} {11}op{0} {10}=={0} {6}"-"{0} {5}then{0}
|
||||
{11}r{0} {10}={0} {11}a{0} {10}-{0} {11}b{0}
|
||||
{5}elseif{0} {11}op{0} {10}=={0} {6}"*"{0} {5}then{0}
|
||||
{11}r{0} {10}={0} {11}a{10}*{11}b{0}
|
||||
{5}elseif{0} {11}op{0} {10}=={0} {6}"/"{0} {5}then{0}
|
||||
{11}r{0} {10}={0} {11}a{10}/{11}b{0}
|
||||
{5}else{0}
|
||||
{11}error{10}({6}"invalid operation"{10}){0}
|
||||
{5}end{0}
|
||||
|
||||
{5}for{0} {11}i{10}={4}1{10},{4}10{0} {5}do{0}
|
||||
{13}print{10}({11}i{10}){0}
|
||||
{5}end{0}
|
||||
|
||||
{5}while{0} {11}a{10}[{11}i{10}]{0} {5}do{0}
|
||||
{13}print{10}({11}a{10}[{11}i{10}]){0}
|
||||
{11}i{0} {10}={0} {11}i{0} {10}+{0} {4}1{0}
|
||||
{5}end{0}
|
||||
|
||||
{2}-- print the first non-empty line
|
||||
{0} {5}repeat{0}
|
||||
{11}line{0} {10}={0} {11}io.read{10}(){0}
|
||||
{5}until{0} {11}line{0} {10}~={0} {6}""{0}
|
||||
{13}print{10}({11}line{10}){0}
|
||||
|
||||
{5}end{0}
|
||||
|
||||
{2}-- { ... } folds
|
||||
{11}markers{0} {10}={0} {10}{{0}
|
||||
{4}256{10},{0}
|
||||
{4}128{10},{0}
|
||||
{10}}{0}
|
12
3rdparty/lexilla540/lexilla/test/examples/lua/nonASCII242.lua
vendored
Normal file
12
3rdparty/lexilla540/lexilla/test/examples/lua/nonASCII242.lua
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
-- Tests behaviour with non-ASCII identifiers joined with '.' or ':'
|
||||
输出栏选择夹:加入子夹("提示"):加入子夹("输出"):加入子夹("提示&输出"):加入子夹("Log")
|
||||
支持库管理器:置坐标(0,工具栏:取高度() + 资源栏选择夹:取高度()):置宽高(分隔条_X.x,分隔条_Y:取坐标()):显示()
|
||||
|
||||
選択グリップ:に参加(10,"グリップ"):に参加("グリップ")
|
||||
|
||||
클립선택:가입("레이블")
|
||||
δέλτα:ζήτα("δέλτα")
|
||||
źdźbło.krnąbrność(0)
|
||||
🍣😂:💮("😂")
|
||||
|
||||
string:rep("ddf"):gsub("ddf","ffd")
|
13
3rdparty/lexilla540/lexilla/test/examples/lua/nonASCII242.lua.folded
vendored
Normal file
13
3rdparty/lexilla540/lexilla/test/examples/lua/nonASCII242.lua.folded
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
0 400 0 -- Tests behaviour with non-ASCII identifiers joined with '.' or ':'
|
||||
0 400 0 输出栏选择夹:加入子夹("提示"):加入子夹("输出"):加入子夹("提示&输出"):加入子夹("Log")
|
||||
0 400 0 支持库管理器:置坐标(0,工具栏:取高度() + 资源栏选择夹:取高度()):置宽高(分隔条_X.x,分隔条_Y:取坐标()):显示()
|
||||
1 400 0
|
||||
0 400 0 選択グリップ:に参加(10,"グリップ"):に参加("グリップ")
|
||||
1 400 0
|
||||
0 400 0 클립선택:가입("레이블")
|
||||
0 400 0 δέλτα:ζήτα("δέλτα")
|
||||
0 400 0 źdźbło.krnąbrność(0)
|
||||
0 400 0 🍣😂:💮("😂")
|
||||
1 400 0
|
||||
0 400 0 string:rep("ddf"):gsub("ddf","ffd")
|
||||
0 400 0
|
12
3rdparty/lexilla540/lexilla/test/examples/lua/nonASCII242.lua.styled
vendored
Normal file
12
3rdparty/lexilla540/lexilla/test/examples/lua/nonASCII242.lua.styled
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
{2}-- Tests behaviour with non-ASCII identifiers joined with '.' or ':'
|
||||
{11}输出栏选择夹:加入子夹{10}({6}"提示"{10}):{11}加入子夹{10}({6}"输出"{10}):{11}加入子夹{10}({6}"提示&输出"{10}):{11}加入子夹{10}({6}"Log"{10}){0}
|
||||
{11}支持库管理器:置坐标{10}({4}0{10},{11}工具栏:取高度{10}(){0} {10}+{0} {11}资源栏选择夹:取高度{10}()):{11}置宽高{10}({11}分隔条_X.x{10},{11}分隔条_Y:取坐标{10}()):{11}显示{10}(){0}
|
||||
|
||||
{11}選択グリップ:に参加{10}({4}10{10},{6}"グリップ"{10}):{11}に参加{10}({6}"グリップ"{10}){0}
|
||||
|
||||
{11}클립선택:가입{10}({6}"레이블"{10}){0}
|
||||
{11}δέλτα:ζήτα{10}({6}"δέλτα"{10}){0}
|
||||
{11}źdźbło.krnąbrność{10}({4}0{10}){0}
|
||||
{11}🍣😂:💮{10}({6}"😂"{10}){0}
|
||||
|
||||
{11}string:rep{10}({6}"ddf"{10}):{11}gsub{10}({6}"ddf"{10},{6}"ffd"{10}){0}
|
7
3rdparty/lexilla540/lexilla/test/examples/lua/x.lua
vendored
Normal file
7
3rdparty/lexilla540/lexilla/test/examples/lua/x.lua
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
--[[ coding:UTF-8
|
||||
comment ]]
|
||||
function first()
|
||||
::開::
|
||||
-- Comment
|
||||
func(SCI_ANNOTATIONSETTEXT, 'a', 0, "LINE1")
|
||||
end
|
8
3rdparty/lexilla540/lexilla/test/examples/lua/x.lua.folded
vendored
Normal file
8
3rdparty/lexilla540/lexilla/test/examples/lua/x.lua.folded
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
2 400 0 + --[[ coding:UTF-8
|
||||
0 401 0 | comment ]]
|
||||
2 400 0 + function first()
|
||||
0 401 0 | ::開::
|
||||
0 401 0 | -- Comment
|
||||
0 401 0 | func(SCI_ANNOTATIONSETTEXT, 'a', 0, "LINE1")
|
||||
0 401 0 | end
|
||||
0 400 0
|
7
3rdparty/lexilla540/lexilla/test/examples/lua/x.lua.styled
vendored
Normal file
7
3rdparty/lexilla540/lexilla/test/examples/lua/x.lua.styled
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{1}--[[ coding:UTF-8
|
||||
comment ]]{0}
|
||||
{5}function{0} {11}first{10}(){0}
|
||||
{20}::開::{0}
|
||||
{2}-- Comment
|
||||
{0} {11}func{10}({11}SCI_ANNOTATIONSETTEXT{10},{0} {7}'a'{10},{0} {4}0{10},{0} {6}"LINE1"{10}){0}
|
||||
{5}end{0}
|
Reference in New Issue
Block a user