Built-in syntax highlighter in Lister: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
(Added a comment from c:Ghisler about this REQ & Link to: HglEditor)
Line 3: Line 3:


[[Image:fakesyntaxhlinlister.png|frame|center|Screenshot of Lister with '''built-in''' syntax highlighter]]
[[Image:fakesyntaxhlinlister.png|frame|center|Screenshot of Lister with '''built-in''' syntax highlighter]]
[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


Note:<br>
Note:<br>
Line 8: Line 14:
and do it perfectly, so this feature may be not so needed in built-in Lister. They are:<br><br>
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>
<li> [http://www.totalcmd.net/plugring/synplus.html SynPlus]<br>
<li> [http://www.totalcmd.net/plugring/HglEditor.html SynPlus color scheme editor]<br>
<li> [http://www.totalcmd.net/plugring/syn.html Syn] (good)<br>
<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.totalcmd.net/plugring/synus.html SynUs] (outdated - use SynPlus instead)<br>
<li> [http://www.theess.com/highlight/ Highlight]<br>
<li> [http://www.theess.com/highlight/ Highlight](Unofficial plugin)<br>
<li> [http://www.totalcmd.net/plugring/syntaxcolorizer.html SyntaxColorizer] (outdated)
<li> [http://www.totalcmd.net/plugring/syntaxcolorizer.html SyntaxColorizer] (outdated)
<br><br>
<br><br>

Revision as of 08:39, 18 February 2007

Suggestion: it would be great to have Lister feature like this:

Screenshot of Lister with built-in syntax highlighter

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

Note:
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:

  • SynPlus
  • SynPlus color scheme editor
  • Syn (good)
  • SynUs (outdated - use SynPlus instead)
  • Highlight(Unofficial plugin)
  • SyntaxColorizer (outdated)

    All are Freeware.


    Back to Look and Feel