Menu

/branches/parsnip/Src/USnippetValidator.pas Commit Log


Commit Date  
[r4456] (12.8 kB) by delphidabbler

Limited length of a snippet title to 64 characters.
Made this limit available as TSnippetBase.MaxTitleLength constant.
Modified TSnippetsEditorDlg to use this constant instead of hard wiring maximum length of title edit control.
Added test for maximum title length to TSnippetValidator.ValidateTitle.

2013-12-21 14:19:30 View
Download
[r4394] (12.5 kB) by delphidabbler

Refactored TSnippetValidator.ValidateDependsList to use ISnippetKindList to find disallowed snippet kinds for required snippets.
Removed TSnippetValidator's cAllSnippetKinds constant and ValidDependsKinds methods made redundant by the refactoring.

2013-12-17 15:54:22 View
Download
[r4393] (14.1 kB) by delphidabbler

Renamed TSnippetValidator's ValidateName overloaded methods as ValidateSnippetID and renamed some related identifiers.
Update affected code to use new method names.

2013-12-17 14:44:04 View
Download
[r4379] (14.7 kB) by delphidabbler

Renamed ISnippet and IEditableSnippet's Kind property to KindID.
Renamed all related getter and setter methods and fields as *KindID, where * is "f", "Get" or "Set".
Modified code that referenced the Kind property or getters & setters accordingly.

2013-12-17 11:48:10 View
Download
[r4376] (14.7 kB) by delphidabbler

Renamed TSnippetKinda set type as TSnippetKindIDs.
Modified affected code accordingly.

2013-12-17 11:24:45 View
Download
[r4375] (14.6 kB) by delphidabbler

Renamed TSnippetKind enumeration as TSnippetKindID.
Modified all affected code accordingly.

2013-12-17 11:19:37 View
Download
[r4371] (14.5 kB) by delphidabbler

Replaced calls to TSnippetKindInfoList to get list of available snippet kinds with calls to Database.GetAllSnippetKinds and methods of the returned ISnippetKindList object.

2013-12-17 10:54:56 View
Download
[r4356] (14.5 kB) by delphidabbler

Removed check of snippet "name" from TSnippetValidator.Validate.
Some refactoring of TSnippetValidator.

2013-12-17 01:26:56 View
Download
[r4343] (16.4 kB) by delphidabbler

Changed TSnippetValidator to use ISnippet instances for internal access snippet properties instead of TSnippet.

2013-12-16 02:43:04 View
Download
[r4326] (16.4 kB) by delphidabbler

Modified TSnippetValidator.ValidateDependsList and TSnippetValidator.Validate (and required private methods) to take an ISnippet parameter instead of a TSnippet.
Modified calling code in TSnippetsEditorDlg accordingly.

2013-12-15 11:02:58 View
Download
Older >
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.