Built-in syntax highlighter in Lister: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
(Additional backlink, categorization)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Suggestion:
=== Suggestion ===
it would be great to have Lister feature like this:
It would be great to have syntax highlighting in Lister:


[[Image:fakesyntaxhlinlister.png|frame|center|Screenshot of Lister with '''built-in''' syntax highlighter]]
[[Image:fakesyntaxhlinlister.png|frame|center|Fake screenshot of Lister with '''built-in''' syntax highlighter]]


Note:<br>
=== Ghisler's reply ===
There are several Lister plugins exist that can do the job with highlighting,
and do it perfectly, so this feature may be not so needed in built-in Lister. They are:<br><br>


<li> [http://www.totalcmd.net/plugring/synplus.html SynPlus] (good)<br>
[http://www.ghisler.ch/board/viewtopic.php?p=114241#114241 Feature: Syntax highlighting]
<li> [http://www.totalcmd.net/plugring/syn.html Syn] (good)<br>
<li> [http://www.totalcmd.net/plugring/synus.html SynUs] (outdated - use SynPlus instead)<br>
<li> [http://www.theess.com/highlight/ Highlight]<br>
<li> [http://www.totalcmd.net/plugring/syntaxcolorizer.html SyntaxColorizer] (outdated)
<br><br>
All are Freeware.<br><br>


Lister would have to read the entire file from the beginning for correct syntax
highlighting. Why? Immagine the situation where the file starts with a
"start comment" sign. Then the entire file up to the next "end comment"
sign would be a comment! That's why reading only a small part of the file
(as lister currently does) wouldn't be sufficient.
Author of Total Commander


{{backlink|Look and Feel Ideas and suggestions|Look and Feel}}
=== Lister plugins ===
 
There are several Lister plugins that do the job with highlighting,
and do it perfectly, so this feature is not so needed:
 
* [http://www.totalcmd.net/plugring/synplus.html SynPlus]<br>
* [http://www.totalcmd.net/plugring/HglEditor.html SynPlus color scheme editor]<br>
* [http://www.totalcmd.net/plugring/syn.html Syn] (good)<br>
* [http://www.totalcmd.net/plugring/synus.html SynUs] (outdated - use SynPlus instead)<br>
* [http://www.theess.com/highlight/ Highlight](Unofficial plugin)<br>
* [http://www.totalcmd.net/plugring/syntaxcolorizer.html SyntaxColorizer] (outdated)
 
{{backlink|Look and Feel Ideas and suggestions|Look and Feel Ideas and suggestions}}
{{backlink|Ideas and suggestions|Ideas and suggestions}}
[[Category:Ideas and suggestions:Look and Feel]]

Latest revision as of 13:06, 22 March 2021

Suggestion

It would be great to have syntax highlighting in Lister:

Fake screenshot of Lister with built-in syntax highlighter

Ghisler's reply

Feature: Syntax highlighting

Lister would have to read the entire file from the beginning for correct syntax
highlighting. Why? Immagine the situation where the file starts with a
"start comment" sign. Then the entire file up to the next "end comment"
sign would be a comment! That's why reading only a small part of the file
(as lister currently does) wouldn't be sufficient.

Author of Total Commander 

Lister plugins

There are several Lister plugins that do the job with highlighting, and do it perfectly, so this feature is not so needed:


Back to Look and Feel Ideas and suggestions


Back to Ideas and suggestions