Download
Download both the standard and portable versions below.
Changes
- Updated the dialogue box displayed when saving units and annotated source code [issue #166]:
- The File Encoding drop down list control is disabled if there is only one encoding option.
- Updated and clarified the naming of encodings in the File Encoding drop down list.
- The sole encoding option displayed for the Rich text file file type was changed from the erroneous ANSI to the correct ASCII.
- Fixed bug where, when ANSI encoding was selected in the Save Unit and Save Annotated Source dialogue boxes, snippets containing characters not supported in the default locale's code page were being rendered diffently in the Preview dialogue box to when saved to file [issue #164]. The previewed code is now the same as that of the saved source code.
- Updated file formats available when the File | Save Snippet Information menu option is selected:
- Syntax highlighting of the existing RTF format output is now optional.
- Added the option to save snippet information in the following new formats:
- Plain text, in UTF-8, UTF-16LE, UTF-16BE and the system locale's default ANSI code page. [issue #162]
- HMTL 5 with optional syntax highlighting, in UTF-8 format [issue #153].
- XHTML with optional syntax highlighting, in UTF-8 format [issue #153].
- Markdown, in UTF-8, UTF-16LE, UTF-16BE and the system locale's default ANSI code page [issue #155].
- Changed the Save Snippet Information dialogue box:
- It is now based on that used for saving unit and annotated source code in that file encoding and snippet highlighting can be customised where relevant, although the Comment style controls are disabled since they are not relevant.
- The suggested file name was changed from "SnippetInfo" to the display name of the selected snippet.
- The dialogue box caption now contains the display name of the selected snippet.
- Changed the title of the Save Annotated Source dialogue box when displaying snippets.
- Added option to prevent descriptive comments from appearing in the implementation section of generated units. A check box for this option has been added to the Code Formatting tab of the Preferences dialogue box [issue #85].
- The Help | CodeSnip News Blog menu item was changed to link to the DelphiDabbler Blog instead of the CodeSnip Blog, because the latter is to be closed down. The menu item was renamed to Help | CodeSnip News On DelphiDabbler Blog [issue #161].
- Improved how the CSS used in generated HTML 5 and XHTML files is generated:
- The ordering of CSS selectors can now be pre-determined.
- CSS lengths and sizes can now be specified in units, such as
em
, instead of just pixels.
- Refactored the
USourceGen
unit to remove an unnecessary dependency on user preferences [issue #167]. - Updated the help file:
- Re changes when saving snippet information [issue #163].
- Re changes to the Save Unit and Save Annotated Source dialogue boxes.
- Re changes to the blog linked from the Help menu.
- Re the new option to inhibit comments in the implementation sections of generated units.
- Updated documentation:
- File format documentation was changed re the addition of the Markdown file format and the changes to the encodings used in saved files.
- Read-me files were updated re the change of news blog.