Introducing FiveTech's fivedit
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Introducing FiveTech's fivedit
This is the first release (pending to be intensively tested) of FiveTech fivedit, a source code editor and projects manager.
You can already easily create and build projects from it:
https://bitbucket.org/fivetech/fivewin- ... ivedit.zip
fivedit.exe has been build using FWH 15.01. Full source code included.
Please be aware that this is a work in progress so it has the risk to loose your changes, or modify your files.
So please make backup of your files before using it, thanks!
You can already easily create and build projects from it:
https://bitbucket.org/fivetech/fivewin- ... ivedit.zip
fivedit.exe has been build using FWH 15.01. Full source code included.
Please be aware that this is a work in progress so it has the risk to loose your changes, or modify your files.
So please make backup of your files before using it, thanks!
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Introducing FiveTech's fivedit
Fivedit projects are ascii files with this structure:
YourProject.prj
[files]
1=test.prg
2=one.prg
3=two.prg
4=three.prg
5=test.rc
You can create them from fivedit itself (just open a file and select "Add item" from from Projects menu, then save the project from the projects menu).
In case that you have many files to add, you can edit them and add your files manually.
YourProject.prj
[files]
1=test.prg
2=one.prg
3=two.prg
4=three.prg
5=test.rc
You can create them from fivedit itself (just open a file and select "Add item" from from Projects menu, then save the project from the projects menu).
In case that you have many files to add, you can edit them and add your files manually.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Introducing FiveTech's fivedit
When you save a project, current fivedit settings are saved in the project file too.
A project settings has preference over the general fivedit preferences.
A project settings has preference over the general fivedit preferences.
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: Introducing FiveTech's fivedit
Antonio
It would be very beneficial if you could use the right side pane to show a jump list of User defined functions ( or methods ) contained within the .prg.
I am not too interested in collapsible (+) code within the .prg .. I would just rather see the entire code, but the jump list for me is the 'gold standard' for text editors.
Rick Lipkin
ps .. right click on the .prg <open tab> and offer to close as a short-cut
It would be very beneficial if you could use the right side pane to show a jump list of User defined functions ( or methods ) contained within the .prg.
I am not too interested in collapsible (+) code within the .prg .. I would just rather see the entire code, but the jump list for me is the 'gold standard' for text editors.
Rick Lipkin
ps .. right click on the .prg <open tab> and offer to close as a short-cut
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Introducing FiveTech's fivedit
Rick,
Thats already implemented
Just open a large PRG and you will see all your functions at the right side
Good idea the right click for close, but that we force use to use TFolderEx instead of TFolder. No problem but it will not be a quick change
Thats already implemented
Just open a large PRG and you will see all your functions at the right side
Good idea the right click for close, but that we force use to use TFolderEx instead of TFolder. No problem but it will not be a quick change
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Introducing FiveTech's fivedit
Antonio,
Wow, you have put a lot of work into this. I'm impressed.
Wow, you have put a lot of work into this. I'm impressed.
Yes it is working great for functions, but it would really helpful if it worked for methods as well. And classes too. For as you know, I am OOP obsessed now. Or, maybe I'm possessed...Just open a large PRG and you will see all your functions at the right side
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Introducing FiveTech's fivedit
James,
Methods are supported too. Please see this line in function FillFuncList():
if cToken $ "static func,func,proc,clas,meth,hb_f"
if a line starts with that, then it is shown
Tomorrow we will publish FWH 15.01 so you will be able to build Fivedit.prg for yourself and now, we have lots of possibilities to add
yes, I am possessed too with classes and objects
Yesterday I was chatting with Pritpal, telling him about "Actor". Not sure if you ever used it. Actor and Smalltalk somehow were the "fathers" of Clipper object oriented implementation FWH\samples\classtre.prg reminds the "Actor" interface.
Methods are supported too. Please see this line in function FillFuncList():
if cToken $ "static func,func,proc,clas,meth,hb_f"
if a line starts with that, then it is shown
Tomorrow we will publish FWH 15.01 so you will be able to build Fivedit.prg for yourself and now, we have lots of possibilities to add
yes, I am possessed too with classes and objects
Yesterday I was chatting with Pritpal, telling him about "Actor". Not sure if you ever used it. Actor and Smalltalk somehow were the "fathers" of Clipper object oriented implementation FWH\samples\classtre.prg reminds the "Actor" interface.
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: Introducing FiveTech's fivedit
Antonio
Opened my version and I did not see the Function Jumplist
Rick Lipkin
Opened my version and I did not see the Function Jumplist
Rick Lipkin
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Introducing FiveTech's fivedit
Rick,
Please download again fivedit.zip from:
https://bitbucket.org/fivetech/fivewin- ... ivedit.zip
There was a bug. Already fixed. This was missing
See how Fivedit.exe shows itself:
Please download again fivedit.zip from:
https://bitbucket.org/fivetech/fivewin- ... ivedit.zip
There was a bug. Already fixed. This was missing
Code: Select all
::oEditor:bGotFocus = { | o | ::oEditor := o, ::FillFuncList() }
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Introducing FiveTech's fivedit
Antonio,
Even with the new version, I do not see methods in the jumplist, only functions.
Even with the new version, I do not see methods in the jumplist, only functions.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Introducing FiveTech's fivedit
James,
Please open a PRG from FWH\source\classes and let me see how you see it, thanks
Please open a PRG from FWH\source\classes and let me see how you see it, thanks
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Introducing FiveTech's fivedit
Ok, I see that methods will show when they already exist in the file when you load it, but new methods typed in do not show (until the file is saved and reloaded).
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Introducing FiveTech's fivedit
James,
Class TFivedit Method FillFuncList() updates the jump list, so we need to call it when the user press VK_ENTER in the editor.
Lets see how to implement it...
Class TFivedit Method FillFuncList() updates the jump list, so we need to call it when the user press VK_ENTER in the editor.
Lets see how to implement it...
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Introducing FiveTech's fivedit
It appears that you are sorting the jumplist, and if so, shouldn't "function" come before "method?"