Skip to content

Commit 4ef6237

Browse files
author
Michael Lyons
committed
Merge remote-tracking branch 'upstream/main' into ci/pkg-rename
2 parents 39cd770 + 13a8caa commit 4ef6237

11 files changed

+14
-12
lines changed

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55

66
/.git* export-ignore
77
/tests/ export-ignore
8-
/names/ export-ignore
8+
/resources/ export-ignore
99
/README.md export-ignore
10-
*(XX).sublime-syntax export-ignore

.github/workflows/syntax.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
matrix:
3636
include:
3737
- build: 'latest'
38-
# - build: 3211 # libgl1-mesa-glx is not available on ubuntu-latest SublimeText/syntax-action#17
38+
- build: 'stable'
39+
- build: 4077 # Supported in Package Control and contains test binary
3940
steps:
4041
- uses: actions/checkout@v4
4142
- uses: SublimeText/syntax-test-action@v2

Excel Formula.sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
name: Excel Formula
44
scope: source.sheet.excel
55
version: 2
6-
extends: Spreadsheet Formula (Basic).sublime-syntax
6+
extends: Packages/Spreadsheet Formula/Spreadsheet Formula (Basic).sublime-syntax
77
file_extensions:
88
- xls.txt
99

Google Sheets Formula.sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
name: Google Sheets Formula
44
scope: source.sheet.google
55
version: 2
6-
extends: Spreadsheet Formula (Basic).sublime-syntax
6+
extends: Packages/Spreadsheet Formula/Spreadsheet Formula (Basic).sublime-syntax
77
file_extensions:
88
- gsheet.txt
99

LibreOffice Calc Formula.sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
name: LibreOffice Calc Formula
44
scope: source.sheet.libre
55
version: 2
6-
extends: Spreadsheet Formula (Basic).sublime-syntax
6+
extends: Packages/Spreadsheet Formula/Spreadsheet Formula (Basic).sublime-syntax
77
file_extensions:
88
- localc.txt
99

support/FunctionTranslatorDevTools.js renamed to resources/func_translator_miner.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// To be used with the MS Edge debugger you can open in the Function Translator add-in for Excel.
22
// Starting point is to first click "References" at the top left, then click settings at the bottom right.
33

4+
// Sleep func to allow pages to load since I'd need to learn about async/sync
5+
// and event listening in JS from the ground up otherwise
46
function sleep(ms) {
57
return new Promise((resolve) => setTimeout(resolve, ms));
68
}
@@ -31,7 +33,7 @@ for (let i = 1; i <= 2 /*numberOfOptions*/; i++) {
3133
// Get the reference table
3234
let thisRefTable = document.getElementById("referenceTable");
3335

34-
// Query all elements inside the <tbody> and filter those with a 'title' attribute, then do some
36+
// Query all elements inside the <tbody> and filter those with a `title` or `lang` attribute, then do some
3537
// cursed highjacking of the map function cause idc to enumerate a proper for-each.
3638
titlesArr = Array.from(thisRefTable.querySelectorAll("[title], [lang]")).map(
3739
(el) => {

Excel Formula (XX).sublime-syntax renamed to tests/Excel Formula (XX).sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
name: Excel Formula (XX)
44
scope: source.sheet.excel.xx
55
version: 2
6-
extends: Excel Formula.sublime-syntax
6+
extends: Packages/Spreadsheet Formula/Excel Formula.sublime-syntax
77
hidden: true
88
file_extensions:
99
- xx.xls.txt

tests/syntax_test_excel.xls.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ TEXTJOIN(";",FALSE,valmax)
681681
' ^^ meta.reference.cell.sheet storage.type.sheet
682682
' <- keyword.operator.assignment.sheet
683683

684-
='^'!A1
684+
='&'!A1
685685
'^^^^ meta.reference.sheet
686686
'^ punctuation.definition.annotation.begin.sheet
687687
' ^ entity.name.struct.sheet

tests/syntax_test_excel.xx.xls.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
' SYNTAX TEST "Packages/Spreadsheet Formula/Excel Formula (XX).sublime-syntax"
1+
' SYNTAX TEST "Packages/Spreadsheet Formula/tests/Excel Formula (XX).sublime-syntax"
22

33
=1
44
'^ meta.number.integer.decimal.sheet constant.numeric.value.sheet

tests/syntax_test_google.gsheet.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ TEXTJOIN(";",FALSE,valmax)
702702
' ^ punctuation.separator.sequence.sheet
703703
' ^^ meta.reference.cell.sheet storage.type.sheet
704704

705-
='^'!A1
705+
='&'!A1
706706
'^^^^ meta.reference.sheet
707707
'^ punctuation.definition.annotation.begin.sheet
708708
' ^ entity.name.struct.sheet

0 commit comments

Comments
 (0)