Built-in syntax highlighter in Lister: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
(Formatting)
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
It would be great something like this:
=== Suggestion ===
It would be great to have syntax highlighting in Lister:


[[Image:fakesyntaxhlinlister.png|Fake screenshot of Lister with syntax highlighter]]
[[Image:fakesyntaxhlinlister.png|frame|center|Fake screenshot of Lister with '''built-in''' syntax highlighter]]
 
=== Ghisler's reply ===
 
[http://www.ghisler.ch/board/viewtopic.php?p=114241#114241 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:
 
* [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}}
{{backlink|Look and Feel Ideas and suggestions|Look and Feel}}
[[Category:Look_and_feel_ideas_and_suggestions]]

Revision as of 06:01, 6 May 2007

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