News for February 2013

Added two new maths routines to the Code Snippets Database
Two new routines have been added to the Mathematics category of the Code Snippets database. The first, Pow, raises an integer to value to a non-negative integer power. The second snip is named SAR and performs an arithmetic right shift operation on an integer (Pascal's 'shr' is a logical left shift operator). Don't forget that new snippets now don't display in the old Code Snippets online viewer - you need the CodeSnip program or the new viewer at to see them.
27 February 2013
CodeSnip v4.3.0 released
CodeSnip v4.3.0 has just been released. There are three main new features. (1) The directory used to store user-defined snippets database can now be changed. You can use this to place the database in a folder that will be backed up, for example Dropbox or GoogleDrive. (2) The default RTL namespaces can now be configured when test compiling with Delphi XE2 and XE3 and (3) Custom syntax highlighters can now be saved with a unique name for later re-use.
27 February 2013
Three new fraction related snippets added to Code Snippets Database
Three new routines for working with fractions have been added to the Code Snippets Database. NormaliseFractionSize ensures that the numerator of a fraction carries the sign while the denominator is always positive. The remaining two routines are for formatting a fraction as a string. FractionToStr formats a given numerator and denominator while FractionToStrEx does the same thing but also gives the option of normalising the fraction's sign.
16 February 2013
CodeSnip bug fix v4.2.1 released
CodeSnip release 4.2.1 fixes a bug in the new Favourites dialogue box, introduced in v4.2.0. The dialogue box was displaying the old-style unique snippet name but now displays the correct snippet display name.
14 February 2013
CodeSnip v4.2.0 released, now with Favourites
CodeSnip v4.2.0 has now been released. It adds support for flagging your frequently used snippets as favourites and provides easy access to them by means of a non-modal dialogue box that can float alongside the main window. Also changed Duplicate Snippets dialogue box to enable snippet display name to be changed and to have option of opening the duplicated snippet in the Snippets Editor. Some minor tweaks to the database stats displayed in the status bar and a minor bug fix complete the changes.
07 February 2013