Windows > Third Party Plug-ins, Programs, and Skins
ZELDA v1.0 released (Expression Language editor)
zybex:
Yes, that can happen. Though it's rare, as most libs come from nuget (microsoft hosted) or compiled from source (peer reviewed). Still happens occasionally, more in the Linux world.
zybex:
Hi guys,
What about a menu item in Zelda to copy syntax-highlighted code to the Clipboard in the BBCode forum format? Any feedback welcome :)
(Red warnings appear only if needed)
--- Quote from: ZELDA ---Warning: HTML tags mangled for forum display, please re-type <b>/<u>/<i> tags
Warning: ## comment lines included, remove before use## normal text, numbers, escaped blocks and chars
escaped: // /, /a /b /c /( /)
numbers: 12345, hex number: #80FF00
## functions + symbols, math functions, variables
Isrange(Find(replace(regex([Lyrics],/(\w+/),-2),;,), replace(regex([Name],/(\w+/),-2),;,)),0-10)
math(int([duration])/3600)
## saved variable
save(convertdate(25//01//2010),_date1)
replace([_Date1],2010,2024)
## HTML
<font size="200" color="#00F0FF"><b>[Name]<//b>
## escaped block
/*char(34)/*
replace(listmix(/#CompareDates([d1],[d2],[L1])#/,0,a;c;d;y;yd),;,char(13))
--- End quote ---
Or a different style without [quote]:
ZELDA code snippet:Warning: HTML tags mangled for forum display, please re-type <b>/<u>/<i> tags
Warning: ## comment lines included, remove before use## normal text, numbers, escaped blocks and chars
escaped: // /, /a /b /c /( /)
numbers: 12345, hex number: #80FF00
## functions + symbols, math functions, variables
Isrange(Find(replace(regex([Lyrics],/(\w+/),-2),;,), replace(regex([Name],/(\w+/),-2),;,)),0-10)
math(int([duration])/3600)
## saved variable
save(convertdate(25//01//2010),_date1)
replace([_Date1],2010,2024)
## HTML
<font size="200" color="#00F0FF"><b>[Name]<//b>
## escaped block
/*char(34)/*
replace(listmix(/#CompareDates([d1],[d2],[L1])#/,0,a;c;d;y;yd),;,char(13))
For this to work, I'm inserting zero-width spaces after some <> HTML symbols. For direct copy/paste from the Forum it's still better to use a [code] block as the HTML entities are not mangled there, but OTOH this makes code readability much better. Colored code snippets can always be attached as an image too, so this is perhaps redundant.
Comments?
Doof:
Hey there, I'm running MC 32.025 and have Zelda connecting to MC through MCWS. Seems to work fine, I can browse playlists and Zelda evaluates expressions as usual, but when I try to open a linked tab, nothing happens. I get the dropdown menu showing the list of all fields, so that seems to also be working, but no matter which field I select, it never opens a new tab. Any ideas?
zybex:
Hi Doof, found the bug. People that already had Linked tabs open from previous versions would not have the problem.
I'll include the fix in the next release. Meanwhile, try doing CTRL+Click on the field name when opening, it should work.
(CTRL+Click allows opening the same Linked field more than once - I added the bug when adding this feature).
Doof:
Interesting. Ctrl-Click did work, but I'm not sure about the cause. I didn't have any linked tabs open before this. I only just noticed the feature last night and decided to try it out, and then had to go dig into MC settings to figure out how to enable MCWS.
Either way, I'm glad it works. This is a godsend feature in a godsend utility. Thanks for all the hard work you've done on this.
Edit: Ah, I see what you're saying now. I only ran into the problem because I'd never done it before.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version