diff --git a/CHANGELOG.md b/CHANGELOG.md index 138793c34..4dec1c853 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file. - GUI sensor separators (#20495) - Command ``TimedPower [,ON|OFF|TOGGLE|BLINK]`` executes ``Power [ON|OFF|TOGGLE|BLINK] `` and after executes ``Power [OFF|ON|TOGGLE|BLINK_OFF]`` - Berry solidification of strings longer than 255 bytes (#20529) +- Berry syntax coloring for Notepad++ (by FransO) ### Breaking Changed diff --git a/lib/libesp32/berry/tools/plugins/Notepad++/TasmotaBerry-udl.xml b/lib/libesp32/berry/tools/plugins/Notepad++/TasmotaBerry-udl.xml new file mode 100644 index 000000000..c535c6d09 --- /dev/null +++ b/lib/libesp32/berry/tools/plugins/Notepad++/TasmotaBerry-udl.xml @@ -0,0 +1,64 @@ + + + + + + + + 00# 01 02 03#- 04-# + + 0x + A B C D E F a b c d e f + + + + .. + - ! ~ * / % + - << >> & ^ | .. < <= > >= == != && || ? ( ) { } [ ] . , : = += -= *= /= %= &= |= ^= <<= >>= + + + + + if do while for def + else elif + end + + + + if elif else while for def end class break continue return true false nil var do import as try except raise static + nil boolean integer real string function class instance module list map range global file math bytes persist + assert print input super type classname classof number int real str bool module size compile issubclass is instance call open + file.write file.read file.readbytes file.readline file.seek file.tell file.size file.close list.tostring list.push list.pop list.insert list.item list.setitem list.size list.resize list.clear list.iter list.keys list.concat list.reverse list.copy map.tostring map.insert map.remove map.item map.setitem map.insert map.contains nap.find map.size map.iter map.keys range.tostring range.iter range.lower range.upper range.incr range.setrange string.count string.split string.find string.hex string.byte string.char string.toupper string.tolower string.tr string.replace string.escape string.format math.pi math.nan math.imin math.imax math.floor math.ceil math.abs math.rand math.srand math.isnan math.sqrt math.cos math.tan math.asin math.acos math.atan math.atan2 math.deg math.rad math.sinh math.cosh math.tanh bytes.size bytes.resize bytes.clear bytes.reverse bytes.copy bytes.ismapped bytes.get bytes.geti bytes.set bytes.seti bytes.add bytes.getfloat bytes.setfloat bytes.getbits bytes.setbits bytes.setbytes bytes.tostring bytes.tohex bytes.fromhex bytes.asstring bytes.tob64 bytes.fromb64 global.contains global.id global.setmember json.load json.dump introspect.members introspect.get introspect.set introspect.name introspect.ismethod introspect.module introspect.setmodule introspect.topr os.getcmd os.chdir os.mkdir os.remove os.listdir os.system os.exit os.path.isdir os.path.isfile os.path.exists os.path.split os.path.splitext persist.save persist.find + + + + + 00" 01\ 02" 03' 04\ 05' 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 + + + + + + + + + + + + + + + + + + + + + + + + + + + + +