本文共 1796 字,大约阅读时间需要 5 分钟。
js live 键盘时间
Tired of Windows Live Writer switching all your double and single quotes to the curly versions? Sure, you can turn it off in the options panel, but there’s actually a cool trick to use them that you might not have noticed.
厌倦了Windows Live Writer将所有双引号和单引号切换为卷曲版本吗? 当然,您可以在选项面板中将其关闭,但是实际上有一个很酷的窍门来使用它们,而您可能没有注意到。
Of course, this is only really useful when you’re writing articles with command line tips since the curly quotes break copy and paste, so for the 5 people out there that might read this article, be glad that I was bored and felt like writing this up.
当然,这仅在您编写带有命令行提示的文章时才真正有用,因为卷曲的引号会破坏复制和粘贴,因此对于可能阅读本文的5个人来说,很高兴我感到无聊并且喜欢写作这个。
Here’s the basic idea: Whenever you type the ” or ‘ keys, Windows Live Writer replaces them with the curly version—but if you hit the backspace key, it will revert it back to the regular version.
这是一个基本思想:每当您键入“或”键时,Windows Live Writer都会将其替换为卷曲版本,但是如果您按下Backspace键,它将把它还原为普通版本。
For instance, here’s how it works. You’ll probably notice that a video would have illustrated this point better, but I’m lazy and there’s only 5 of you reading this article anyway.
例如,这是它的工作方式。 您可能会注意到,视频可以更好地说明这一点,但是我很懒,并且只有5个人正在阅读本文。
The same thing works for single quotes as well, and a few other characters that you might type.
同样的事情也适用于单引号和您可能键入的其他一些字符。
If you’d prefer, you can always head into the options panel and just turn the smart quotes option off, of course.
如果愿意,您随时可以进入选项面板,然后关闭智能引号选项。
Well there you are. I expect all 5 of you to leave a comment telling me that you already knew about this feature and you’re very disappointed in me for wasting my time writing it up. Go on, I’m waiting…
好吧,你在那里。 我希望所有5个人都发表评论,告诉我您已经了解此功能,并且您由于浪费我的时间而对我感到非常失望。 继续,我在等...
翻译自:
js live 键盘时间
转载地址:http://fjzwd.baihongyu.com/