I cannot find answers, could you kindly help me in the following matter?
I'd like to hide the indent guides for ace editor. The following does not work, everything else does:
editor.setDisplayIndentGuides(false);
The option above is not documented, see here:
https://ace.c9.io/#nav=api&api=editor
Any ideas? Thank you.
use editor.setOption instead
editor.setOption("displayIndentGuides", false)
Related
I try some examples from LaTeX, such as \Checkedbox, \CrossedBox*, \HollowBox, but unfortunately, they all do not work. I found $\Box$, $\checkmark$. Anyone know how to type checked box?
You can create your own command which overlays \checkmark on top of \Box:
\newcommand{\boxedcheckmark}
{{\ooalign{$\Box$\cr\hidewidth$\checkmark$\hidewidth}}}
I found $\Box$, $\checkmark$. Anyone know how to type checked box?
Check $\boxedcheckmark$ to see if it suits your needs.
GVim can achieve this goal by set linespace=12, but It does not work in xfce4-terminal.
I have tried almost all terminal listed in this page, but didn't find.
thanks for help!
Finally, I changed xfce4-terminal to urxvt
similar question
While it is easy enough to set the language for a given (open) file in Sublime Text, I'm wondering if there is any way that I can tell the editor in advance that anything called "Guardfile" should be highlighted like it's Ruby code. Does anyone know how to do this?
The plugins recommended in the comments by Brian both do the job nicely:
ApplySyntax
SyntaxFromFileName
Update:
I couldn't get SyntaxFromFileName to match any of my regex for some reason. On the other hand, DetectSyntax comes with syntax highlight for the Guardfile built in.
Update2:
DetectSyntax has been renamed to ApplySyntax
Putting the following at the top of said file also works
#!/usr/bin/env ruby
I am new to LaTeX, which I am trying to write my thesis with.
Can anybody guide me how to write ? or maybe it is a special font?
Thank you.
It is the calligraphic form of L. You call it as \mathcal{L} inside a math environment.
When in doubt, try http://detexify.kirelabs.org/classify.html.
I want a shortcut in Textmate to wrap the selected text with a ruby multiline comment -- '=begin' and '=end'.
It doesn't look like there is an existing one. Anyone know how to make one?
Finally figure it out, mostly by luck. I still wish I could find where the shortcut was defined.
However, it's ⌥⌘/
My bundle always uses the single-line comments, even when I select multiple lines. I'm sure your answer lies somewhere in Bundles > Bundle Editor > Ruby > Comments.