From 1e866bde7f37d1356923b0eb5cabc4a86496880a Mon Sep 17 00:00:00 2001 From: r-a-y Date: Wed, 4 Mar 2015 11:26:36 -0800 Subject: [PATCH] (Github Comment Enhancer) Added tab character as a snippet See #41. --- Github_Comment_Enhancer/Github_Comment_Enhancer.user.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Github_Comment_Enhancer/Github_Comment_Enhancer.user.js b/Github_Comment_Enhancer/Github_Comment_Enhancer.user.js index e785ac3..a378610 100644 --- a/Github_Comment_Enhancer/Github_Comment_Enhancer.user.js +++ b/Github_Comment_Enhancer/Github_Comment_Enhancer.user.js @@ -164,6 +164,11 @@ } }, + "function-snippets-tab": { + exec: function(txt, selText, commentForm, next) { + next("\t"); + } + }, "function-snippets-useragent": { exec: function(txt, selText, commentForm, next) { next("`" + navigator.userAgent + "`"); @@ -280,6 +285,9 @@ ' ' + '
' + '
' + + ' ' + + ' Add tab character' + + ' ' + ' ' + ' Add UserAgent' + ' ' +