Skip to content

Commit

Permalink
Update new expression2 file comment (#3083)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
deltamolfar and Periapsises authored Jun 13, 2024
1 parent fc1e6f1 commit a94735a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions lua/wire/client/text_editor/wire_expression2_editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit a94735a

Please sign in to comment.