if works in jaPBe and the official IDE as it is a Scintilla feature.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
The PB IDE can do it. You can define any word to start/end a fold.
The ";}" is not a Scintilla feature. The PB IDE implements it simply as another keyword.
You could just as easily use ";WHATEVER" if you like.
and it's true that your 'folding option' dialog is piece of cake.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
because jaPBe was initiated/developped by GPI but no more.
gnozal continue the development - fortunately jaPBe is opensource.
very thanks to him for the big effort he do.
maybe freak will laught when reading this,
but i discuss with gnozal in the past about this folding feature and gnozal said me how it is complex to modify/extends the folding keywords list.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
because jaPBe was initiated/developped by GPI but no more.
gnozal continue the development - fortunately jaPBe is opensource.
very thanks to him for the big effort he do.
maybe freak will laught when reading this,
but i discuss with gnozal in the past about this folding feature and gnozal said me how it is complex to modify/extends the folding keywords list.
Yes, it's quite difficult to modify someone else's code without messing things up. In jaPBe, the folding is 'hard coded' and embedded in the coloring code ; changing this would mean to change all the folding/syntax coloring code in jaPBe. Some coders tried, and it worked somehow but was not perfect (missing features, random bugs).
This feature is not critical to me, so it's very low on my priority list. But I will probably do it some day.
I am myself totally jaPBe addicted, but Fr34k did an amazing job on the PB IDE, so give it a try.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Dummy wrote:Feature-request to make JaPBe compatible to versioning-systems:
Can you add an option to projectoptions that moves JaPBe's footprint(FoldLines=,Executable= a.s.o.) to an external file?
If it is for version/build handling, you only need the version info and not the all the footprint, correct ?
Would it be sufficient to create an extra file (like 'MyProject.pb.version') containing the version information (the 'File Version' information in the Project Options 'Version' tab) ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Dummy wrote:Feature-request to make JaPBe compatible to versioning-systems:
Can you add an option to projectoptions that moves JaPBe's footprint(FoldLines=,Executable= a.s.o.) to an external file?
If it is for version/build handling, you only need the version info and not the all the footprint, correct ?
Would it be sufficient to create an extra file (like 'MyProject.pb.version') containing the version information (the 'File Version' information in the Project Options 'Version' tab) ?
Ok concrete request:
Add one option to Project settings (gets stored as additional Footprint thingy, but that's ok) that makes these changes:
Remove:
jaPBe Version=
Remove or move to external file:
FoldLines=
FirstLine=
CursorPosition=
Make paths relative at all costs:
Manual Parameter=
Working Directory=
Icon=
Executable=
After some minutes of wondering I think this will be better than moving everything into an external file as I need some of the stored information and some things are different for every projectmember.
The external file could be simply ignored by the versioning-system (eg. svn) but if it contains any valuable information I can't ignore it...[/code]
Dummy wrote:Remove or move to external file:
FoldLines=
FirstLine=
CursorPosition=
You will loose any folding information !
Dummy wrote:Make paths relative at all costs:
Manual Parameter=
Working Directory=
Icon=
Executable=
Relative to source directory ?
Something I don't understand : if you are going to parse the source file anyway looking for this footer information, why not ignore the information you want me to remove like you will ignore the code ?
Go to the footer (first line is '; jaPBe Version=' you want me to remove !), read any line until the end of file, and use the information you need.
Doesn't this sound reasonable ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Dummy wrote:Remove or move to external file:
FoldLines=
FirstLine=
CursorPosition=
You will loose any folding information !
Dummy wrote:Make paths relative at all costs:
Manual Parameter=
Working Directory=
Icon=
Executable=
Relative to source directory ?
gnozal wrote:
Something I don't understand : if you are going to parse the source file anyway looking for this footer information, why not ignore the information you want me to remove like you will ignore the code ?
Go to the footer (first line is '; jaPBe Version=' you want me to remove !), read any line until the end of file, and use the information you need.
Doesn't this sound reasonable ?
It's not me who parses that data! It's an external program called "SVN"(subversion). It's something like "CVS"(Current Version System). So if I change folding and compile the file afterwards it is marked as changed for SVN. That's why I want that data to be (re)moved from sources.
Also I need paths relative to source directory(following same rules as the PB compiler does) because SVN is for sharing Sources and different people might have their working copies in different directories
Progi1984 wrote:1-Is there a skin which permits to have the same skin of PB IDE ?
Y a til une apparence qui permet d'avoir la même apparence que l'IDE de PB ?
I don't know what you mean with skin?
You can define all the colors in jaPBe like in the PB IDE, although the toolbar icons are different.
Progi1984 wrote:2- Does JaPBe manage projects ?
Est ce que JaPBe gère les projets ?
You may consider the file lists (*.pbfl) as projects (you can define a main file in a file list). For example, the jaPBe sources (one main pb and several pbi's) are saved as a file list (### jaPBe ###.pbfl).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).