-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add procedure and function snippet to "stamp button" (#8445)
* Add procedure and function snippet to "stamp button" * remove draft tiddler
- Loading branch information
Showing
6 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
title: $:/language/Snippets/FunctionDefinition | ||
tags: $:/tags/TextEditor/Snippet | ||
caption: Function definition | ||
|
||
\function f.name(param1,param2:"default value") [<param1>!is[blank]else<param2>] | ||
|
||
<<f.name>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
title: $:/language/Snippets/ProcedureDefinition | ||
tags: $:/tags/TextEditor/Snippet | ||
caption: Procedure definition | ||
|
||
\procedure procName(param1:"default value",param2) | ||
Your text comes here. | ||
\end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
title: $:/tags/TextEditor/Snippet | ||
list: $:/language/Snippets/ProcedureDefinition $:/language/Snippets/FunctionDefinition $:/language/Snippets/ListByTag $:/language/Snippets/Table4x3 $:/language/Snippets/TableOfContents $:/language/Snippets/MacroDefinition |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
title: $:/language/Snippets/FunctionDefinition | ||
tags: $:/tags/TextEditor/Snippet | ||
caption: Function Definition | ||
|
||
\function f.name(param1,param2:"default value") [<param1>!is[blank]else<param2>] | ||
|
||
<<f.name>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
title: $:/language/Snippets/ProcedureDefinition | ||
tags: $:/tags/TextEditor/Snippet | ||
caption: Procedure Definition | ||
|
||
\procedure procName(param1:"standard parameter", param2) | ||
Ihr Text kommt hier her. Zugriff auf <<__param1__>>. | ||
<<__param2__>> | ||
\end |