Page 1 of 2

PureTemplate [Archived source collection viewer]

Posted: Thu Aug 23, 2007 10:13 am
by gnozal
PureTemplate (OCT 7th 2009) (Can be used without jaPBe too)

Yet another code viewer (usable as jaPBe plugin).

I like source code templates stored in zip files, not in multiple directories / files.
This tool allows to view / seach / compile-run source code in such (zip) archives.
It can also be used as alternative CodeArchiv viewer (without need to decompress the archiv).

Download : http://gnozal.ucoz.com/PureTemplate.zip

Posted: Thu Aug 23, 2007 10:27 am
by Inf0Byt3
Very nice utility! Thank you Gnozal!

Posted: Thu Aug 23, 2007 10:53 am
by ts-soft
thanks, very nice

with codearchiv.zip i have a problem, will not open the sources in the scintilla window :cry:

Posted: Thu Aug 23, 2007 11:09 am
by gnozal
ts-soft wrote:thanks, very nice

with codearchiv.zip i have a problem, will not open the sources in the scintilla window :cry:
You are right :oops:
I only tested my tool with archives created using TotalCMD, not with the original archive.
I will fix this.

Posted: Thu Aug 23, 2007 11:29 am
by ts-soft
Can you add a function to uncomment testcode, with special commenttag?
Only for the run-button

Posted: Thu Aug 23, 2007 3:28 pm
by gnozal
Update

It should now work with all ZIP archives ...
ts-soft wrote:Can you add a function to uncomment testcode, with special commenttag? Only for the run-button
Sorry, I don't understand what you mean.

Posted: Thu Aug 23, 2007 3:38 pm
by ts-soft
Before run parse the code for special commenttag like ;; or ;@ and remove
this on the fly, so you can test the template. And a copyfunction, that doesn't
copy this commented lines :wink:

i hope you can understand my bad english

Posted: Fri Aug 24, 2007 7:53 am
by gnozal
ts-soft wrote:Before run parse the code for special commenttag like ;; or ;@ and remove this on the fly, so you can test the template. And a copyfunction, that doesn't
copy this commented lines :wink:
i hope you can understand my bad english
I understand, but why would you want to remove comments before compile/run? These have by definition no influence on the code.

Posted: Fri Aug 24, 2007 10:17 am
by Droopy
I have a Fatal Error : Could not find or initialise SyntaxHighlighting.dll

Posted: Fri Aug 24, 2007 10:35 am
by gnozal
Droopy wrote:I have a Fatal Error : Could not find or initialise SyntaxHighlighting.dll
This tool needs 2 DLL : SyntaxHighlighting.dll and Scintilla.dll
- Scintilla.dll is usually in %PBDIR%\Compilers\ if PB >= 4.00
- SyntaxHighlighting.dll is usually in %PBDIR%\Library SDK\Syntax Highlighting\ if PB >= 4.00
If the tool doesn't find them, simply copy the DLLs in the tool directory.

Posted: Fri Aug 24, 2007 12:33 pm
by ts-soft

Code: Select all

Procedure Foo()
  ProcedureReturn bla
EndProcedure


;;; example
;; Debug Foo()
only the procedure is interessting, but for testing only uncomment
the example with special tag ";;" on the fly, before running

Posted: Fri Aug 24, 2007 1:02 pm
by Droopy
gnozal wrote:This tool needs 2 DLL : SyntaxHighlighting.dll and Scintilla.dll
- Scintilla.dll is usually in %PBDIR%\Compilers\ if PB >= 4.00
- SyntaxHighlighting.dll is usually in %PBDIR%\Library SDK\Syntax Highlighting\ if PB >= 4.00
If the tool doesn't find them, simply copy the DLLs in the tool directory.
Thanks a lot

Posted: Sat Aug 25, 2007 7:36 am
by gnozal
Update

- Added new option : remove special tags ';;' and ';@' before compile / run

Posted: Sat Aug 25, 2007 9:23 am
by ts-soft
:D thanks

Posted: Tue Aug 28, 2007 1:11 pm
by gnozal
Update

- Fixed an archive parsing bug