51 lines
1.7 KiB
Text
51 lines
1.7 KiB
Text
tag: user.code_block_comment
|
|
-
|
|
block comment: user.code_block_comment()
|
|
block comment line:
|
|
#todo: this should probably be a single function once
|
|
#.talon supports implementing actions with parameters?
|
|
edit.line_start()
|
|
user.code_block_comment_prefix()
|
|
key(space)
|
|
edit.line_end()
|
|
key(space)
|
|
user.code_block_comment_suffix()
|
|
#adds comment to the start of the line
|
|
block comment line <user.text> over:
|
|
#todo: this should probably be a single function once
|
|
#.talon supports implementing actions with parameters?
|
|
edit.line_start()
|
|
user.code_block_comment()
|
|
insert(user.text)
|
|
block comment <user.text> over:
|
|
#todo: this should probably be a single function once
|
|
#.talon supports implementing actions with parameters?
|
|
user.code_block_comment()
|
|
insert(user.text)
|
|
block comment <user.text>$:
|
|
#todo: this should probably be a single function once
|
|
#.talon supports implementing actions with parameters?
|
|
user.code_block_comment()
|
|
insert(user.text)
|
|
(line | inline) block comment <user.text> over:
|
|
#todo: this should probably be a single function once
|
|
#.talon supports implementing actions with parameters?
|
|
edit.line_end()
|
|
user.code_block_comment_prefix()
|
|
key(space)
|
|
insert(user.text)
|
|
key(space)
|
|
user.code_block_comment_suffix()
|
|
(line | inline) block comment <user.text>$:
|
|
#todo: this should probably be a single function once
|
|
#.talon supports implementing actions with parameters?
|
|
edit.line_end()
|
|
user.code_block_comment_prefix()
|
|
key(space)
|
|
insert(user.text)
|
|
key(space)
|
|
user.code_block_comment_suffix()
|
|
open block comment:
|
|
user.code_block_comment_prefix()
|
|
close block comment:
|
|
user.code_block_comment_suffix()
|