It should be available to highlight txt-Files just like the automatic markup here at sourceforge.
Analysis:
Depending on the actual desired functionality this can be either achieved by only writing a new custom lexer, which can interpret something like *SOMETEXT* and **SOMETEST**, where the asterisks should be printed in light grey. The difficulty will probably be headlines, but they sure can be solved somehow. For more advanced features like automatic enumeration, etc. custom functions are necessary, which detect the last line's status.
Implementation:
The functionality was implemented using a new custom lexer, which recognizes *, _ and - as modifiers, and a new indicator style transforming the - strikethrough style to actually red striked text. This functionality may be activated using the menu item in the "view" menu.
Documentation:
Probably needed. Currently applied using the tooltips of the view menu.
Tests:
Syntax hightlighting works as expected. Further desired changes will be tracked with a new ticket.
Anonymous
Diff:
Diff:
Diff:
Diff: