wxFBE, editor for both Windows and Linux

User projects written in or related to FreeBASIC.
Post Reply
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

wxFBE, editor for both Windows and Linux

Post by MOD »

wxFBE is an FreeBASIC editor for both Windows and Linux. It is completely written in FreeBASIC and uses wx-c as a GUI.

Features:
  • FreeBASIC syntax highlighting
  • cross-platform
  • visual designer (emitting XML, wx-c, fltk-c, ...)
  • plugin system
  • multi compiler support
  • autoformat code while typing it
  • block comment and uncomment
  • indentation guides
  • multilingual
  • customisable
  • compiles and runs code from within the editor
  • tabbed
  • ...
Screenshot on Win7 (click to enhance):
Image

Here a early video of the usage on Ubuntu 12.04 VM:
Video
This video shows the designer using wx-c emitter on Windows 7:
Video
This video shows the designer using fltk emitter on Windows 7:
Video

More information and downloads:
wxFBE at FreeBASIC-Portal.de
Last edited by MOD on Dec 20, 2014 18:46, edited 9 times in total.
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: wxFBE

Post by Gonzo »

if you add a cool dark-background theme, add super-hardcore processing of entire project, and support modules i will use it :)
no need fr immediate window or anything other than build options, good colors and good ctrl+space help
if i press f2 (or some other key) i ___must___ go to that variable declaration or function.. it doesnt always work properly in fbedit :)
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE

Post by MOD »

You will find a download link to a test release in the first post.


@Gonzo:
- There're no themes and you can't change the background color so far but change some other colors
- "super-hardcore processing of entire project" !? (as for projects, they doesn't exist so far)
- "support modules" - any special support?
- ctrl-space: auto complete is planned but will take some time so it isn't implemented now
- F2: not implemented, this will have to wait, until I got a function browser. Both functions will come together as one update
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: wxFBE

Post by VANYA »

In the image file paths and file BAS need to make support for Unicode. Otherwise, no one other than English and German speak users will not be able to use the editor.

Image
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE

Post by MOD »

This is a general wx-c problem. I can omit it for windows but not for linux, so I didn't. Even the german language file don't uses german letters (ÄÖÜäöüß) to not run into this.

My plans are to fork wx-c on longterm, so I can fix it in future. For now, sorry, there's nothing I can make.
Roland Chastain
Posts: 989
Joined: Nov 24, 2011 19:49
Location: France
Contact:

Re: wxFBE

Post by Roland Chastain »

Really nice !

What is "xterm" (in menu options/path) ?
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Post by MOD »

xterm is important for linux user only. It is used when (quick)running a code.
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: wxFBE, editor for both Windows and Linux

Post by Gonzo »

modules are compiled separately in a big project,
for example

myproject.bas includes vector.bi

vector.bi holds declarations and types for vector.bas

to compile this 2-module project:
fbc -s <gui/console> myproject.bas vector.bas

what i wrote above, its important for me that
with *pointer
.stuff shows up in the autocomplete list
end with

with *stuff->pointer
.stuff shows up

with .obj.something.else
.stuff works :)

and so on :) i know theres many ways of writing things
and there are some quirks too
like:

if put(#ff, , *var, amount) then print "couldnt write stuff"
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Post by MOD »

So you just mean compiling more than one .bas at once. This will come with projects.

I'm not sure yet, how I will add auto complete, but it will take some time.

(Someone changed my topic :P)
VonGodric
Posts: 997
Joined: May 27, 2005 9:06
Location: London
Contact:

Re: wxFBE, editor for both Windows and Linux

Post by VonGodric »

looks nice. Keep up the good work ! :)
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Post by MOD »

New download available.

@Vanya: I guess I fixed the Unicode problem for Windows so far. On Linux it's still a problem, but dkl just fixed a WStr() releated bug in the runtime lib for Linux, so I can test if this will solve the problem with Linux as well.
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: wxFBE, editor for both Windows and Linux

Post by VANYA »

MOD wrote:New download available.

@Vanya: I guess I fixed the Unicode problem for Windows so far. On Linux it's still a problem, but dkl just fixed a WStr() releated bug in the runtime lib for Linux, so I can test if this will solve the problem with Linux as well.
Thank you, but the same problems.

Image

I think for the images to the toolbar should use relative paths, or this is not possible with the library WX?
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Post by MOD »

I could use relative paths but this would destroy the drag&drop feature where you drop a file on the wxFBE.exe and it opens the file. In this cases it will try to load all images and language files from the path of the code file instead of the exe when using relative paths.

How do you use FBEdit then? I copied a translation from Google (дедушка) and used it as folder name. FBEdit couldn't load files from this folder at all and even my try to compile this file directly in my cmd the fbc gave me an error 23: File not found.

Same for FBIDE which can't do anything with a file in a folder like this.

This will be a codepage problem I guess.
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: wxFBE, editor for both Windows and Linux

Post by VANYA »

MOD wrote:I could use relative paths but this would destroy the drag&drop feature where you drop a file on the wxFBE.exe and it opens the file. In this cases it will try to load all images and language files from the path of the code file instead of the exe when using relative paths.

How do you use FBEdit then? I copied a translation from Google (дедушка) and used it as folder name. FBEdit couldn't load files from this folder at all and even my try to compile this file directly in my cmd the fbc gave me an error 23: File not found.

Same for FBIDE which can't do anything with a file in a folder like this.

This will be a codepage problem I guess.

Image
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Post by MOD »

Try this code in a path with russian symbols:

Code: Select all

Print ExePath
Print WStr(ExePath)
Sleep
The first line will probably fail, but if the second line also fails to give you russians signs, then that's the problem.
Post Reply