i want to post my code for people to see.. but when i do it looks like crap.
is there a way for this rich text format thing to work... it looks good in the body section when writing it out when rich text is enabled. but then i post it and it looks horrible.
heres an example... this is supposed to have abunch of line breaks in it.
macroScript KeyStones
category:"ClaverTech"
toolTip:"Keystones - Quick Select Key Objects"
(
persistent global myObjs
myObjsNames=#()
rollout KeyStoneRollout "ClaverTech - Keystones" width:273 height:290
(
--button btnDone "Done" pos:[214,249] width:95 height:40
listBox lbxObjects "Key Objects" pos:[10,5] width:178 height:19
button btnSet "Set List" pos:[195,39] width:75 height:30
button btnAdd "Add Object" pos:[195,109] width:75 height:30
button btnSelected "Add Selected" pos:[195,149] width:75 height:30
button btnRemove "Remove Object" pos:[195,229] width:75 height:30
on KeyStoneRollout open do
(
if myObjs!=undefined then
(
myObjs=for o in myObjs where (not isDeleted o and o!=undefined) collect o
myObjsNames=for o in myObjs collect o.name
lbxObjects.items=myObjsNames
)
else
(
myObjs=#()
)
)
Admin · 2010-03-01