text editor for coloured syntax on parentheses/brackets? - editor

Hi guys I'm looking for a text editor that can have the coloured bracket feature. I'm running sublime text and none of the plugins I use have that feature or they don't work. I use Ubuntu and would like a text editor friendly to my os. https://www.google.com/search?q=rainbow+braces+text+editor&espv=2&biw=1301&bih=681&source=lnms&tbm=isch&sa=X&ved=0CAYQ_AUoAWoVChMI6-XywYzQxwIViHumCh31PQvk#imgrc=Q44WVZreWruUvM%3A is an example

Related

How to Use Delphi Translation Editor?

I am using Delphi XE3's Translation Editor.
This is the screenshot:
The GUI is rather confusing as there are many columns I don't know their usages. What I can guess is the white cells are editable and I can input the translated contents, and set the status as "Translated".
I don't know what is the usage of "Previous 中文(简体, 中国)(original)" or "Previous (简体, 中国)(translated)".
The official document is at http://docwiki.embarcadero.com/RADStudio/XE3/en/Editing_Resource_Files_in_the_Translation_Manager. IT does not explain how to use the editor and what is the usage of the columns at all.

How to underline words after spell check using Delphi

I'm trying to develop a text editor with spell checker capability. I can detect erroneous words successfully.
Many text editors underline (red color) the erroneous words like this.
How can I underline any word this way? Any TMemo, TRichEdit or TSynEdit solution is acceptable.

What editor does Elliot use in Season 4 Episode 8(Mr. robot)?

sorry for the stupid question
In season 4, episode 8(Mr. Robot), Elliot writes a script. What a code editor does he use?
I will attach a pic of the environment.
Is it sublime? if is it sublime, did the font change, and indent
guide hide?
Tnx!
A pic of the editor that he used
It looks like not Sublime Text, because
Python syntax. Token __name__ is colored with 2 colors, while ST uses one Id color. And string token "__main__" is colored with 2 colors, while ST uses single color. It may be some custom ST syntax, though.
Sublime shows indent-guide vertical lines, screenshot don't have them. Lines can be hidden, though.
It looks like Sublime Text because:
function word def in Python has italic font. Like in ST3.
gutter shows colored back of current line, and yellow vertical bar on the left, for changed line. Sublime does it! VS Code don't do it (by default?).

How to configure tcolorbox in lyx?

I’ve been trying for the days now to format attractive code listings in lyx for an Erlang programming book that I’m working on.
The tcolorbox package looks like it should do the trick, but frustrates me at every turn,
Requirements:
Shaded Box with rounded corners, white header text on black, black outline, black on white body text
Head centered and of the form “Listing CN.LN comment” where CN is chapter number and LN is listing number and comment is in italics.
I can do this with a LaTeX macro, but can’t make it work in the head of a shaded box.
Code listing in the body must be mono space font with bold face highlighting.
I’ve read the tcolorbox manual, but still don’t understand how it works in lyx.
Can some kind souls please help dispel my ignorance?
LRP
I'm not sure about all the details of your requirements (could you post the LaTeX that works?) Try the following to get you started (I'm using LyX 2.2.x):
Document > Settings > Modules > Fancy Colored Boxes > Add > Apply
Insert > Custom Insets > Color Box
Inside the Color Box inset, you can find Color Box Options (right-click, or ALT-A 1 in Windows). Those options look similar to the syntax of tcolorbox, e.g.:
title=An enhanced box with a color gradient, enhanced, frame style={left color=red!75!black, right color=blue!75!black}, interior style={left color=red!20!white, right color=yellow!50!white}
Finally, there's an Example (in the LyX Resources/Examples folder) called colored-boxes.lyx that has a lot of info.

Latex color box inline with text

I'm trying to put together a LaTeX color box. The xcolor package \fcolorbox seem to be what I want, but I can't get the rendering quite correct. When I use
\fcolorbox{black}{red}{}
it renders a small box sunken to the bottom of the text line. The best I've managed to do is to fake it with a similar text color:
\fcolorbox{black}{red}{\textcolor{red}{--}}
However, I'm worried that this won't render correctly in all situations with defined colors. Is there a way I can declare an empty text box with full in-line text height? Is there another solution?
I'm basically looking for the code that produces the color boxes all through the document at ftp://ftp.dante.de/pub/tex/macros/latex/contrib/xcolor/xcolor.pdf. The boxes I'm referring to are used throughout, but the first instance is on page 4. Thanks.
The xcolor.dtx file in the same directory as the pdf contains the source for the package and the source for the documentation. The relevant bits from the source for the documentation:
\def\testclr#1#{\#testclr{#1}}
\def\#testclr#1#2{{\fboxsep\z#\fbox{\colorbox#1{#2}{\phantom{XX}}}}}
...
(Answer: 40\% \testclr{green} $+$ 60\% \testclr{yellow} $=$ \testclr{green!40!yellow}, e.g., |\color{green!40!yellow}|)
Basically, use \phantom{} on the contents of your color box, and make sure that at least one of the phantom characters is full-height.
Also, https://tex.stackexchange.com/

Resources