LSL posting tool for community.secondlife.com

Add or remove colors for LSL code in pre blocks

作者
Cherry M (Cerise)
今日安裝
0
安裝總數
23
評價
0 0 0
版本
20150312
建立日期
2015-03-13
更新日期
2015-03-13
尺寸
24.9 KB
授權條款
未知
腳本執行於

This adds two buttons for the rich text editor (TinyMCE) on community.secondlife.com. pre blocks (like those from the insert code button) will be highlighted assuming LSL. There is also a button to remove the highlights, in case the formatting looks wrong, or the style tags make the post too large. Right now this is an all or nothing operation, all pre blocks in the post or none will be highlighted. That could improve in the future, if I can find a nicer way into the iframe. Currently tested on Firefox and Chrome.

2015-03-12
SL switched its forum to https, also re-host at greasyfork.
2011-05-15
Temporarily remove wrapping fix because the new editor does not like it.
2011-04-17
llGetEnv and prerelease functions 'llGetSPMaxMemory', 'llScriptProfiler', 'llGetUsedMemory'
2011-04-17
special case reserved words print, event; special highlights for jump, @, default, state; typos
2011-04-16
move decimal ints to end of list, to capture floats w/trailing period

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址