LSL posting tool for community.secondlife.com

Add or remove colors for LSL code in pre blocks

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
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