It is currently Thu May 28, 2020 4:26 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: PureTemplate [Archived source collection viewer]
PostPosted: Thu Aug 23, 2007 10:13 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
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

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Last edited by gnozal on Tue Sep 16, 2008 7:47 am, edited 9 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 23, 2007 10:27 am 
Offline
PureBasic Fanatic
PureBasic Fanatic

Joined: Fri Dec 09, 2005 12:15 pm
Posts: 2236
Location: Elbonia
Very nice utility! Thank you Gnozal!

_________________
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 23, 2007 10:53 am 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5755
Location: Berlin - Germany
thanks, very nice

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

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 23, 2007 11:09 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
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.

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 23, 2007 11:29 am 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5755
Location: Berlin - Germany
Can you add a function to uncomment testcode, with special commenttag?
Only for the run-button

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 23, 2007 3:28 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
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.

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 23, 2007 3:38 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5755
Location: Berlin - Germany
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

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 24, 2007 7:53 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
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.

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 24, 2007 10:17 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Sep 16, 2004 9:50 pm
Posts: 658
Location: France
I have a Fatal Error : Could not find or initialise SyntaxHighlighting.dll


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 24, 2007 10:35 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
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.

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 24, 2007 12:33 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5755
Location: Berlin - Germany
Code:
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

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 24, 2007 1:02 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Sep 16, 2004 9:50 pm
Posts: 658
Location: France
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Aug 25, 2007 7:36 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
Update

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

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Aug 25, 2007 9:23 am 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5755
Location: Berlin - Germany
:D thanks

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 28, 2007 1:11 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
Update

- Fixed an archive parsing bug

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye