in case anyone is interested in building espeasy with codehighlighting can do this here:
https://github.com/chromoxdor/ESPEasy/tree/powercolor
(i initally used it for my plugs with integrated power-meters therefore the strange name)
what else is different:
-custom css
-includes js and css files in custom 1m builds (for using devices without internet)
Code highlighting in browser (codemirror)
Moderators: grovkillen, Stuntteam, TD-er
Re: Code highlighting in browser (codemirror)
I made some updates which makes it even more nicer to write rules:
- auto-activation of hinting through typing
- comments are now excluded from hinting
- minor sorting and highlighting issues fixed
have fun!
- auto-activation of hinting through typing
- comments are now excluded from hinting
- minor sorting and highlighting issues fixed
have fun!
Re: Code highlighting in browser (codemirror)
More small updates:
- minor color changes
- added System Variables and Standard Conversions to the word list
- Taskvariables in [] are now being also suggested
- minor color changes
- added System Variables and Standard Conversions to the word list
- Taskvariables in [] are now being also suggested
Re: Code highlighting in browser (codemirror)
I added more stuff:
- "On"+enter, "Do"+enter or "If"+enter will result in autocompletion.
- "Logentry" + Enter adds quotation marks
- Autoclose brackets
- You can now search and replace in rules.
- hex numbers like in [p116] colorcodes or numbers prefixed with "0x" are now marked as numbers
- Now softabs are beeing used
- Longtouch on mobile devices opens search and replace dialog (hopefully)
Here some useful shortcuts:
Ctrl-F / Cmd-F -> Start searching
Ctrl-G / Cmd-G -> Find next
Shift-Ctrl-G / Shift-Cmd-G -> Find previous
Shift-Ctrl-F / Cmd-Option-F -> Replace
Shift-Ctrl-R / Shift-Cmd-Option-F -> Replace all
Tab -> softtab
Select then Tab -> indent selection
Shift-Tab -> dedent
Select then Shift-Tab -> dedent selection
- "On"+enter, "Do"+enter or "If"+enter will result in autocompletion.
- "Logentry" + Enter adds quotation marks
- Autoclose brackets
- You can now search and replace in rules.
- hex numbers like in [p116] colorcodes or numbers prefixed with "0x" are now marked as numbers
- Now softabs are beeing used
- Longtouch on mobile devices opens search and replace dialog (hopefully)
Here some useful shortcuts:
Ctrl-F / Cmd-F -> Start searching
Ctrl-G / Cmd-G -> Find next
Shift-Ctrl-G / Shift-Cmd-G -> Find previous
Shift-Ctrl-F / Cmd-Option-F -> Replace
Shift-Ctrl-R / Shift-Cmd-Option-F -> Replace all
Tab -> softtab
Select then Tab -> indent selection
Shift-Tab -> dedent
Select then Shift-Tab -> dedent selection
Who is online
Users browsing this forum: No registered users and 3 guests