WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated March 25, 2019)

User projects written in or related to FreeBASIC.
Josep Roca
Posts: 423
Joined: Sep 27, 2016 18:20
Location: Valencia, Spain

Re: WinFBE FreeBASIC Editor for Windows (Updated September 26, 2017)

Postby Josep Roca » Sep 27, 2017 20:05

After googling for a while, I have found this link:
http://users.freebasic-portal.de/stw/builds/

832Fix - Fix bug allowing QB style suffixes on all keywords, regardless (commit: 4a5a60a) — ImortisInglorian
fxm
Posts: 9083
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: WinFBE FreeBASIC Editor for Windows (Updated September 26, 2017)

Postby fxm » Sep 27, 2017 20:06

Yes, this is one of the last fixes of dkl in the rev 1.06.0.
"changelog.txt" (rev 1.06.0):
[fixed]
- #832: Fix bug allowing QB style suffixes on all keywords, regardless of -lang
(but the corresponding bug report (#832) is not still closed!)
Josep Roca
Posts: 423
Joined: Sep 27, 2016 18:20
Location: Valencia, Spain

Re: WinFBE FreeBASIC Editor for Windows (Updated September 26, 2017)

Postby Josep Roca » Sep 27, 2017 20:27

I have removed the & from the IIF.

@Paul,

You have to modify

modSciLexer.bi
#Define SCE_B_#DefineANT 13
change to
#Define SCE_B_CONSTANT 13

frmMain.inc
strFill = vbcrlf & SPACE$(nSpaces) & strEnd
change to
strFill = vbcrlf & SPACE(nSpaces) & strEnd
Imortis
Moderator
Posts: 1625
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: WinFBE FreeBASIC Editor for Windows (Updated September 26, 2017)

Postby Imortis » Sep 27, 2017 20:35

fxm wrote:Yes, this is one of the last fixes of dkl in the rev 1.06.0.
"changelog.txt" (rev 1.06.0):
[fixed]
- #832: Fix bug allowing QB style suffixes on all keywords, regardless of -lang
(but the corresponding bug report (#832) is not still closed!)


I don't have the permissions to close the bug in SF. dkl will have to do it.
PaulSquires
Posts: 747
Joined: Jul 14, 2005 23:41
Contact:

Re: WinFBE FreeBASIC Editor for Windows (Updated September 26, 2017)

Postby PaulSquires » Sep 27, 2017 22:17

Version 1.5.5 (September 27, 2017)
- Changed: Updated deutsch.lang language file thanks to Joerg Buckel.
- Changed: Instances of IFF&() changed to IFF() and SPACE$() to SPACE()to allow compiling with FBC 1.06.
- Changed: WinFBE32.exe and WinFBE64.exe now compiled using FBC 1.06.
- Fixed: Error in #Define in modSciLexer.bi.

https://github.com/PaulSquires/WinFBE/releases
D.J.Peters
Posts: 7780
Joined: May 28, 2005 3:28

Re: WinFBE FreeBASIC Editor for Windows (Updated September 27, 2017)

Postby D.J.Peters » Sep 28, 2017 12:19

I you build WinFBE with it self
you have to rename WinFBEXX.exe before you run and compile the project
or you have to change the output name or path in the project file.

Becourse WinFBE can't overwrite the binary in same folder while it execut. :-)

How ever the wrong chars are gone good job.

Joshy

' WINFBE PROJECT FILE
ProjectBuild={E83EFCAE-C334-4610-85E3-CA22C9AD79F8}
ProjectOther32=-x "..\WinFBE32_new.exe" <- change the name or path temporary
ProjectOther64=-x "..\WinFBE64_new.exe"
PaulSquires
Posts: 747
Joined: Jul 14, 2005 23:41
Contact:

Re: WinFBE FreeBASIC Editor for Windows (Updated September 27, 2017)

Postby PaulSquires » Sep 28, 2017 13:17

Thanks Joshy,

Yes, you're right of course about the compiling not being able to overwrite an already running exe but I set up my environment a little differently. I have basically two copies/folders of WinFBE. The first contains the release version and the second contains the source code and resulting built exe's. I use the first folder's exe to load the second folder's source code and build the exe. I then run a simple batch file that copies the built exe over to the first folder. Sounds more verbose than it really is. It's probably just as easy as creating WinFBExx_new.exe and then having to rename the exe's after the fact.

Happy to hear that you were able to compile without errors :-)
PaulSquires
Posts: 747
Joined: Jul 14, 2005 23:41
Contact:

Re: WinFBE FreeBASIC Editor for Windows (Updated September 27, 2017)

Postby PaulSquires » Sep 28, 2017 13:20

D.J.Peters wrote:' WINFBE PROJECT FILE
ProjectBuild={E83EFCAE-C334-4610-85E3-CA22C9AD79F8}
ProjectOther32=-x "..\WinFBE32_new.exe" <- change the name or path temporary
ProjectOther64=-x "..\WinFBE64_new.exe"

I forget to mention in my last post, you don't need to modify the project files directly in order to make this type of change. Simply go to the top menu "Project", and select "Project Options". You can enter compile line parameters such as -x in the "Other Options" text boxes for either/both the 32 and 64 bit compilers.
wangtao03
Posts: 4
Joined: Feb 23, 2009 6:04

Re: WinFBE FreeBASIC Editor for Windows (Updated September 27, 2017)

Postby wangtao03 » Sep 30, 2017 15:23

Why ?
The operating system is Windows 7 Ultimate with Service Pack 1 (x64)

do nothing
Image

after scrolling
Image

my code editor setup
Image
wangtao03
Posts: 4
Joined: Feb 23, 2009 6:04

Re: WinFBE FreeBASIC Editor for Windows (Updated September 27, 2017)

Postby wangtao03 » Oct 01, 2017 7:47

wangtao03 wrote:Why ?
The operating system is Windows 7 Ultimate with Service Pack 1 (x64)

do nothing
Image

after scrolling
Image

my code editor setup
Image


resolved!

clsDocument.inc
Line: 1127 SciMsg( m_pSci, SCI_SETTECHNOLOGY, SC_TECHNOLOGY_DIRECTWRITE, 0 )
Line: 1128 SciMsg( m_pSci, SCI_SETBUFFEREDDRAW, 0, 0 )
IndigoFuzz
Posts: 5
Joined: Sep 21, 2014 3:25
Contact:

Re: WinFBE FreeBASIC Editor for Windows (Updated September 27, 2017)

Postby IndigoFuzz » Oct 08, 2017 14:20

Can I just say that I'm so excited to see this project. I've dipped in and out of FreeBasic for a while in the years and was always put off by the IDEs available, but playing around with this has given me motivation to play around with it with a bit more depth.
Kuron
Posts: 31
Joined: Jul 26, 2005 3:22
Location: Nashville

Re: WinFBE FreeBASIC Editor for Windows (Updated September 27, 2017)

Postby Kuron » Oct 09, 2017 22:41

I used two of Paul's IDEs with another language for many years. Top-notch and rock-solid reliable. I said recently on another forum that Paul is the best thing to ever happen to FB.
Imortis
Moderator
Posts: 1625
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: WinFBE FreeBASIC Editor for Windows (Updated September 27, 2017)

Postby Imortis » Nov 15, 2017 16:32

@PaulSquires:
I just noticed that WinFBE does not properly handle multi-line comments

Code: Select all

/' Everything in here is a comment '/


It is not a huge deal, but I thought you might like to know.
Last edited by Imortis on Nov 15, 2017 19:07, edited 1 time in total.
PaulSquires
Posts: 747
Joined: Jul 14, 2005 23:41
Contact:

Re: WinFBE FreeBASIC Editor for Windows (Updated September 27, 2017)

Postby PaulSquires » Nov 15, 2017 18:32

Imortis wrote:@PaulSquires:
I just noticed that WinFBE does properly handle multi-line comments

Code: Select all

/' Everything in here is a comment '/


It is not a huge deal, but I thought you might like to know.

Thanks Imortis, I think of course that you meant to say does not handle multiline comments. I am aware of this as it has been raised before but it is a limitation of the lexer built into the version of Scintilla that I am using. If I knew more about C++ then maybe I could build a better FB specific lexer and re-compile the Scintilla DLL's. Sadly, I don't have that level of expertise.
Imortis
Moderator
Posts: 1625
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: WinFBE FreeBASIC Editor for Windows (Updated September 27, 2017)

Postby Imortis » Nov 15, 2017 19:11

PaulSquires wrote:
Imortis wrote:@PaulSquires:
I just noticed that WinFBE does properly handle multi-line comments

Code: Select all

/' Everything in here is a comment '/


It is not a huge deal, but I thought you might like to know.

Thanks Imortis, I think of course that you meant to say does not handle multiline comments. I am aware of this as it has been raised before but it is a limitation of the lexer built into the version of Scintilla that I am using. If I knew more about C++ then maybe I could build a better FB specific lexer and re-compile the Scintilla DLL's. Sadly, I don't have that level of expertise.


Oops. I edited my original post.

As to the lexer, I have tried looking at the code for that myself to see why other things don't work. The person who submitted the code for the lexer originally was sir_mud if I am not mistaken. But it was added quite a while ago, and had not been updated for quite a while. I did not know that there was a version that didn't handle the multi-line comments. I may have to give it another look when I have some time.

Return to “Projects”

Who is online

Users browsing this forum: Bing [Bot] and 11 guests