AggrorJorn Posted February 12, 2016 Share Posted February 12, 2016 What is the workaround again to get the formatting for Lua scripts correct when editing a post? Posting the script inside a 'code' tag works at first. Bu when you edit your post, you lose all formatting. --testing function Script:Start() self.enabled = false end Quote Link to comment Share on other sites More sharing options...
Brutile Posted February 12, 2016 Share Posted February 12, 2016 Are you talking about all those extra html tags? If so, you get those for colored text, bold text, etc.So if you post raw text, it should show up ok. Don't know about the workaround you're talking about though. Quote Link to comment Share on other sites More sharing options...
Josh Posted February 12, 2016 Share Posted February 12, 2016 There's a little button in the edit window that turns off the auto formatting so you are working with old school bob code. Keep that turned off when you start editing and it will retain white soace Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
AggrorJorn Posted February 12, 2016 Author Share Posted February 12, 2016 Ah that's the one. Only downside to it is when you toggle a second time between editing mode, you lose the indenting. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted December 4, 2016 Share Posted December 4, 2016 What do you put in the code tag to format as C/C++? I believe Lua was made the default a while back. Quote Link to comment Share on other sites More sharing options...
Josh Posted December 5, 2016 Share Posted December 5, 2016 {cpp} 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
gamecreator Posted December 5, 2016 Share Posted December 5, 2016 Ah, got it. [ cpp ] without spaces Quote Link to comment Share on other sites More sharing options...
macklebee Posted December 5, 2016 Share Posted December 5, 2016 void semicolon semicolon void void ;;;;;;; [ cpp ]void semicolon semicolon void void ;;;;;;;[ / cpp ] ^remove the spaces in the brackets 1 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
gamecreator Posted December 5, 2016 Share Posted December 5, 2016 Was editing repeatedly as I was testing it. Took me a second to figure out the obvious. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.