mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
Update new expression2 file comment (#3083)
* Update wire_expression2_editor.lua * Update lua/wire/client/text_editor/wire_expression2_editor.lua Co-authored-by: Periapsises <94928308+Periapsises@users.noreply.github.com> * Update lua/wire/client/text_editor/wire_expression2_editor.lua Co-authored-by: Periapsises <94928308+Periapsises@users.noreply.github.com> * Update lua/wire/client/text_editor/wire_expression2_editor.lua Co-authored-by: Periapsises <94928308+Periapsises@users.noreply.github.com> * Update wire_expression2_editor.lua --------- Co-authored-by: Periapsises <94928308+Periapsises@users.noreply.github.com>
This commit is contained in:
parent
fc1e6f1c2f
commit
a94735a96d
@ -959,16 +959,20 @@ function Editor:InitComponents()
|
||||
end
|
||||
|
||||
-- code1 contains the code that is not to be marked
|
||||
local code1 = "@name \n@inputs \n@outputs \n@persist \n@trigger \n@strict\n\n"
|
||||
local code1 = "@name \n@inputs \n@outputs \n@persist \n@strict\n\n"
|
||||
-- code2 contains the code that is to be marked, so it can simply be overwritten or deleted.
|
||||
local code2 = [[#[
|
||||
Documentation and examples are available at:
|
||||
Documentation, instructions and examples are available at:
|
||||
https://github.com/wiremod/wire/wiki/Expression-2
|
||||
^ Read what @strict and other directives do here ^
|
||||
^ There you can read about: ^
|
||||
|
||||
Discord is available at https://discord.gg/H8UKY3Y
|
||||
Reddit is available at https://www.reddit.com/r/wiremod
|
||||
Report any bugs you find here https://github.com/wiremod/wire/issues
|
||||
- What is @strict and other directives (https://github.com/wiremod/wire/wiki/Expression-2-Directives)
|
||||
- What are events (https://github.com/wiremod/wire/wiki/Expression-2-Events)
|
||||
- What are lambdas (https://github.com/wiremod/wire/wiki/E2-Guide:-Lambdas)
|
||||
|
||||
You can find our Discord here: https://discord.gg/H8UKY3Y
|
||||
You can find our Reddit here: https://www.reddit.com/r/wiremod
|
||||
Please report any bugs here: https://github.com/wiremod/wire/issues
|
||||
]#]]
|
||||
local defaultcode = code1 .. code2 .. "\n"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user