

While it supports heredoc syntax, it does not have support for regular multi-line strings in quotes. HTML-Kit is a fantastic editor and used to be my editor of choice until relatively recently. I don't know if this will be added in a future version. According to their website, this will be supported in version 11.Ĭrimson editor is nice, but doesn't have support for multi-line strings. UltraEdit looks great, but unfortunately does not have syntax highlighting for multi-line strings. Responsiveness was one of my main criteria, and one of the reasons I chose the light-weight Syn for now. It is a very impressive editor with a large range of plug-ins, but unfortunately I found it very slow to load. JEdit does support multi-line strings in its syntax highlighting. The lack of bold and italic support is not as important to me. What turned me off from this editor was that I couldn't find a folder view panel, and I couldn't specify bold or italic when setting up my syntax highlighting. If anybody knows a way, please let me know. Notepad++ does highlight multi-line strings correctly, but I couldn't find a way of showing a 'folder view' panel similar to that found in editors such as Syn, HTML-Kit, JEdit and Editplus.
RUBY MINE TEXT EDITOR CODE
I was very impressed with Notepad++ for its speed and responsiveness as well as for additional features such as code folding. Alas, the fixes haven't made it into an official build. Incidentally, if you email the developer, he'll be happy to give you a later build where the bugs are fixed. Syn can highlight multi-line strings, but I found a couple of bugs in the latest version on their site, which is dated February 2004. Given the choice, I would rather use quoted strings than heredoc. The text editor I now use is Syn, which supports multi-line quoted strings but not heredoc syntax. This next example uses heredoc syntax, which allows you to specify a token to end the string with. The first is simple a quoted string split over multiple lines. Here are two examples of multi-line strings in PHP. I find multi-line strings convenient for writing SQL, as writing a non-trivial SQL query on one line does not make for very readable code. When I was switched text editors recently, support for multi-line strings when syntax highlighting was high on my list of required features. However, it can be hard to find a syntax highlighting text editor that will correctly highlight multi-line strings in PHP.

PHP conveniently allows two main methods of using multi-line strings, where a string constant is broken over many lines.
