diff options
author | 2020-07-16 15:09:26 -0400 | |
---|---|---|
committer | 2020-07-16 15:09:26 -0400 | |
commit | 3eb130fd2ef73745b2b9f796abbce7bdd2b88632 (patch) | |
tree | 5246fc3d08f3a1372b3599cf636e5345c3fe9f57 /scripts | |
parent | c1c18855c92edbc80a438f90cc5686f9ff5e8b1c (diff) | |
download | textadept-3eb130fd2ef73745b2b9f796abbce7bdd2b88632.tar.gz textadept-3eb130fd2ef73745b2b9f796abbce7bdd2b88632.zip |
Renamed `events.AUTO_C_CANCELLED` to `events.AUTO_C_CANCELED`.
Australian English to American English.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gen_iface.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/gen_iface.lua b/scripts/gen_iface.lua index c06ece05..d3669bce 100755 --- a/scripts/gen_iface.lua +++ b/scripts/gen_iface.lua @@ -24,7 +24,8 @@ local increments = { -- constants to increment by one local changed_setter = {} -- holds properties changed to setter functions local function to_en_us(name) return name:gsub('([iIlL][oO])[uU]([rR])', '%1%2'): - gsub('ise$', 'ize'):gsub('([cC][eE][nN][tT])([rR])([eE])', '%1%3%2') + gsub('ise$', 'ize'):gsub('([cC][eE][nN][tT])([rR])([eE])', '%1%3%2'): + gsub('CANCELLED', 'CANCELED') end local function to_lua_name(camel_case) return to_en_us(camel_case:gsub('([a-z])([A-Z])', '%1_%2'): |