Menu

/branches/v4-dev/Src/Hiliter.UHiliters.pas Commit Log


Commit Date  
[r1262] (26.4 kB) by delphidabbler

* Changed syntax highlighters to return highlighted code in TEncodedData instead of string. Various encodings are used: RTF uses ASCII, HTML uses UTF8 and nul uses Unicode.
* Made minimum possible changes to affected units - simply convert encoded data back to strings. (Later we'll need to change this).

2010-12-14 22:53:06 View
Download
[r1249] (25.5 kB) by delphidabbler

Changed TRTFBuilder to generate code as TRTF instead of ASCIIString. Modified using units accordingly.

2010-12-14 18:01:52 View
Download
[r1228] (25.5 kB) by delphidabbler

* Corrected URTFUtils unit's RTFMakeSafeText routine to convert Unicode text to correct code page before writing it. Also corrected bug in code that generated Unicode characters.
* Updated TRTFBuilder to take code page parameter to constructor and to use it when writing code page to document and when writing text. Updated TRTFDocProperties similarly.
* Modified all using units to pass code page to TRTFBuilder constructor.

2010-12-11 17:55:29 View
Download
[r1142] (25.5 kB) by delphidabbler

Changed TParsedHiliter to use TStringBuilder to build output string instead of a writer object that wraps a string stream.

2010-12-01 20:48:31 View
Download
[r1141] (25.6 kB) by delphidabbler

* Renamed UTextStreamReader unit as UStringReader and TTextStreamReader class as TStringReader. Changed TStringReader to read its data from a string instead of a stream.
* Updated using Hiliter.UPasLexer unit to use revised unit and class names.
* Updated chain of Hiliter classes that use Hiliter.UPasLexer to pass source code as a string instead of a stream. When streams were used they had to contain Unicode text, so it is safer and easier just to use strings instead.

2010-12-01 20:27:54 View
Download
[r1140] (25.9 kB) by delphidabbler

Removed the ISyntaxHiliter.Hilite method overload that read source and wrote highlighted source using streams. Also removed it from interface implementations, refactoring code as required.

2010-12-01 20:01:44 View
Download
[r1077] (29.1 kB) by delphidabbler

Development branch for CodeSnip release 4.

Initial source is a copy of v3.8.4 (r1075).

2010-11-26 17:58:26 View
Download
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.