FbEdit, new IDE for FreeBASIC written in FreeBASIC

User projects written in or related to FreeBASIC.
Post Reply
KetilO
Posts: 416
Joined: Sep 22, 2005 21:48
Location: Norway
Contact:

FbEdit 1.0.7.3 Released

Post by KetilO »

Whats New
------------
o Added register window to debug.
o Fixed bug where the string !"Hello \n\"world\"!!!!!" would not be highlighted correctly.
o Fixed bug where Loop instruction in an Asm block caused collapse problems.

Get it here:
http://radasm.cherrytree.at/

KetilO
Dinosaur
Posts: 1481
Joined: Jul 24, 2005 1:13
Location: Hervey Bay (.au)

Post by Dinosaur »

Hi Ketil0

Well done.
I have to say, that without FbEdit, programming in FB would be a lot harder.
Thank you for your efforts, they are appreciated.

Regards
dasyar
Posts: 372
Joined: Dec 04, 2008 15:31

Post by dasyar »

Nice job with program so far. Have you ever considered adding DOS support? It would make life so much easier for those of us who program in Win and DOS, just a thought.
Galeon
Posts: 563
Joined: Apr 08, 2009 5:30
Location: Philippines
Contact:

Post by Galeon »

Also Linux.
I noticed that all the problems I have with FbEdit before I moved from MS Windows to Linux are now all gone.
KetilO
Posts: 416
Joined: Sep 22, 2005 21:48
Location: Norway
Contact:

Post by KetilO »

Hi dasyar

FbEdit's make system is very flexible.
Nothing prevents you from adding a dos build option.

KetilO
Antoni
Posts: 1393
Joined: May 27, 2005 15:40
Location: Barcelona, Spain

Post by Antoni »

FBEdit uses extensively the Windows API for its user interface so I guess a Linux version would require redoing the program from scratch.
Too bad, I'm planning to become a Linux user too...
Galeon
Posts: 563
Joined: Apr 08, 2009 5:30
Location: Philippines
Contact:

Post by Galeon »

Yes it could be rewritten to use GTK+ or IUP to make it portable to Windows and Linux, though you could use make and some editors in Linux, most editors in Linux have syntax highlighting unlike Windows.
St_W
Posts: 1626
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Post by St_W »

Hi KetilO,

There's a little bug in your function called "MakeRun" that doesn't allow to run programs in a folder containing spaces (e.g. "C:\Programs\myapp.exe" will work, but "C:\My FreeBasic Programs\MyApp.exe" won't work)

To fix this simply apply the following changes to your MakeRun-function (in make.bas):

Code: Select all

If fRunCmd<>0 And fDebug=0 Then
	buff=!"/k \"" & buff & !"\""
	ShellExecute(ah.hwnd,NULL, "cmd.exe", @buff, NULL, SW_SHOWNORMAL)
Else
	buff = !"\"" & buff & !"\""
	MakeRun=WinExec(@buff,SW_SHOWNORMAL)
EndIf
You must enclose the Path with quotes.

btw: the WinAPI function "WinExec" is outdated and shouldn't be used anymore.
KetilO
Posts: 416
Joined: Sep 22, 2005 21:48
Location: Norway
Contact:

Post by KetilO »

Thanks St_W

FbEdit 1.0.7.3b is uploaded.

Whats new:
----------
1.0.7.3b
o Some improvement when moving a tab.
o Fixed bug with Run. The file path was not quoted.
o Fixed bug with trim trailing spaces. Line changed state was not updated.

Get it here:
http://radasm.cherrytree.at/

KetilO
Galeon
Posts: 563
Joined: Apr 08, 2009 5:30
Location: Philippines
Contact:

Post by Galeon »

Installer for 1.0.7.3:
http://www.galeon.exofire.net/FbEdit-1.0.7.3.exe

Sources of Installer:
http://www.galeon.exofire.net/IDE.zip

Use the sources to recompile it with 1.0.7.3b.
It will try to detect where FBC was installed, put a Projects folder in My Documents, currently won't install the examples.
KetilO
Posts: 416
Joined: Sep 22, 2005 21:48
Location: Norway
Contact:

FbEdit 1.0.7.4 Released

Post by KetilO »

Whats new:
----------
1.0.7.4
o Added Edit / Empty Undo Buffer.
o Added UpdateChecker addin.
Lets you check for new version, download and unzip FbEdit.zip.
o Added UndoSave addin.
Saves undo information on project code files.
o Fixed a dialog editor bug that caused it imposible to
select controls on win95,98 and me.

Get it here:
http://radasm.cherrytree.at/

KetilO
Dinosaur
Posts: 1481
Joined: Jul 24, 2005 1:13
Location: Hervey Bay (.au)

Log Find

Post by Dinosaur »

Hi all

In my old editor I used the "find" to confirm that in all the project files
a particular word had the right number of occurrences.
For example there should be the same number of "Liq1" as "Liq2"

With FbEdit using the "Log Operation" and "Find All" I get figures like
Files: 55
Founds: 211
Repeats: 221

Firstly there are only 11 files in the project and only 10 occurrences of a that word.

What is the purpose of this and what do these numbers mean. ?

Regards
dasyar
Posts: 372
Joined: Dec 04, 2008 15:31

Post by dasyar »

I am running Windows 7 64 bit, and I am having a problem with the program. When I do a 'Compile', I am always getting - "cannot open output file ...: Permission Denied". I do not know how to get around this, anybody have any suggestions?
nobozoz
Posts: 238
Joined: Nov 17, 2005 6:24
Location: Chino Hills, CA, USA

Post by nobozoz »

dasyar,

If you have just installed FBEdit/FreeBasic on WIN7 (or Vista) and have used the default installation option(s) that install in C:\Program Files (x86)\, you will have problems due to write permission issues with the newer versions of Windows.

For FBEdit/FreeBasic to work with a minimum of hassle in WIN7/Vista, install to C:\Users\ and you should be OK with Read/Write/Modify/Execute privileges.

Jim
TheMG
Posts: 376
Joined: Feb 08, 2006 16:58

Post by TheMG »

It could also be that the program is running (check Task Manager -> Processes).
Post Reply